From 5d7daf3af38100164e626bd9ccb33b2a23361948 Mon Sep 17 00:00:00 2001 From: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com> Date: Mon, 21 Aug 2023 06:40:34 +0000 Subject: [PATCH 1/2] Move EventHub to main --- .../Az.EventHub.format.ps1xml | 4 +- src/EventHub/EventHub.Autorest/README.md | 38 +- ...ve-AzEventHubPrivateEndpointConnection.ps1 | 2 +- ...ny-AzEventHubPrivateEndpointConnection.ps1 | 2 +- .../Get-AzEventHubAuthorizationRule.ps1 | 2 +- .../custom/Get-AzEventHubKey.ps1 | 2 +- .../New-AzEventHubAuthorizationRule.ps1 | 4 +- .../custom/New-AzEventHubIPRuleConfig.ps1 | 4 +- .../custom/New-AzEventHubKey.ps1 | 4 +- .../custom/New-AzEventHubNamespace.ps1 | 6 +- .../New-AzEventHubThrottlingPolicyConfig.ps1 | 4 +- ...New-AzEventHubVirtualNetworkRuleConfig.ps1 | 4 +- .../Remove-AzEventHubAuthorizationRule.ps1 | 2 +- .../custom/Set-AzEventHub.ps1 | 24 +- .../custom/Set-AzEventHubApplicationGroup.ps1 | 4 +- .../Set-AzEventHubAuthorizationRule.ps1 | 2 +- .../custom/Set-AzEventHubCluster.ps1 | 2 +- .../custom/Set-AzEventHubConsumerGroup.ps1 | 2 +- .../custom/Set-AzEventHubNamespace.ps1 | 6 +- .../custom/Set-AzEventHubNetworkRuleSet.ps1 | 6 +- .../custom/Test-AzEventHubName.ps1 | 2 +- ...New-AzEventHubKeyVaultPropertiesObject.ps1 | 6 +- ...ove-AzEventHubPrivateEndpointConnection.md | 2 +- ...eny-AzEventHubPrivateEndpointConnection.md | 2 +- .../EventHub.Autorest/docs/Get-AzEventHub.md | 2 +- .../docs/Get-AzEventHubApplicationGroup.md | 2 +- .../docs/Get-AzEventHubAuthorizationRule.md | 2 +- .../docs/Get-AzEventHubCluster.md | 2 +- .../docs/Get-AzEventHubClusterNamespace.md | 2 +- .../Get-AzEventHubClustersAvailableRegion.md | 2 +- .../docs/Get-AzEventHubConsumerGroup.md | 2 +- .../docs/Get-AzEventHubGeoDRConfiguration.md | 2 +- .../docs/Get-AzEventHubKey.md | 2 +- .../docs/Get-AzEventHubNamespace.md | 2 +- .../docs/Get-AzEventHubNetworkRuleSet.md | 4 +- ...Get-AzEventHubPrivateEndpointConnection.md | 2 +- .../docs/Get-AzEventHubPrivateLink.md | 2 +- .../docs/Get-AzEventHubSchemaGroup.md | 2 +- .../EventHub.Autorest/docs/New-AzEventHub.md | 46 +- .../docs/New-AzEventHubApplicationGroup.md | 4 +- .../docs/New-AzEventHubAuthorizationRule.md | 2 +- .../docs/New-AzEventHubCluster.md | 2 +- .../docs/New-AzEventHubConsumerGroup.md | 2 +- .../docs/New-AzEventHubGeoDRConfiguration.md | 2 +- .../docs/New-AzEventHubIPRuleConfig.md | 2 +- .../docs/New-AzEventHubKey.md | 2 +- .../New-AzEventHubKeyVaultPropertiesObject.md | 2 +- .../docs/New-AzEventHubNamespace.md | 4 +- .../docs/New-AzEventHubSchemaGroup.md | 2 +- .../New-AzEventHubThrottlingPolicyConfig.md | 2 +- .../New-AzEventHubVirtualNetworkRuleConfig.md | 2 +- .../Remove-AzEventHubAuthorizationRule.md | 2 +- .../EventHub.Autorest/docs/Set-AzEventHub.md | 46 +- .../docs/Set-AzEventHubApplicationGroup.md | 6 +- .../docs/Set-AzEventHubAuthorizationRule.md | 2 +- .../docs/Set-AzEventHubCluster.md | 2 +- .../docs/Set-AzEventHubConsumerGroup.md | 2 +- .../docs/Set-AzEventHubNamespace.md | 4 +- .../docs/Set-AzEventHubNetworkRuleSet.md | 6 +- .../docs/Test-AzEventHubName.md | 2 +- ...ve-AzEventHubPrivateEndpointConnection.ps1 | 4 +- ...ny-AzEventHubPrivateEndpointConnection.ps1 | 4 +- .../exports/Get-AzEventHub.ps1 | 4 +- .../Get-AzEventHubApplicationGroup.ps1 | 4 +- .../Get-AzEventHubAuthorizationRule.ps1 | 4 +- .../exports/Get-AzEventHubCluster.ps1 | 4 +- .../Get-AzEventHubClusterNamespace.ps1 | 4 +- .../Get-AzEventHubClustersAvailableRegion.ps1 | 4 +- .../exports/Get-AzEventHubConsumerGroup.ps1 | 4 +- .../Get-AzEventHubGeoDRConfiguration.ps1 | 4 +- .../exports/Get-AzEventHubKey.ps1 | 4 +- .../exports/Get-AzEventHubNamespace.ps1 | 4 +- .../exports/Get-AzEventHubNetworkRuleSet.ps1 | 6 +- ...et-AzEventHubPrivateEndpointConnection.ps1 | 4 +- .../exports/Get-AzEventHubPrivateLink.ps1 | 4 +- .../exports/Get-AzEventHubSchemaGroup.ps1 | 4 +- .../exports/New-AzEventHub.ps1 | 23 +- .../New-AzEventHubApplicationGroup.ps1 | 6 +- .../New-AzEventHubAuthorizationRule.ps1 | 4 +- .../exports/New-AzEventHubCluster.ps1 | 4 +- .../exports/New-AzEventHubConsumerGroup.ps1 | 4 +- .../New-AzEventHubGeoDRConfiguration.ps1 | 4 +- .../exports/New-AzEventHubIPRuleConfig.ps1 | 4 +- .../exports/New-AzEventHubKey.ps1 | 4 +- ...New-AzEventHubKeyVaultPropertiesObject.ps1 | 4 +- .../exports/New-AzEventHubNamespace.ps1 | 6 +- .../exports/New-AzEventHubSchemaGroup.ps1 | 6 +- .../New-AzEventHubThrottlingPolicyConfig.ps1 | 4 +- ...New-AzEventHubVirtualNetworkRuleConfig.ps1 | 4 +- .../exports/ProxyCmdletDefinitions.ps1 | 201 +- .../Remove-AzEventHubAuthorizationRule.ps1 | 4 +- .../exports/Set-AzEventHub.ps1 | 16 +- .../Set-AzEventHubApplicationGroup.ps1 | 8 +- .../Set-AzEventHubAuthorizationRule.ps1 | 4 +- .../exports/Set-AzEventHubCluster.ps1 | 4 +- .../exports/Set-AzEventHubConsumerGroup.ps1 | 4 +- .../exports/Set-AzEventHubNamespace.ps1 | 6 +- .../exports/Set-AzEventHubNetworkRuleSet.ps1 | 8 +- .../exports/Test-AzEventHubName.ps1 | 4 +- .../EventHub.Autorest/generate-info.json | 8 +- .../generated/api/EventHub.cs | 1037 +++++--- .../ErrorDetailAutoGenerated.PowerShell.cs | 196 ++ .../ErrorDetailAutoGenerated.TypeConverter.cs | 147 ++ .../Models/Api20/ErrorDetailAutoGenerated.cs | 135 + .../Api20/ErrorDetailAutoGenerated.json.cs | 147 ++ .../ErrorResponseAutoGenerated.PowerShell.cs | 208 ++ ...rrorResponseAutoGenerated.TypeConverter.cs | 147 ++ .../Api20/ErrorResponseAutoGenerated.cs | 137 + .../Api20/ErrorResponseAutoGenerated.json.cs | 111 + .../ApplicationGroup.PowerShell.cs | 276 -- .../ArmDisasterRecovery.PowerShell.cs | 294 --- .../CaptureDescription.PowerShell.cs | 268 -- .../EhNamespace.PowerShell.cs | 492 ---- .../EhNamespaceProperties.PowerShell.cs | 318 --- .../Api20221001Preview/Eventhub.PowerShell.cs | 452 ---- .../EventhubProperties.PowerShell.cs | 356 --- ...curityPerimeterConfiguration.PowerShell.cs | 305 --- ...meterConfigurationProperties.PowerShell.cs | 265 -- .../AccessKeys.PowerShell.cs | 48 +- .../AccessKeys.TypeConverter.cs | 6 +- .../AccessKeys.cs | 20 +- .../AccessKeys.json.cs | 8 +- .../ApplicationGroup.PowerShell.cs} | 160 +- .../ApplicationGroup.TypeConverter.cs | 6 +- .../ApplicationGroup.cs | 28 +- .../ApplicationGroup.json.cs | 10 +- .../ApplicationGroupListResult.PowerShell.cs | 28 +- ...pplicationGroupListResult.TypeConverter.cs | 6 +- .../ApplicationGroupListResult.cs | 18 +- .../ApplicationGroupListResult.json.cs | 10 +- .../ApplicationGroupPolicy.PowerShell.cs | 28 +- .../ApplicationGroupPolicy.TypeConverter.cs | 6 +- .../ApplicationGroupPolicy.cs | 8 +- .../ApplicationGroupPolicy.json.cs | 10 +- .../ApplicationGroupProperties.PowerShell.cs | 32 +- ...pplicationGroupProperties.TypeConverter.cs | 6 +- .../ApplicationGroupProperties.cs | 16 +- .../ApplicationGroupProperties.json.cs | 10 +- .../ArmDisasterRecovery.PowerShell.cs} | 116 +- .../ArmDisasterRecovery.TypeConverter.cs | 6 +- .../ArmDisasterRecovery.cs | 32 +- .../ArmDisasterRecovery.json.cs | 10 +- ...rmDisasterRecoveryListResult.PowerShell.cs | 28 +- ...isasterRecoveryListResult.TypeConverter.cs | 6 +- .../ArmDisasterRecoveryListResult.cs | 18 +- .../ArmDisasterRecoveryListResult.json.cs | 10 +- ...rmDisasterRecoveryProperties.PowerShell.cs | 40 +- ...isasterRecoveryProperties.TypeConverter.cs | 6 +- .../ArmDisasterRecoveryProperties.cs | 12 +- .../ArmDisasterRecoveryProperties.json.cs | 8 +- .../AuthorizationRule.PowerShell.cs} | 100 +- .../AuthorizationRule.TypeConverter.cs | 6 +- .../AuthorizationRule.cs | 18 +- .../AuthorizationRule.json.cs | 10 +- .../AuthorizationRuleListResult.PowerShell.cs | 28 +- ...thorizationRuleListResult.TypeConverter.cs | 6 +- .../AuthorizationRuleListResult.cs | 16 +- .../AuthorizationRuleListResult.json.cs | 10 +- .../AuthorizationRuleProperties.PowerShell.cs | 24 +- ...thorizationRuleProperties.TypeConverter.cs | 6 +- .../AuthorizationRuleProperties.cs | 6 +- .../AuthorizationRuleProperties.json.cs | 8 +- .../AvailableCluster.PowerShell.cs | 24 +- .../AvailableCluster.TypeConverter.cs | 6 +- .../AvailableCluster.cs | 6 +- .../AvailableCluster.json.cs | 8 +- .../AvailableClustersList.PowerShell.cs | 24 +- .../AvailableClustersList.TypeConverter.cs | 6 +- .../AvailableClustersList.cs | 16 +- .../AvailableClustersList.json.cs | 10 +- .../CaptureDescription.PowerShell.cs | 292 +++ .../CaptureDescription.TypeConverter.cs | 6 +- .../CaptureDescription.cs | 74 +- .../CaptureDescription.json.cs | 10 +- .../CaptureIdentity.PowerShell.cs | 172 ++ .../CaptureIdentity.TypeConverter.cs | 147 ++ .../Api202301Preview/CaptureIdentity.cs | 78 + .../Api202301Preview/CaptureIdentity.json.cs | 110 + ...eckNameAvailabilityParameter.PowerShell.cs | 24 +- ...NameAvailabilityParameter.TypeConverter.cs | 6 +- .../CheckNameAvailabilityParameter.cs | 6 +- .../CheckNameAvailabilityParameter.json.cs | 8 +- .../CheckNameAvailabilityResult.PowerShell.cs | 32 +- ...eckNameAvailabilityResult.TypeConverter.cs | 6 +- .../CheckNameAvailabilityResult.cs | 8 +- .../CheckNameAvailabilityResult.json.cs | 8 +- .../Cluster.PowerShell.cs | 92 +- .../Cluster.TypeConverter.cs | 6 +- .../Cluster.cs | 65 +- .../Cluster.json.cs | 12 +- .../ClusterListResult.PowerShell.cs | 28 +- .../ClusterListResult.TypeConverter.cs | 6 +- .../ClusterListResult.cs | 16 +- .../ClusterListResult.json.cs | 10 +- .../ClusterProperties.PowerShell.cs | 48 +- .../ClusterProperties.TypeConverter.cs | 6 +- .../ClusterProperties.cs | 34 +- .../ClusterProperties.json.cs | 13 +- .../ClusterSku.PowerShell.cs | 28 +- .../ClusterSku.TypeConverter.cs | 6 +- .../ClusterSku.cs | 8 +- .../ClusterSku.json.cs | 8 +- .../ConnectionState.PowerShell.cs | 28 +- .../ConnectionState.TypeConverter.cs | 6 +- .../ConnectionState.cs | 6 +- .../ConnectionState.json.cs | 8 +- .../ConsumerGroup.PowerShell.cs} | 168 +- .../ConsumerGroup.TypeConverter.cs | 6 +- .../ConsumerGroup.cs | 26 +- .../ConsumerGroup.json.cs | 10 +- .../ConsumerGroupListResult.PowerShell.cs | 28 +- .../ConsumerGroupListResult.TypeConverter.cs | 6 +- .../ConsumerGroupListResult.cs | 16 +- .../ConsumerGroupListResult.json.cs | 10 +- .../ConsumerGroupProperties.PowerShell.cs | 32 +- .../ConsumerGroupProperties.TypeConverter.cs | 6 +- .../ConsumerGroupProperties.cs | 10 +- .../ConsumerGroupProperties.json.cs | 8 +- .../Destination.PowerShell.cs | 76 +- .../Destination.TypeConverter.cs | 6 +- .../Destination.cs | 75 +- .../Destination.json.cs | 12 +- .../DestinationProperties.PowerShell.cs | 44 +- .../DestinationProperties.TypeConverter.cs | 6 +- .../DestinationProperties.cs | 6 +- .../DestinationProperties.json.cs | 8 +- .../EhNamespace.PowerShell.cs | 516 ++++ .../EhNamespace.TypeConverter.cs | 6 +- .../EhNamespace.cs | 167 +- .../EhNamespace.json.cs | 14 +- .../EhNamespaceIdContainer.PowerShell.cs | 24 +- .../EhNamespaceIdContainer.TypeConverter.cs | 6 +- .../EhNamespaceIdContainer.cs | 6 +- .../EhNamespaceIdContainer.json.cs | 8 +- .../EhNamespaceIdListResult.PowerShell.cs | 24 +- .../EhNamespaceIdListResult.TypeConverter.cs | 6 +- .../EhNamespaceIdListResult.cs | 16 +- .../EhNamespaceIdListResult.json.cs | 10 +- .../EhNamespaceListResult.PowerShell.cs | 28 +- .../EhNamespaceListResult.TypeConverter.cs | 6 +- .../EhNamespaceListResult.cs | 16 +- .../EhNamespaceListResult.json.cs | 10 +- .../EhNamespaceProperties.PowerShell.cs | 342 +++ .../EhNamespaceProperties.TypeConverter.cs | 6 +- .../EhNamespaceProperties.cs | 100 +- .../EhNamespaceProperties.json.cs | 14 +- .../Encryption.PowerShell.cs | 32 +- .../Encryption.TypeConverter.cs | 6 +- .../Encryption.cs | 16 +- .../Encryption.json.cs | 10 +- .../EventHubListResult.PowerShell.cs | 28 +- .../EventHubListResult.TypeConverter.cs | 6 +- .../EventHubListResult.cs | 16 +- .../EventHubListResult.json.cs | 10 +- .../Api202301Preview/Eventhub.PowerShell.cs | 476 ++++ .../Eventhub.TypeConverter.cs | 6 +- .../Eventhub.cs | 150 +- .../Eventhub.json.cs | 10 +- .../EventhubProperties.PowerShell.cs | 380 +++ .../EventhubProperties.TypeConverter.cs | 6 +- .../EventhubProperties.cs | 136 +- .../EventhubProperties.json.cs | 12 +- .../Api202301Preview/FailOver.PowerShell.cs | 178 ++ .../FailOver.TypeConverter.cs | 146 ++ .../api/Models/Api202301Preview/FailOver.cs | 89 + .../Models/Api202301Preview/FailOver.json.cs | 107 + .../FailOverProperties.PowerShell.cs | 170 ++ .../FailOverProperties.TypeConverter.cs | 147 ++ .../Api202301Preview/FailOverProperties.cs | 84 + .../FailOverProperties.json.cs | 109 + ...GeoDataReplicationProperties.PowerShell.cs | 174 ++ ...DataReplicationProperties.TypeConverter.cs | 147 ++ .../GeoDataReplicationProperties.cs | 81 + .../GeoDataReplicationProperties.json.cs | 118 + .../Identity.PowerShell.cs | 36 +- .../Identity.TypeConverter.cs | 6 +- .../Identity.cs | 20 +- .../Identity.json.cs | 10 +- ...entityUserAssignedIdentities.PowerShell.cs | 20 +- ...ityUserAssignedIdentities.TypeConverter.cs | 6 +- .../IdentityUserAssignedIdentities.cs | 8 +- ...entityUserAssignedIdentities.dictionary.cs | 26 +- .../IdentityUserAssignedIdentities.json.cs | 12 +- .../KeyVaultProperties.PowerShell.cs | 40 +- .../KeyVaultProperties.TypeConverter.cs | 6 +- .../KeyVaultProperties.cs | 16 +- .../KeyVaultProperties.json.cs | 10 +- .../NamespaceReplicaLocation.PowerShell.cs | 182 ++ .../NamespaceReplicaLocation.TypeConverter.cs | 147 ++ .../NamespaceReplicaLocation.cs | 95 + .../NamespaceReplicaLocation.json.cs | 112 + .../NetworkRuleSet.PowerShell.cs | 292 +++ .../NetworkRuleSet.TypeConverter.cs | 6 +- .../NetworkRuleSet.cs | 38 +- .../NetworkRuleSet.json.cs | 10 +- .../NetworkRuleSetListResult.PowerShell.cs | 28 +- .../NetworkRuleSetListResult.TypeConverter.cs | 6 +- .../NetworkRuleSetListResult.cs | 16 +- .../NetworkRuleSetListResult.json.cs | 10 +- .../NetworkRuleSetProperties.PowerShell.cs | 40 +- .../NetworkRuleSetProperties.TypeConverter.cs | 6 +- .../NetworkRuleSetProperties.cs | 26 +- .../NetworkRuleSetProperties.json.cs | 12 +- .../NetworkSecurityPerimeter.PowerShell.cs | 32 +- .../NetworkSecurityPerimeter.TypeConverter.cs | 6 +- .../NetworkSecurityPerimeter.cs | 6 +- .../NetworkSecurityPerimeter.json.cs | 8 +- ...curityPerimeterConfiguration.PowerShell.cs | 337 +++ ...ityPerimeterConfiguration.TypeConverter.cs | 6 +- .../NetworkSecurityPerimeterConfiguration.cs | 141 +- ...workSecurityPerimeterConfiguration.json.cs | 10 +- ...tyPerimeterConfigurationList.PowerShell.cs | 24 +- ...erimeterConfigurationList.TypeConverter.cs | 6 +- ...tworkSecurityPerimeterConfigurationList.cs | 18 +- ...SecurityPerimeterConfigurationList.json.cs | 10 +- ...meterConfigurationProperties.PowerShell.cs | 297 +++ ...erConfigurationProperties.TypeConverter.cs | 6 +- ...ecurityPerimeterConfigurationProperties.cs | 157 +- ...tyPerimeterConfigurationProperties.json.cs | 44 +- ...nfigurationPropertiesProfile.PowerShell.cs | 32 +- ...gurationPropertiesProfile.TypeConverter.cs | 6 +- ...PerimeterConfigurationPropertiesProfile.cs | 16 +- ...eterConfigurationPropertiesProfile.json.cs | 10 +- ...ropertiesResourceAssociation.PowerShell.cs | 28 +- ...ertiesResourceAssociation.TypeConverter.cs | 6 +- ...figurationPropertiesResourceAssociation.cs | 6 +- ...ationPropertiesResourceAssociation.json.cs | 8 +- .../NspAccessRule.PowerShell.cs | 56 +- .../NspAccessRule.TypeConverter.cs | 6 +- .../NspAccessRule.cs | 40 +- .../NspAccessRule.json.cs | 10 +- .../NspAccessRuleProperties.PowerShell.cs | 40 +- .../NspAccessRuleProperties.TypeConverter.cs | 6 +- .../NspAccessRuleProperties.cs | 30 +- .../NspAccessRuleProperties.json.cs | 12 +- ...ePropertiesSubscriptionsItem.PowerShell.cs | 24 +- ...opertiesSubscriptionsItem.TypeConverter.cs | 6 +- ...spAccessRulePropertiesSubscriptionsItem.cs | 6 +- ...essRulePropertiesSubscriptionsItem.json.cs | 8 +- .../NwRuleSetIPRules.PowerShell.cs | 28 +- .../NwRuleSetIPRules.TypeConverter.cs | 6 +- .../NwRuleSetIPRules.cs | 6 +- .../NwRuleSetIPRules.json.cs | 8 +- ...NwRuleSetVirtualNetworkRules.PowerShell.cs | 32 +- ...uleSetVirtualNetworkRules.TypeConverter.cs | 6 +- .../NwRuleSetVirtualNetworkRules.cs | 16 +- .../NwRuleSetVirtualNetworkRules.json.cs | 10 +- .../Operation.PowerShell.cs | 56 +- .../Operation.TypeConverter.cs | 6 +- .../Operation.cs | 32 +- .../Operation.json.cs | 10 +- .../OperationDisplay.PowerShell.cs | 36 +- .../OperationDisplay.TypeConverter.cs | 6 +- .../OperationDisplay.cs | 14 +- .../OperationDisplay.json.cs | 8 +- .../OperationListResult.PowerShell.cs | 30 +- .../OperationListResult.TypeConverter.cs | 6 +- .../OperationListResult.cs | 20 +- .../OperationListResult.json.cs | 10 +- .../PrivateEndpoint.PowerShell.cs | 24 +- .../PrivateEndpoint.TypeConverter.cs | 6 +- .../PrivateEndpoint.cs | 6 +- .../PrivateEndpoint.json.cs | 8 +- .../PrivateEndpointConnection.PowerShell.cs | 76 +- ...PrivateEndpointConnection.TypeConverter.cs | 6 +- .../PrivateEndpointConnection.cs | 32 +- .../PrivateEndpointConnection.json.cs | 10 +- ...EndpointConnectionListResult.PowerShell.cs | 28 +- ...pointConnectionListResult.TypeConverter.cs | 6 +- .../PrivateEndpointConnectionListResult.cs | 16 +- ...rivateEndpointConnectionListResult.json.cs | 10 +- ...EndpointConnectionProperties.PowerShell.cs | 44 +- ...pointConnectionProperties.TypeConverter.cs | 6 +- .../PrivateEndpointConnectionProperties.cs | 28 +- ...rivateEndpointConnectionProperties.json.cs | 12 +- .../PrivateLinkResource.PowerShell.cs | 50 +- .../PrivateLinkResource.TypeConverter.cs | 6 +- .../PrivateLinkResource.cs | 20 +- .../PrivateLinkResource.json.cs | 10 +- ...rivateLinkResourceProperties.PowerShell.cs | 32 +- ...ateLinkResourceProperties.TypeConverter.cs | 6 +- .../PrivateLinkResourceProperties.cs | 6 +- .../PrivateLinkResourceProperties.json.cs | 8 +- ...ivateLinkResourcesListResult.PowerShell.cs | 28 +- ...teLinkResourcesListResult.TypeConverter.cs | 6 +- .../PrivateLinkResourcesListResult.cs | 16 +- .../PrivateLinkResourcesListResult.json.cs | 10 +- .../ProvisioningIssue.PowerShell.cs | 36 +- .../ProvisioningIssue.TypeConverter.cs | 6 +- .../ProvisioningIssue.cs | 18 +- .../ProvisioningIssue.json.cs | 10 +- .../ProvisioningIssueProperties.PowerShell.cs | 28 +- ...ovisioningIssueProperties.TypeConverter.cs | 6 +- .../ProvisioningIssueProperties.cs | 6 +- .../ProvisioningIssueProperties.json.cs | 8 +- ...egenerateAccessKeyParameters.PowerShell.cs | 28 +- ...nerateAccessKeyParameters.TypeConverter.cs | 6 +- .../RegenerateAccessKeyParameters.cs | 6 +- .../RegenerateAccessKeyParameters.json.cs | 8 +- .../RetentionDescription.PowerShell.cs | 34 +- .../RetentionDescription.TypeConverter.cs | 6 +- .../RetentionDescription.cs | 34 +- .../RetentionDescription.json.cs | 8 +- .../SchemaGroup.PowerShell.cs | 300 +++ .../SchemaGroup.TypeConverter.cs | 6 +- .../SchemaGroup.cs | 40 +- .../SchemaGroup.json.cs | 10 +- .../SchemaGroupListResult.PowerShell.cs | 28 +- .../SchemaGroupListResult.TypeConverter.cs | 6 +- .../SchemaGroupListResult.cs | 16 +- .../SchemaGroupListResult.json.cs | 10 +- .../SchemaGroupProperties.PowerShell.cs | 20 +- .../SchemaGroupProperties.TypeConverter.cs | 6 +- .../SchemaGroupProperties.cs | 6 +- .../SchemaGroupProperties.dictionary.cs | 4 +- .../SchemaGroupProperties.json.cs | 8 +- .../SchemaGroupProperties1.PowerShell.cs | 44 +- .../SchemaGroupProperties1.TypeConverter.cs | 6 +- .../SchemaGroupProperties1.cs | 22 +- .../SchemaGroupProperties1.json.cs | 10 +- .../Sku.PowerShell.cs | 32 +- .../Sku.TypeConverter.cs | 6 +- .../Sku.cs | 6 +- .../Sku.json.cs | 8 +- .../Subnet.PowerShell.cs | 24 +- .../Subnet.TypeConverter.cs | 6 +- .../Subnet.cs | 6 +- .../Subnet.json.cs | 8 +- .../ThrottlingPolicy.PowerShell.cs | 36 +- .../ThrottlingPolicy.TypeConverter.cs | 6 +- .../ThrottlingPolicy.cs | 20 +- .../ThrottlingPolicy.json.cs | 10 +- .../UserAssignedIdentity.PowerShell.cs | 30 +- .../UserAssignedIdentity.TypeConverter.cs | 6 +- .../UserAssignedIdentity.cs | 10 +- .../UserAssignedIdentity.json.cs | 8 +- ...erAssignedIdentityProperties.PowerShell.cs | 24 +- ...ssignedIdentityProperties.TypeConverter.cs | 6 +- .../UserAssignedIdentityProperties.cs | 6 +- .../UserAssignedIdentityProperties.json.cs | 8 +- ...loverAcceptedResponseHeaders.PowerShell.cs | 175 ++ ...erAcceptedResponseHeaders.TypeConverter.cs | 151 ++ ...mespacesFailoverAcceptedResponseHeaders.cs | 78 + ...cesFailoverAcceptedResponseHeaders.json.cs | 107 + .../Support/CaptureIdentityType.Completer.cs | 39 + .../CaptureIdentityType.TypeConverter.cs | 59 + .../api/Support/CaptureIdentityType.cs | 98 + ...nupPolicyRetentionDescription.Completer.cs | 4 +- .../CleanupPolicyRetentionDescription.cs | 2 +- .../api/Support/GeoDrRoleType.Completer.cs | 39 + .../Support/GeoDrRoleType.TypeConverter.cs | 59 + .../generated/api/Support/GeoDrRoleType.cs | 98 + .../Support/ProvisioningState.Completer.cs | 63 + .../ProvisioningState.TypeConverter.cs | 59 + .../api/Support/ProvisioningState.cs | 110 + .../GetAzEventHubApplicationGroup_Get.cs | 12 +- ...EventHubApplicationGroup_GetViaIdentity.cs | 12 +- .../GetAzEventHubApplicationGroup_List.cs | 10 +- .../GetAzEventHubAuthorizationRule_Get.cs | 12 +- ...ventHubAuthorizationRule_GetViaIdentity.cs | 12 +- .../GetAzEventHubAuthorizationRule_List.cs | 10 +- .../GetAzEventHubClusterNamespace_List.cs | 10 +- .../cmdlets/GetAzEventHubCluster_Get.cs | 12 +- .../GetAzEventHubCluster_GetViaIdentity.cs | 12 +- .../cmdlets/GetAzEventHubCluster_List.cs | 10 +- .../cmdlets/GetAzEventHubCluster_List1.cs | 10 +- ...tAzEventHubClustersAvailableRegion_List.cs | 10 +- .../cmdlets/GetAzEventHubConsumerGroup_Get.cs | 12 +- ...tAzEventHubConsumerGroup_GetViaIdentity.cs | 12 +- .../GetAzEventHubConsumerGroup_List.cs | 10 +- ...sterRecoveryConfigAuthorizationRule_Get.cs | 12 +- ...yConfigAuthorizationRule_GetViaIdentity.cs | 12 +- ...terRecoveryConfigAuthorizationRule_List.cs | 10 +- ...zEventHubDisasterRecoveryConfigKey_List.cs | 12 +- .../GetAzEventHubGeoDRConfiguration_Get.cs | 12 +- ...entHubGeoDRConfiguration_GetViaIdentity.cs | 12 +- .../GetAzEventHubGeoDRConfiguration_List.cs | 10 +- .../cmdlets/GetAzEventHubKey_List.cs | 12 +- ...zEventHubNamespaceAuthorizationRule_Get.cs | 12 +- ...mespaceAuthorizationRule_GetViaIdentity.cs | 12 +- ...EventHubNamespaceAuthorizationRule_List.cs | 10 +- .../cmdlets/GetAzEventHubNamespaceKey_List.cs | 12 +- .../cmdlets/GetAzEventHubNamespace_Get.cs | 12 +- .../GetAzEventHubNamespace_GetViaIdentity.cs | 12 +- .../cmdlets/GetAzEventHubNamespace_List.cs | 10 +- .../cmdlets/GetAzEventHubNamespace_List1.cs | 10 +- .../GetAzEventHubNetworkRuleSet_Get.cs | 12 +- ...AzEventHubNetworkRuleSet_GetViaIdentity.cs | 12 +- .../GetAzEventHubNetworkRuleSet_List.cs | 10 +- .../cmdlets/GetAzEventHubOperation_List.cs | 10 +- ...AzEventHubPrivateEndpointConnection_Get.cs | 12 +- ...rivateEndpointConnection_GetViaIdentity.cs | 12 +- ...zEventHubPrivateEndpointConnection_List.cs | 10 +- .../cmdlets/GetAzEventHubPrivateLink_Get.cs | 10 +- .../cmdlets/GetAzEventHubSchemaGroup_Get.cs | 12 +- ...GetAzEventHubSchemaGroup_GetViaIdentity.cs | 12 +- .../cmdlets/GetAzEventHubSchemaGroup_List.cs | 10 +- .../generated/cmdlets/GetAzEventHub_Get.cs | 12 +- .../cmdlets/GetAzEventHub_GetViaIdentity.cs | 12 +- .../generated/cmdlets/GetAzEventHub_List.cs | 10 +- ...EventHubApplicationGroup_CreateExpanded.cs | 18 +- ...ntHubApplicationGroup_CreateViaIdentity.cs | 18 +- ...ventHubAuthorizationRule_CreateExpanded.cs | 14 +- ...tHubAuthorizationRule_CreateViaIdentity.cs | 18 +- .../NewAzEventHubCluster_CreateExpanded.cs | 14 +- .../NewAzEventHubCluster_CreateViaIdentity.cs | 18 +- ...wAzEventHubConsumerGroup_CreateExpanded.cs | 14 +- ...EventHubConsumerGroup_CreateViaIdentity.cs | 18 +- ...entHubGeoDRConfiguration_CreateExpanded.cs | 24 +- ...HubGeoDRConfiguration_CreateViaIdentity.cs | 28 +- .../cmdlets/NewAzEventHubKey_Regenerate.cs | 18 +- ...mespaceAuthorizationRule_CreateExpanded.cs | 14 +- ...paceAuthorizationRule_CreateViaIdentity.cs | 18 +- .../NewAzEventHubNamespaceKey_Regenerate.cs | 18 +- .../NewAzEventHubNamespace_CreateExpanded.cs | 53 +- ...ewAzEventHubNamespace_CreateViaIdentity.cs | 18 +- ...AzEventHubNetworkRuleSet_CreateExpanded.cs | 22 +- ...ventHubNetworkRuleSet_CreateViaIdentity.cs | 18 +- ...rivateEndpointConnection_CreateExpanded.cs | 34 +- ...ateEndpointConnection_CreateViaIdentity.cs | 38 +- ...NewAzEventHubSchemaGroup_CreateExpanded.cs | 18 +- ...AzEventHubSchemaGroup_CreateViaIdentity.cs | 18 +- .../cmdlets/NewAzEventHub_CreateExpanded.cs | 56 +- .../NewAzEventHub_CreateViaIdentity.cs | 18 +- ...terRecoveryConfigNameAvailability_Check.cs | 18 +- ...eryConfigNameAvailability_CheckExpanded.cs | 14 +- ...ConfigNameAvailability_CheckViaIdentity.cs | 18 +- ...meAvailability_CheckViaIdentityExpanded.cs | 14 +- ...EventHubNamespaceNameAvailability_Check.cs | 18 +- ...NamespaceNameAvailability_CheckExpanded.cs | 14 +- ...espaceNameAvailability_CheckViaIdentity.cs | 18 +- ...meAvailability_CheckViaIdentityExpanded.cs | 14 +- .../generated/runtime/MessageAttribute.cs | 75 +- .../runtime/Properties/Resources.Designer.cs | 17 +- .../runtime/Properties/Resources.resx | 5 +- .../Get-AzEventHubAuthorizationRule.ps1 | 4 +- ...isasterRecoveryConfigAuthorizationRule.ps1 | 4 +- ...et-AzEventHubDisasterRecoveryConfigKey.ps1 | 4 +- .../internal/Get-AzEventHubKey.ps1 | 4 +- ...t-AzEventHubNamespaceAuthorizationRule.ps1 | 4 +- .../internal/Get-AzEventHubNamespaceKey.ps1 | 4 +- .../internal/Get-AzEventHubOperation.ps1 | 4 +- .../internal/New-AzEventHub.ps1 | 14 +- .../New-AzEventHubApplicationGroup.ps1 | 8 +- .../New-AzEventHubAuthorizationRule.ps1 | 8 +- .../internal/New-AzEventHubCluster.ps1 | 8 +- .../internal/New-AzEventHubConsumerGroup.ps1 | 8 +- .../New-AzEventHubGeoDRConfiguration.ps1 | 8 +- .../internal/New-AzEventHubKey.ps1 | 8 +- .../internal/New-AzEventHubNamespace.ps1 | 40 +- ...w-AzEventHubNamespaceAuthorizationRule.ps1 | 8 +- .../internal/New-AzEventHubNamespaceKey.ps1 | 8 +- .../internal/New-AzEventHubNetworkRuleSet.ps1 | 12 +- ...ew-AzEventHubPrivateEndpointConnection.ps1 | 8 +- .../internal/New-AzEventHubSchemaGroup.ps1 | 8 +- .../internal/ProxyCmdletDefinitions.ps1 | 190 +- ...DisasterRecoveryConfigNameAvailability.ps1 | 8 +- ...st-AzEventHubNamespaceNameAvailability.ps1 | 8 +- ...ubPrivateEndpointConnection.Recording.json | 441 ++-- ...ubPrivateEndpointConnection.Recording.json | 150 +- .../test/Get-AzEventHub.Recording.json | 100 +- ...-AzEventHubApplicationGroup.Recording.json | 100 +- ...AzEventHubAuthorizationRule.Recording.json | 160 +- ...-AzEventHubClusterNamespace.Recording.json | 18 +- ...Get-AzEventHubConsumerGroup.Recording.json | 110 +- .../test/Get-AzEventHubKey.Recording.json | 40 +- .../Get-AzEventHubNamespaceV2.Recording.json | 96 +- ...et-AzEventHubNetworkRuleSet.Recording.json | 25 +- .../Get-AzEventHubNetworkRuleSet.Tests.ps1 | 2 +- ...ubPrivateEndpointConnection.Recording.json | 100 +- .../Get-AzEventHubPrivateLink.Recording.json | 20 +- .../Get-AzEventHubSchemaGroup.Recording.json | 80 +- .../test/New-AzEventHub.Recording.json | 634 +++-- .../test/New-AzEventHub.Tests.ps1 | 19 +- ...-AzEventHubApplicationGroup.Recording.json | 58 +- .../New-AzEventHubApplicationGroup.Tests.ps1 | 2 +- ...AzEventHubAuthorizationRule.Recording.json | 70 +- .../New-AzEventHubAuthorizationRule.Tests.ps1 | 2 +- ...New-AzEventHubConsumerGroup.Recording.json | 28 +- ...zEventHubGeoDRConfiguration.Recording.json | 356 +-- .../test/New-AzEventHubKey.Recording.json | 176 +- .../New-AzEventHubNamespaceV2.Recording.json | 2264 ++++++++++++++--- .../test/New-AzEventHubNamespaceV2.Tests.ps1 | 4 +- .../New-AzEventHubSchemaGroup.Recording.json | 34 +- .../test/Remove-AzEventHub.Recording.json | 100 +- ...-AzEventHubApplicationGroup.Recording.json | 280 +- ...emove-AzEventHubApplicationGroup.Tests.ps1 | 4 +- ...AzEventHubAuthorizationRule.Recording.json | 376 +-- ...move-AzEventHubAuthorizationRule.Tests.ps1 | 30 +- ...ove-AzEventHubConsumerGroup.Recording.json | 104 +- ...emove-AzEventHubNamespaceV2.Recording.json | 334 +-- ...ubPrivateEndpointConnection.Recording.json | 200 +- ...emove-AzEventHubSchemaGroup.Recording.json | 96 +- .../test/Set-AzEventHub.Recording.json | 297 ++- .../test/Set-AzEventHub.Tests.ps1 | 18 + ...-AzEventHubApplicationGroup.Recording.json | 327 ++- .../Set-AzEventHubApplicationGroup.Tests.ps1 | 8 +- ...AzEventHubAuthorizationRule.Recording.json | 184 +- ...Set-AzEventHubConsumerGroup.Recording.json | 98 +- ...GeoDRConfigurationBreakPair.Recording.json | 912 +++---- ...bGeoDRConfigurationFailOver.Recording.json | 1319 +++++++++- ...entHubGeoDRConfigurationFailOver.Tests.ps1 | 14 +- .../Set-AzEventHubNamespaceV2.Recording.json | 2160 ++++++++-------- .../test/Set-AzEventHubNamespaceV2.Tests.ps1 | 10 +- ...et-AzEventHubNetworkRuleSet.Recording.json | 292 +-- .../Set-AzEventHubNetworkRuleSet.Tests.ps1 | 16 +- .../test/Test-AzEventHubName.Recording.json | 34 +- .../test/Test-AzEventHubName.Tests.ps1 | 6 +- .../disasterRecoveryParameter.json | 4 +- .../keyVaultParameter.json | 4 +- .../test/deployment-template/parameter.json | 20 +- src/EventHub/EventHub.Autorest/test/env.json | 106 +- .../EventHub.Autorest/test/localEnv.json | 95 +- src/EventHub/EventHub.Autorest/test/utils.ps1 | 4 + src/EventHub/EventHub/Az.EventHub.psd1 | 6 +- ...ove-AzEventHubPrivateEndpointConnection.md | 2 +- ...eny-AzEventHubPrivateEndpointConnection.md | 2 +- src/EventHub/EventHub/help/Get-AzEventHub.md | 2 +- .../help/Get-AzEventHubApplicationGroup.md | 2 +- .../help/Get-AzEventHubAuthorizationRule.md | 2 +- .../EventHub/help/Get-AzEventHubCluster.md | 2 +- .../help/Get-AzEventHubClusterNamespace.md | 2 +- .../Get-AzEventHubClustersAvailableRegion.md | 2 +- .../help/Get-AzEventHubConsumerGroup.md | 2 +- .../help/Get-AzEventHubGeoDRConfiguration.md | 2 +- .../EventHub/help/Get-AzEventHubKey.md | 2 +- .../EventHub/help/Get-AzEventHubNamespace.md | 2 +- .../help/Get-AzEventHubNetworkRuleSet.md | 4 +- ...Get-AzEventHubPrivateEndpointConnection.md | 2 +- .../help/Get-AzEventHubPrivateLink.md | 2 +- .../help/Get-AzEventHubSchemaGroup.md | 2 +- src/EventHub/EventHub/help/New-AzEventHub.md | 46 +- .../help/New-AzEventHubApplicationGroup.md | 4 +- .../help/New-AzEventHubAuthorizationRule.md | 2 +- .../EventHub/help/New-AzEventHubCluster.md | 2 +- .../help/New-AzEventHubConsumerGroup.md | 2 +- .../help/New-AzEventHubGeoDRConfiguration.md | 2 +- .../help/New-AzEventHubIPRuleConfig.md | 2 +- .../EventHub/help/New-AzEventHubKey.md | 2 +- .../New-AzEventHubKeyVaultPropertiesObject.md | 2 +- .../EventHub/help/New-AzEventHubNamespace.md | 4 +- .../help/New-AzEventHubSchemaGroup.md | 2 +- .../New-AzEventHubThrottlingPolicyConfig.md | 2 +- .../New-AzEventHubVirtualNetworkRuleConfig.md | 2 +- .../Remove-AzEventHubAuthorizationRule.md | 2 +- src/EventHub/EventHub/help/Set-AzEventHub.md | 34 +- .../help/Set-AzEventHubApplicationGroup.md | 6 +- .../help/Set-AzEventHubAuthorizationRule.md | 2 +- .../EventHub/help/Set-AzEventHubCluster.md | 2 +- .../help/Set-AzEventHubConsumerGroup.md | 2 +- .../EventHub/help/Set-AzEventHubNamespace.md | 4 +- .../help/Set-AzEventHubNetworkRuleSet.md | 6 +- .../EventHub/help/Test-AzEventHubName.md | 2 +- 653 files changed, 21654 insertions(+), 11742 deletions(-) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.json.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.json.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs delete mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AccessKeys.PowerShell.cs (66%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AccessKeys.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AccessKeys.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AccessKeys.json.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview/NetworkRuleSet.PowerShell.cs => Api202301Preview/ApplicationGroup.PowerShell.cs} (62%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroup.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroup.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroup.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupListResult.PowerShell.cs (75%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupListResult.cs (86%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupPolicy.PowerShell.cs (80%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupPolicy.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupPolicy.cs (93%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupPolicy.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupProperties.PowerShell.cs (71%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupProperties.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ApplicationGroupProperties.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview/AuthorizationRule.PowerShell.cs => Api202301Preview/ArmDisasterRecovery.PowerShell.cs} (64%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecovery.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecovery.cs (87%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecovery.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryListResult.PowerShell.cs (75%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryListResult.cs (86%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryProperties.PowerShell.cs (66%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryProperties.cs (93%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ArmDisasterRecoveryProperties.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview/ConsumerGroup.PowerShell.cs => Api202301Preview/AuthorizationRule.PowerShell.cs} (53%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRule.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRule.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRule.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleListResult.PowerShell.cs (75%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleListResult.cs (88%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleProperties.PowerShell.cs (80%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleProperties.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AuthorizationRuleProperties.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableCluster.PowerShell.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableCluster.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableCluster.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableCluster.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableClustersList.PowerShell.cs (79%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableClustersList.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableClustersList.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/AvailableClustersList.json.cs (91%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CaptureDescription.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CaptureDescription.cs (69%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CaptureDescription.json.cs (95%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.json.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityParameter.PowerShell.cs (83%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityParameter.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityParameter.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityParameter.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityResult.PowerShell.cs (74%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityResult.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/CheckNameAvailabilityResult.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Cluster.PowerShell.cs (57%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Cluster.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Cluster.cs (80%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Cluster.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterListResult.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterListResult.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterProperties.PowerShell.cs (66%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterProperties.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterProperties.json.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterSku.PowerShell.cs (81%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterSku.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterSku.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ClusterSku.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConnectionState.PowerShell.cs (78%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConnectionState.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConnectionState.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConnectionState.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview/SchemaGroup.PowerShell.cs => Api202301Preview/ConsumerGroup.PowerShell.cs} (62%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroup.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroup.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroup.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupListResult.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupProperties.PowerShell.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupProperties.cs (93%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ConsumerGroupProperties.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Destination.PowerShell.cs (53%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Destination.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Destination.cs (55%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Destination.json.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/DestinationProperties.PowerShell.cs (67%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/DestinationProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/DestinationProperties.cs (98%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/DestinationProperties.json.cs (97%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespace.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespace.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespace.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdContainer.PowerShell.cs (84%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdContainer.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdContainer.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdContainer.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdListResult.PowerShell.cs (79%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdListResult.cs (83%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceIdListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceListResult.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceListResult.json.cs (92%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceProperties.cs (73%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EhNamespaceProperties.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Encryption.PowerShell.cs (71%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Encryption.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Encryption.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Encryption.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventHubListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventHubListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventHubListResult.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventHubListResult.json.cs (92%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Eventhub.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Eventhub.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Eventhub.json.cs (95%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventhubProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventhubProperties.cs (67%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/EventhubProperties.json.cs (95%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.json.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.json.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.json.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Identity.PowerShell.cs (71%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Identity.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Identity.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Identity.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/IdentityUserAssignedIdentities.PowerShell.cs (88%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/IdentityUserAssignedIdentities.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/IdentityUserAssignedIdentities.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/IdentityUserAssignedIdentities.dictionary.cs (66%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/IdentityUserAssignedIdentities.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/KeyVaultProperties.PowerShell.cs (69%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/KeyVaultProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/KeyVaultProperties.cs (81%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/KeyVaultProperties.json.cs (95%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.json.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSet.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSet.cs (86%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSet.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetListResult.PowerShell.cs (75%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetListResult.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetProperties.PowerShell.cs (61%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetProperties.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkRuleSetProperties.json.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeter.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeter.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeter.json.cs (96%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfiguration.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfiguration.cs (56%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfiguration.json.cs (93%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationList.PowerShell.cs (77%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationList.cs (77%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationList.json.cs (90%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationProperties.cs (51%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationProperties.json.cs (67%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs (69%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs (88%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs (74%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRule.PowerShell.cs (56%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRule.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRule.cs (71%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRule.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRuleProperties.PowerShell.cs (61%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRuleProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRuleProperties.cs (81%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRuleProperties.json.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs (83%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRulePropertiesSubscriptionsItem.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NspAccessRulePropertiesSubscriptionsItem.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetIPRules.PowerShell.cs (79%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetIPRules.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetIPRules.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetIPRules.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetVirtualNetworkRules.PowerShell.cs (73%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetVirtualNetworkRules.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetVirtualNetworkRules.cs (81%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/NwRuleSetVirtualNetworkRules.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Operation.PowerShell.cs (62%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Operation.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Operation.cs (79%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Operation.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationDisplay.PowerShell.cs (74%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationDisplay.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationDisplay.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationDisplay.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationListResult.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/OperationListResult.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpoint.PowerShell.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpoint.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpoint.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpoint.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnection.PowerShell.cs (54%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnection.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnection.cs (84%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnection.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionListResult.PowerShell.cs (74%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionListResult.cs (87%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionProperties.PowerShell.cs (60%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionProperties.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateEndpointConnectionProperties.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResource.PowerShell.cs (64%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResource.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResource.cs (80%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResource.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourceProperties.PowerShell.cs (73%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourceProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourceProperties.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourceProperties.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourcesListResult.PowerShell.cs (75%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourcesListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourcesListResult.cs (87%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/PrivateLinkResourcesListResult.json.cs (91%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssue.PowerShell.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssue.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssue.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssue.json.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssueProperties.PowerShell.cs (79%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssueProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssueProperties.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ProvisioningIssueProperties.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RegenerateAccessKeyParameters.PowerShell.cs (78%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RegenerateAccessKeyParameters.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RegenerateAccessKeyParameters.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RegenerateAccessKeyParameters.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RetentionDescription.PowerShell.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RetentionDescription.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RetentionDescription.cs (77%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/RetentionDescription.json.cs (96%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.PowerShell.cs rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroup.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroup.cs (85%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroup.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupListResult.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupListResult.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupListResult.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupListResult.json.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties.PowerShell.cs (89%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties.cs (92%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties.dictionary.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties1.PowerShell.cs (61%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties1.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties1.cs (87%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/SchemaGroupProperties1.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Sku.PowerShell.cs (76%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Sku.TypeConverter.cs (98%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Sku.cs (98%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Sku.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Subnet.PowerShell.cs (86%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Subnet.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Subnet.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/Subnet.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ThrottlingPolicy.PowerShell.cs (72%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ThrottlingPolicy.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ThrottlingPolicy.cs (84%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/ThrottlingPolicy.json.cs (95%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentity.PowerShell.cs (80%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentity.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentity.cs (90%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentity.json.cs (96%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentityProperties.PowerShell.cs (82%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentityProperties.TypeConverter.cs (97%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentityProperties.cs (94%) rename src/EventHub/EventHub.Autorest/generated/api/Models/{Api20221001Preview => Api202301Preview}/UserAssignedIdentityProperties.json.cs (95%) create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.PowerShell.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.json.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.Completer.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.Completer.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.Completer.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs create mode 100644 src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.cs diff --git a/src/EventHub/EventHub.Autorest/Az.EventHub.format.ps1xml b/src/EventHub/EventHub.Autorest/Az.EventHub.format.ps1xml index 0152398a3317..9c36c9f49d33 100644 --- a/src/EventHub/EventHub.Autorest/Az.EventHub.format.ps1xml +++ b/src/EventHub/EventHub.Autorest/Az.EventHub.format.ps1xml @@ -2,9 +2,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties diff --git a/src/EventHub/EventHub.Autorest/README.md b/src/EventHub/EventHub.Autorest/README.md index 63efee2dc811..a35f0de080fc 100644 --- a/src/EventHub/EventHub.Autorest/README.md +++ b/src/EventHub/EventHub.Autorest/README.md @@ -31,24 +31,24 @@ For information on how to develop for `Az.EventHub`, see [how-to.md](how-to.md). ``` yaml # Please specify the commit id that includes your features to make sure generated codes stable. -branch: 00ff897270e1f60b5e8944b15fc35fc0f9af2598 +branch: 49946abc47b5ea9402d7763ae61b183ca4741855 require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md input-file: # You need to specify your swagger files here. - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/AvailableClusterRegions-preview.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/Clusters-preview.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/namespaces-preview.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/networkrulessets-preview.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/AuthorizationRules.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/CheckNameAvailability.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/consumergroups.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/disasterRecoveryConfigs.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/operations.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/SchemaRegistry.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/eventhubs.json - - https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/ApplicationGroups.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/AvailableClusterRegions-preview.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/Clusters-preview.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/namespaces-preview.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/networkrulessets-preview.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/AuthorizationRules.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/CheckNameAvailability.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/consumergroups.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/disasterRecoveryConfigs.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/operations.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/SchemaRegistry.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/eventhubs.json + - https://github.com/Azure/azure-rest-api-specs/tree/main/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2023-01-01-preview/ApplicationGroups.json # If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally # - (this-folder)/relative-path-to-your-swagger @@ -284,6 +284,18 @@ directive: set: property-name: CaptureEnabled + - where: + verb: New + subject: EventHub + parameter-name: IdentityUserAssignedIdentity + set: + parameter-name: UserAssignedIdentityId + - where: + model-name: EventHub + property-name: IdentityUserAssignedIdentity + set: + property-name: UserAssignedIdentityId + - where: verb: New subject: EventHub diff --git a/src/EventHub/EventHub.Autorest/custom/Approve-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/custom/Approve-AzEventHubPrivateEndpointConnection.ps1 index e9873519137b..5f7fbc7738fa 100644 --- a/src/EventHub/EventHub.Autorest/custom/Approve-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Approve-AzEventHubPrivateEndpointConnection.ps1 @@ -20,7 +20,7 @@ Approves an EventHub PrivateEndpointConnection #> function Approve-AzEventHubPrivateEndpointConnection{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', HelpMessage = "The name of the Private Endpoint Connection")] diff --git a/src/EventHub/EventHub.Autorest/custom/Deny-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/custom/Deny-AzEventHubPrivateEndpointConnection.ps1 index ee8128e7f0b0..8f20163fb4bc 100644 --- a/src/EventHub/EventHub.Autorest/custom/Deny-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Deny-AzEventHubPrivateEndpointConnection.ps1 @@ -20,7 +20,7 @@ Denies an EventHub PrivateEndpointConnection #> function Deny-AzEventHubPrivateEndpointConnection{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', HelpMessage = "The name of the Private Endpoint Connection")] diff --git a/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubAuthorizationRule.ps1 index 345b2a9fa5bd..c1185ef7543a 100644 --- a/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubAuthorizationRule.ps1 @@ -20,7 +20,7 @@ Gets an EventHub Authorization Rule #> function Get-AzEventHubAuthorizationRule{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName = 'GetExpandedNamespace', PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'GetExpandedEntity', HelpMessage = "The name of the Authorization Rule")] diff --git a/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubKey.ps1 index 3382a3f193d4..e4465bf6168b 100644 --- a/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Get-AzEventHubKey.ps1 @@ -20,7 +20,7 @@ Gets an EventHub SAS key #> function Get-AzEventHubKey{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName = 'GetExpandedNamespace', PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'GetExpandedEntity', Mandatory, HelpMessage = "The name of the Authorization Rule")] diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 index ffdbe038a431..9fd73f3b6e44 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubAuthorizationRule.ps1 @@ -20,7 +20,7 @@ Creates an EventHub Authorization Rule #> function New-AzEventHubAuthorizationRule{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName = 'NewExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of the Authorization Rule")] @@ -130,7 +130,7 @@ function New-AzEventHubAuthorizationRule{ $null = $PSBoundParameters.Remove('WhatIf') $null = $PSBoundParameters.Remove('Confirm') - $authRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule]@{ + $authRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule]@{ Rights = $Rights } diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 index 7e6f19242074..f5ff20dc1347 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubIPRuleConfig.ps1 @@ -19,7 +19,7 @@ Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHu Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHubNetworkRuleSet #> function New-AzEventHubIPRuleConfig{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules])] [CmdletBinding(PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(Mandatory, HelpMessage = "IP Mask")] @@ -35,7 +35,7 @@ function New-AzEventHubIPRuleConfig{ process{ try{ - $ipRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules]@{ + $ipRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules]@{ IPMask = $IPMask Action = $Action } diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 index e52b400bb52a..08d7cbb9d8c0 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubKey.ps1 @@ -20,7 +20,7 @@ Regenerates an EventHub SAS key #> function New-AzEventHubKey{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName = 'NewExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'NewExpandedEntity', Mandatory, HelpMessage = "The name of the Authorization Rule")] @@ -139,7 +139,7 @@ function New-AzEventHubKey{ $null = $PSBoundParameters.Remove('WhatIf') $null = $PSBoundParameters.Remove('Confirm') - $accessKeys = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters]@{ + $accessKeys = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters]@{ KeyType = $KeyType } diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 index 0b45446ff0b5..534210d76598 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubNamespace.ps1 @@ -21,7 +21,7 @@ Creates an EventHub Namespace function New-AzEventHubNamespace{ [Alias("New-AzEventHubNamespaceV2")] - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( @@ -77,7 +77,7 @@ function New-AzEventHubNamespace{ [Parameter(HelpMessage = "Properties to configure Encryption")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] ${KeyVaultProperty}, [Parameter(HelpMessage = "Type of managed service identity.")] @@ -200,7 +200,7 @@ function New-AzEventHubNamespace{ $identityHashTable = @{} foreach ($resourceID in $UserAssignedIdentityId){ - $identityHashTable.Add($resourceID, [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentity]::new()) + $identityHashTable.Add($resourceID, [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentity]::new()) } $PSBoundParameters.Add("UserAssignedIdentity", $identityHashTable) diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 index c49d8fbf71b9..fd9046208d36 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubThrottlingPolicyConfig.ps1 @@ -19,7 +19,7 @@ Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHu Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHubApplicationGroup or Set-AzEventHubApplicationGroup #> function New-AzEventHubThrottlingPolicyConfig{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy])] [CmdletBinding(PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(Mandatory, HelpMessage = "Name of Throttling Policy Config")] @@ -40,7 +40,7 @@ function New-AzEventHubThrottlingPolicyConfig{ process{ try{ - $policy = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy]@{ + $policy = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy]@{ Name = $Name MetricId = $MetricId RateLimitThreshold = $RateLimitThreshold diff --git a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubVirtualNetworkRuleConfig.ps1 b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubVirtualNetworkRuleConfig.ps1 index afe32af58f28..b6d6cd12ea2e 100644 --- a/src/EventHub/EventHub.Autorest/custom/New-AzEventHubVirtualNetworkRuleConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/New-AzEventHubVirtualNetworkRuleConfig.ps1 @@ -19,7 +19,7 @@ Constructs an INwRuleSetVirtualNetworkRules object that can be fed as input to S Constructs an INwRuleSetVirtualNetworkRules object that can be fed as input to Set-AzEventHubNetworkRuleSet #> function New-AzEventHubVirtualNetworkRuleConfig{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules])] [CmdletBinding(PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(Mandatory, HelpMessage = "Resource ID of Virtual Network Subnet")] @@ -35,7 +35,7 @@ function New-AzEventHubVirtualNetworkRuleConfig{ process{ try{ - $virtualNetworkRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules]@{ + $virtualNetworkRule = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules]@{ SubnetId = $SubnetId } diff --git a/src/EventHub/EventHub.Autorest/custom/Remove-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/Remove-AzEventHubAuthorizationRule.ps1 index 373e38f2a436..d3729314b474 100644 --- a/src/EventHub/EventHub.Autorest/custom/Remove-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Remove-AzEventHubAuthorizationRule.ps1 @@ -20,7 +20,7 @@ Removes an EventHub Authorization Rule #> function Remove-AzEventHubAuthorizationRule{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName = 'RemoveExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'RemoveExpandedEntity', HelpMessage = "The name of the Authorization Rule")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 index f5fe59fa60c0..5d1b20d3eaa9 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHub.ps1 @@ -21,7 +21,7 @@ Updates an EventHub Entity function Set-AzEventHub{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHub])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHub])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub Entity.")] @@ -108,9 +108,19 @@ function Set-AzEventHub{ [Parameter(HelpMessage = "Name for capture destination")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.String] - # Name for capture destination ${DestinationName}, + [Parameter(HelpMessage = "Type of managed service identity.")] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + ${IdentityType}, + + [Parameter(HelpMessage = "Properties for User Assigned Identities")] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.String] + # Name for capture destination + ${UserAssignedIdentityId}, + [Parameter(HelpMessage = "Resource id of the storage account to be used to create the blobs")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.String] @@ -195,6 +205,8 @@ function Set-AzEventHub{ $hasIntervalInSeconds = $PSBoundParameters.Remove('IntervalInSeconds') $hasSizeLimitInBytes = $PSBoundParameters.Remove('SizeLimitInBytes') $hasSkipEmptyArchive = $PSBoundParameters.Remove('SkipEmptyArchive') + $hasUserAssignedIdentityId = $PSBoundParameters.Remove('UserAssignedIdentityId') + $hasIdentityType = $PSBoundParameters.Remove('IdentityType') $hasRetentionTimeInHour = $PSBoundParameters.Remove('RetentionTimeInHour') $hasTombstoneRetentionTimeInHour = $PSBoundParameters.Remove('TombstoneRetentionTimeInHour') $hasStatus = $PSBoundParameters.Remove('Status') @@ -262,6 +274,14 @@ function Set-AzEventHub{ $hasProperty = $true } + if ($hasIdentityType) { + $eventHub.IdentityType = $IdentityType + } + + if ($hasUserAssignedIdentityId) { + $eventHub.UserAssignedIdentityId = $UserAssignedIdentityId + } + if ($hasStorageAccountResourceId) { $eventHub.StorageAccountResourceId = $StorageAccountResourceId $hasProperty = $true diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubApplicationGroup.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubApplicationGroup.ps1 index 425970d7931b..a153edab6f64 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubApplicationGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubApplicationGroup.ps1 @@ -19,7 +19,7 @@ Sets an EventHub Application Group Sets an EventHub Application Group #> function Set-AzEventHubApplicationGroup{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of the Application Group.")] @@ -70,7 +70,7 @@ function Set-AzEventHubApplicationGroup{ [Parameter(ValueFromPipelineByPropertyName, HelpMessage = "List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]] # List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic. ${Policy}, diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 index 854eb1bd6a9f..346152b82f97 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubAuthorizationRule.ps1 @@ -20,7 +20,7 @@ Sets an EventHub Authorization Rule #> function Set-AzEventHubAuthorizationRule{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName = 'SetExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpandedEntity', HelpMessage = "The name of the Authorization Rule")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubCluster.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubCluster.ps1 index 70c3ec8e98ae..9e1f76d7892f 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubCluster.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubCluster.ps1 @@ -20,7 +20,7 @@ Sets an EventHub Cluster #> function Set-AzEventHubCluster{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of the EventHub Dedicated Cluster")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubConsumerGroup.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubConsumerGroup.ps1 index 8b6912763961..cfdd9e5d9b41 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubConsumerGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubConsumerGroup.ps1 @@ -20,7 +20,7 @@ Sets an EventHub Consumer Group #> function Set-AzEventHubConsumerGroup{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of the Consumer Group.")] diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 index 98127cc90d50..fb75f588d448 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNamespace.ps1 @@ -21,7 +21,7 @@ Updates an EventHub Namespace function Set-AzEventHubNamespace{ [Alias("Set-AzEventHubNamespaceV2")] - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( @@ -64,7 +64,7 @@ function Set-AzEventHubNamespace{ [Parameter(HelpMessage = "Properties to configure Encryption")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] ${KeyVaultProperty}, [Parameter(HelpMessage = "Enable Infrastructure Encryption (Double Encryption)")] @@ -220,7 +220,7 @@ function Set-AzEventHubNamespace{ $identityHashTable = @{} foreach ($resourceID in $UserAssignedIdentityId){ - $identityHashTable.Add($resourceID, [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentity]::new()) + $identityHashTable.Add($resourceID, [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentity]::new()) } $eventHubNamespace.UserAssignedIdentity = $identityHashTable diff --git a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 index 2aaca0021f1d..68579752561d 100644 --- a/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Set-AzEventHubNetworkRuleSet.ps1 @@ -20,7 +20,7 @@ Sets an EventHub Namespace Network Rule Set #> function Set-AzEventHubNetworkRuleSet{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet])] [CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName = 'SetExpanded', Mandatory, HelpMessage = "The name of EventHub namespace")] @@ -70,13 +70,13 @@ function Set-AzEventHubNetworkRuleSet{ [Parameter(HelpMessage = "List of IpRules")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]] # List of IpRules ${IPRule}, [Parameter(HelpMessage = "List of VirtualNetwork Rules")] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]] # List of VirtualNetwork Rules ${VirtualNetworkRule}, diff --git a/src/EventHub/EventHub.Autorest/custom/Test-AzEventHubName.ps1 b/src/EventHub/EventHub.Autorest/custom/Test-AzEventHubName.ps1 index e699f03e9c15..87e1ad182954 100644 --- a/src/EventHub/EventHub.Autorest/custom/Test-AzEventHubName.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/Test-AzEventHubName.ps1 @@ -20,7 +20,7 @@ Checks availability of a namespace name or disaster recovery alias. #> function Test-AzEventHubName { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName = 'NamespaceAvailability', PositionalBinding = $false, ConfirmImpact = 'Medium')] param( [Parameter(Mandatory, ParameterSetName = 'AliasAvailability', HelpMessage = "The name of EventHub namespace")] diff --git a/src/EventHub/EventHub.Autorest/custom/autogen-model-cmdlets/New-AzEventHubKeyVaultPropertiesObject.ps1 b/src/EventHub/EventHub.Autorest/custom/autogen-model-cmdlets/New-AzEventHubKeyVaultPropertiesObject.ps1 index e6b7854ec3a3..5243da95a915 100644 --- a/src/EventHub/EventHub.Autorest/custom/autogen-model-cmdlets/New-AzEventHubKeyVaultPropertiesObject.ps1 +++ b/src/EventHub/EventHub.Autorest/custom/autogen-model-cmdlets/New-AzEventHubKeyVaultPropertiesObject.ps1 @@ -21,12 +21,12 @@ Create an in-memory object for KeyVaultProperties. Create an in-memory object for KeyVaultProperties. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties .Link https://learn.microsoft.com/powershell/module/Az.EventHub/new-AzEventHubKeyVaultPropertiesObject #> function New-AzEventHubKeyVaultPropertiesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -45,7 +45,7 @@ function New-AzEventHubKeyVaultPropertiesObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties]::New() if ($PSBoundParameters.ContainsKey('KeyName')) { $Object.KeyName = $KeyName diff --git a/src/EventHub/EventHub.Autorest/docs/Approve-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub.Autorest/docs/Approve-AzEventHubPrivateEndpointConnection.md index 1fdc98535e46..2ee5b5eb0a42 100644 --- a/src/EventHub/EventHub.Autorest/docs/Approve-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub.Autorest/docs/Approve-AzEventHubPrivateEndpointConnection.md @@ -215,7 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Deny-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub.Autorest/docs/Deny-AzEventHubPrivateEndpointConnection.md index 5ba21d7e7a35..714398ef7505 100644 --- a/src/EventHub/EventHub.Autorest/docs/Deny-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub.Autorest/docs/Deny-AzEventHubPrivateEndpointConnection.md @@ -217,7 +217,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHub.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHub.md index eb052fc62914..f34e57d20833 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHub.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHub.md @@ -218,7 +218,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubApplicationGroup.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubApplicationGroup.md index 129ff9a3511f..d70b5b2b2523 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubApplicationGroup.md @@ -174,7 +174,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubAuthorizationRule.md index 224274ea16de..c5a9b99477ad 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubAuthorizationRule.md @@ -206,7 +206,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubCluster.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubCluster.md index 93a86ebf2068..2900ef961e64 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubCluster.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubCluster.md @@ -149,7 +149,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClusterNamespace.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClusterNamespace.md index d965dda969c0..38e0e137c65d 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClusterNamespace.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClusterNamespace.md @@ -107,7 +107,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClustersAvailableRegion.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClustersAvailableRegion.md index 1f18fd10912b..d606418f43ff 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClustersAvailableRegion.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubClustersAvailableRegion.md @@ -70,7 +70,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubConsumerGroup.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubConsumerGroup.md index 854855b4dbd7..c96a0b587ed3 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubConsumerGroup.md @@ -209,7 +209,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubGeoDRConfiguration.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubGeoDRConfiguration.md index ff631a779e3e..d7c07fdaa376 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubGeoDRConfiguration.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubGeoDRConfiguration.md @@ -158,7 +158,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubKey.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubKey.md index 38e5bbf83211..c3e023a9aa1e 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubKey.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubKey.md @@ -214,7 +214,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNamespace.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNamespace.md index bf7fce973b0d..f1527fb266af 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNamespace.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNamespace.md @@ -186,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNetworkRuleSet.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNetworkRuleSet.md index a9739576071b..d9641a41050c 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNetworkRuleSet.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubNetworkRuleSet.md @@ -142,9 +142,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateEndpointConnection.md index a74ae418b369..1c2a45e3ca6b 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateEndpointConnection.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateLink.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateLink.md index c08407c4c89b..29d7fc01563c 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateLink.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateLink.md @@ -109,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubSchemaGroup.md b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubSchemaGroup.md index be877a1c4b56..36777f58ef66 100644 --- a/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubSchemaGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/Get-AzEventHubSchemaGroup.md @@ -196,7 +196,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHub.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHub.md index 7282d240c843..11ba417e7780 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHub.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHub.md @@ -16,10 +16,10 @@ Creates or updates a new Event Hub as a nested resource within a Namespace. New-AzEventHub -Name -NamespaceName -ResourceGroupName [-SubscriptionId ] [-ArchiveNameFormat ] [-BlobContainer ] [-CaptureEnabled] [-CleanupPolicy ] [-DestinationName ] - [-Encoding ] [-IntervalInSeconds ] [-PartitionCount ] - [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] [-Status ] - [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] [-DefaultProfile ] - [-Confirm] [-WhatIf] [] + [-Encoding ] [-IdentityType ] [-IntervalInSeconds ] + [-PartitionCount ] [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] + [-Status ] [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] + [-UserAssignedIdentityId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -254,6 +254,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IdentityType +Type of Azure Active Directory Managed Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IntervalInSeconds The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds @@ -332,7 +347,7 @@ Accept wildcard characters: False ### -RetentionTimeInHour Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. -If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue +If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ```yaml Type: System.Int64 @@ -424,7 +439,7 @@ Accept wildcard characters: False ### -TombstoneRetentionTimeInHour Number of hours to retain the tombstone markers of a compacted Event Hub. -This value is only used when cleanupPolicy is Compaction. +This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub ```yaml @@ -439,6 +454,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UserAssignedIdentityId +ARM ID of Managed User Identity. +This property is required is the type is UserAssignedIdentity. +If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -477,7 +509,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubApplicationGroup.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubApplicationGroup.md index 3e50be6cb131..bbb07e739155 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubApplicationGroup.md @@ -138,7 +138,7 @@ The policies can support resource governance scenarios such as limiting ingress To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Parameter Sets: (All) Aliases: @@ -218,7 +218,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubAuthorizationRule.md index 29e270c1b6ca..ac7a74f23522 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubAuthorizationRule.md @@ -237,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubCluster.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubCluster.md index 451233abb827..9572a54054ca 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubCluster.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubCluster.md @@ -257,7 +257,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubConsumerGroup.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubConsumerGroup.md index c723f81727bc..f7d46afe66b7 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubConsumerGroup.md @@ -190,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubGeoDRConfiguration.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubGeoDRConfiguration.md index 69e3367f60bd..0a4c9752774d 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubGeoDRConfiguration.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubGeoDRConfiguration.md @@ -190,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubIPRuleConfig.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubIPRuleConfig.md index b87dc5a42684..bf8db47e9f3b 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubIPRuleConfig.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubIPRuleConfig.md @@ -73,7 +73,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKey.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKey.md index 8d5cb0754825..2d93f9b9ebe9 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKey.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKey.md @@ -252,7 +252,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKeyVaultPropertiesObject.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKeyVaultPropertiesObject.md index bdb7c3a9d4ea..061575b653e7 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKeyVaultPropertiesObject.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubKeyVaultPropertiesObject.md @@ -100,7 +100,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubNamespace.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubNamespace.md index 773aff807f8d..201add0c63f9 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubNamespace.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubNamespace.md @@ -292,7 +292,7 @@ Properties to configure Encryption To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] Parameter Sets: (All) Aliases: @@ -542,7 +542,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubSchemaGroup.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubSchemaGroup.md index 20e8079337f3..216e4601cfb5 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubSchemaGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubSchemaGroup.md @@ -205,7 +205,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubThrottlingPolicyConfig.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubThrottlingPolicyConfig.md index 05ad52753119..16eafdafac8f 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubThrottlingPolicyConfig.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubThrottlingPolicyConfig.md @@ -89,7 +89,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubVirtualNetworkRuleConfig.md b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubVirtualNetworkRuleConfig.md index 2b2c29261164..98f804eec5e2 100644 --- a/src/EventHub/EventHub.Autorest/docs/New-AzEventHubVirtualNetworkRuleConfig.md +++ b/src/EventHub/EventHub.Autorest/docs/New-AzEventHubVirtualNetworkRuleConfig.md @@ -75,7 +75,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Remove-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub.Autorest/docs/Remove-AzEventHubAuthorizationRule.md index 31f7a1a8e859..ea5604fec3df 100644 --- a/src/EventHub/EventHub.Autorest/docs/Remove-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub.Autorest/docs/Remove-AzEventHubAuthorizationRule.md @@ -230,7 +230,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHub.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHub.md index 90f7e11014a6..89d0b691c3bf 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHub.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHub.md @@ -16,9 +16,10 @@ Updates an EventHub Entity ``` Set-AzEventHub -Name -NamespaceName -ResourceGroupName [-SubscriptionId ] [-ArchiveNameFormat ] [-BlobContainer ] [-CaptureEnabled] [-DestinationName ] - [-Encoding ] [-IntervalInSeconds ] [-RetentionTimeInHour ] - [-SizeLimitInBytes ] [-SkipEmptyArchive] [-Status ] [-StorageAccountResourceId ] - [-TombstoneRetentionTimeInHour ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [-Encoding ] [-IdentityType ] + [-IntervalInSeconds ] [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] + [-Status ] [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] + [-UserAssignedIdentityId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -26,9 +27,10 @@ Set-AzEventHub -Name -NamespaceName -ResourceGroupName [-ArchiveNameFormat ] [-BlobContainer ] [-CaptureEnabled] [-DestinationName ] [-Encoding ] - [-IntervalInSeconds ] [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] - [-Status ] [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-IdentityType ] [-IntervalInSeconds ] [-RetentionTimeInHour ] + [-SizeLimitInBytes ] [-SkipEmptyArchive] [-Status ] [-StorageAccountResourceId ] + [-TombstoneRetentionTimeInHour ] [-UserAssignedIdentityId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -233,6 +235,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IdentityType +Type of managed service identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Identity parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table. @@ -434,6 +451,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UserAssignedIdentityId +Properties for User Assigned Identities + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -474,7 +506,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubApplicationGroup.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubApplicationGroup.md index 04ce00d99c7e..1c148a269ad1 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubApplicationGroup.md @@ -234,7 +234,7 @@ The policies can support resource governance scenarios such as limiting ingress To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Parameter Sets: (All) Aliases: @@ -312,7 +312,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] ### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity @@ -322,7 +322,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubAuthorizationRule.md index 188acd6d331b..5deed60066a2 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubAuthorizationRule.md @@ -261,7 +261,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubCluster.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubCluster.md index 76064129eafb..d283c4fbc9e4 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubCluster.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubCluster.md @@ -253,7 +253,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubConsumerGroup.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubConsumerGroup.md index 7e23e4a764b0..1f0c8a05b9c3 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubConsumerGroup.md @@ -263,7 +263,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNamespace.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNamespace.md index e3cc5c952b81..e79d5f20de9d 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNamespace.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNamespace.md @@ -486,7 +486,7 @@ Properties to configure Encryption To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] Parameter Sets: (All) Aliases: @@ -692,7 +692,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNetworkRuleSet.md b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNetworkRuleSet.md index 033ec855b40f..6f3a33abde7b 100644 --- a/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNetworkRuleSet.md +++ b/src/EventHub/EventHub.Autorest/docs/Set-AzEventHubNetworkRuleSet.md @@ -188,7 +188,7 @@ List of IpRules To construct, see NOTES section for IPRULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] Parameter Sets: (All) Aliases: @@ -297,7 +297,7 @@ List of VirtualNetwork Rules To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] Parameter Sets: (All) Aliases: @@ -348,7 +348,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet ## NOTES diff --git a/src/EventHub/EventHub.Autorest/docs/Test-AzEventHubName.md b/src/EventHub/EventHub.Autorest/docs/Test-AzEventHubName.md index 4296938271a1..00e939857ed1 100644 --- a/src/EventHub/EventHub.Autorest/docs/Test-AzEventHubName.md +++ b/src/EventHub/EventHub.Autorest/docs/Test-AzEventHubName.md @@ -169,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult ## NOTES diff --git a/src/EventHub/EventHub.Autorest/exports/Approve-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/exports/Approve-AzEventHubPrivateEndpointConnection.ps1 index 4328447a47bd..70605e80ab5e 100644 --- a/src/EventHub/EventHub.Autorest/exports/Approve-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Approve-AzEventHubPrivateEndpointConnection.ps1 @@ -28,7 +28,7 @@ Approve-AzEventHubPrivateEndpointConnection -InputObject $privateEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -52,7 +52,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/approve-azeventhubprivateendpointconnection #> function Approve-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false)] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Deny-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/exports/Deny-AzEventHubPrivateEndpointConnection.ps1 index b9d43c1d2127..e9ca59771bed 100644 --- a/src/EventHub/EventHub.Autorest/exports/Deny-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Deny-AzEventHubPrivateEndpointConnection.ps1 @@ -28,7 +28,7 @@ Deny-AzEventHubPrivateEndpointConnection -InputObject $privateEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -52,7 +52,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/deny-azeventhubprivateendpointconnection #> function Deny-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false)] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHub.ps1 index 7d1b337c563c..2a792c058a93 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHub.ps1 @@ -27,7 +27,7 @@ Get-AzEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhub #> function Get-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubApplicationGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubApplicationGroup.ps1 index 921351192080..cf97d50c99ee 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubApplicationGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubApplicationGroup.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubApplicationGroup -ResourceGroupName myResourceGroup -NamespaceName .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubapplicationgroup #> function Get-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubAuthorizationRule.ps1 index 34eb2fe7bc05..7d263c6f10cf 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubauthorizationrule #> function Get-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='GetExpandedNamespace', PositionalBinding=$false)] param( [Parameter(ParameterSetName='GetExpandedNamespace', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubCluster.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubCluster.ps1 index 0b1f6658981a..d41f7990271e 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubCluster.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubCluster.ps1 @@ -25,7 +25,7 @@ Get-AzEventHubCluster -ResourceGroupName myResourceGroup -Name DefaultCluster-11 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubcluster #> function Get-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClusterNamespace.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClusterNamespace.ps1 index a70104743d83..f40deb87fe86 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClusterNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClusterNamespace.ps1 @@ -23,12 +23,12 @@ List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster. Get-AzEventHubClusterNamespace -ResourceGroupName myResourceGroup -ClusterName DefaultCluster-11 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubclusternamespace #> function Get-AzEventHubClusterNamespace { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClustersAvailableRegion.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClustersAvailableRegion.ps1 index c97eaf1f9aa7..4a2b53920b16 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClustersAvailableRegion.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubClustersAvailableRegion.ps1 @@ -23,12 +23,12 @@ List the quantity of available pre-provisioned Event Hubs Clusters, indexed by A Get-AzEventHubClustersAvailableRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubclustersavailableregion #> function Get-AzEventHubClustersAvailableRegion { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubConsumerGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubConsumerGroup.ps1 index f66ee3fbfae6..0394d94a8ea5 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubConsumerGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubConsumerGroup.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubConsumerGroup -NamespaceName myNamespace -ResourceGroupName myReso .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubconsumergroup #> function Get-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubGeoDRConfiguration.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubGeoDRConfiguration.ps1 index 118153709bc4..e1527927f3cd 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubGeoDRConfiguration.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubGeoDRConfiguration.ps1 @@ -25,7 +25,7 @@ Get-AzEventHubGeoDRConfiguration -ResourceGroupName myResourceGroup -NamespaceNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubgeodrconfiguration #> function Get-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubKey.ps1 index 3c59c1921a49..2a7e780942e9 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubKey.ps1 @@ -25,12 +25,12 @@ Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name RootManageSharedAccessKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubkey #> function Get-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='GetExpandedNamespace', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNamespace.ps1 index 97281864cfa5..fb042f5339f0 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNamespace.ps1 @@ -29,7 +29,7 @@ Get-AzEventHubNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespac #> function Get-AzEventHubNamespace { [Alias('Get-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNetworkRuleSet.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNetworkRuleSet.ps1 index dc5ef7fd87a3..c66613332201 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNetworkRuleSet.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubNetworkRuleSet.ps1 @@ -25,9 +25,9 @@ Get-AzEventHubNetworkRuleSet -ResourceGroupName myResourceGroup -NamespaceName m .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnetworkruleset #> function Get-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet], [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet], [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateEndpointConnection.ps1 index 958568fa7b0e..cf56713397d4 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateEndpointConnection.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -Name .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubprivateendpointconnection #> function Get-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateLink.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateLink.ps1 index 69ae56042cfd..f08639279158 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateLink.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubPrivateLink.ps1 @@ -23,12 +23,12 @@ Gets lists of resources that supports Privatelinks. Get-AzEventHubPrivateLink -ResourceGroupName myResourceGroup -NamespaceName myNamespace .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubprivatelink #> function Get-AzEventHubPrivateLink { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubSchemaGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubSchemaGroup.ps1 index c18805d3e9e4..7f06b7381436 100644 --- a/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubSchemaGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Get-AzEventHubSchemaGroup.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubschemagroup #> function Get-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHub.ps1 index b41cc203e859..243666af8469 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHub.ps1 @@ -27,12 +27,12 @@ New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace -CleanupPolicy Compact .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhub #> function New-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -104,6 +104,13 @@ param( # Note: 'AvroDeflate' will be deprecated in New API Version ${Encoding}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType])] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType] + # Type of Azure Active Directory Managed Identity. + ${IdentityType}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.Int32] @@ -121,7 +128,7 @@ param( [System.Int64] # Number of hours to retain the events for this Event Hub. # This value is only used when cleanupPolicy is Delete. - # If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue + # If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ${RetentionTimeInHour}, [Parameter()] @@ -153,10 +160,18 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.Int32] # Number of hours to retain the tombstone markers of a compacted Event Hub. - # This value is only used when cleanupPolicy is Compaction. + # This value is only used when cleanupPolicy is Compact. # Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub ${TombstoneRetentionTimeInHour}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.String] + # ARM ID of Managed User Identity. + # This property is required is the type is UserAssignedIdentity. + # If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. + ${UserAssignedIdentityId}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubApplicationGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubApplicationGroup.ps1 index fdb53954317f..8ddd6983a49d 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubApplicationGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubApplicationGroup.ps1 @@ -25,7 +25,7 @@ $t2 = New-AzEventHubThrottlingPolicyConfig -Name t2 -MetricId OutgoingBytes -Rat New-AzEventHubApplicationGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -Name myAppGroup -ClientAppGroupIdentifier NamespaceSASKeyName=a -Policy $t1,$t2 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -37,7 +37,7 @@ POLICY : List of group policies that define the behav https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubapplicationgroup #> function New-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -83,7 +83,7 @@ param( [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]] # List of group policies that define the behavior of application group. # The policies can support resource governance scenarios such as limiting ingress or egress traffic. # To construct, see NOTES section for POLICY properties and create a hash table. diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubAuthorizationRule.ps1 index 7183c09e090d..fde5d26dede8 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubAuthorizationRule.ps1 @@ -25,12 +25,12 @@ New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name myAuthRule -Rights @('Manage', 'Send', 'Listen') .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubauthorizationrule #> function New-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='NewExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubCluster.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubCluster.ps1 index a747cc04a2b8..55e6ed476be4 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubCluster.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubCluster.ps1 @@ -25,12 +25,12 @@ New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluste New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia" .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubcluster #> function New-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubConsumerGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubConsumerGroup.ps1 index 36d03f1286f0..7d9d8b1a774a 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubConsumerGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubConsumerGroup.ps1 @@ -23,12 +23,12 @@ Creates or updates an Event Hubs consumer group as a nested resource within a Na New-AzEventHubConsumerGroup -Name myConsumerGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -EventHubName myEventHub -UserMetadata "Test ConsumerGroup" .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubconsumergroup #> function New-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubGeoDRConfiguration.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubGeoDRConfiguration.ps1 index c6789899c84f..84a693a1237f 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubGeoDRConfiguration.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubGeoDRConfiguration.ps1 @@ -23,12 +23,12 @@ Creates or updates a new Alias(Disaster Recovery configuration) New-AzEventHubGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/mySecondaryNamespace .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubgeodrconfiguration #> function New-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubIPRuleConfig.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubIPRuleConfig.ps1 index fbed9c9b5fec..ea5f0c7be1a2 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubIPRuleConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubIPRuleConfig.ps1 @@ -23,12 +23,12 @@ Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHu New-AzEventHubIPRuleConfig -IPMask 3.3.3.3 -Action Allow .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubipruleconfig #> function New-AzEventHubIPRuleConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKey.ps1 index 5cafd622547a..5440f10b697b 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKey.ps1 @@ -25,12 +25,12 @@ New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name rootmanagesharedaccesskey -KeyType SecondaryKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubkey #> function New-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='NewExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKeyVaultPropertiesObject.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKeyVaultPropertiesObject.ps1 index 7b0008f5afbd..cc2176830613 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKeyVaultPropertiesObject.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubKeyVaultPropertiesObject.ps1 @@ -23,12 +23,12 @@ Create an in-memory object for KeyVaultProperties. New-AzEventHubKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties .Link https://learn.microsoft.com/powershell/module/Az.EventHub/new-AzEventHubKeyVaultPropertiesObject #> function New-AzEventHubKeyVaultPropertiesObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter()] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubNamespace.ps1 index 7e5be7d5a989..ab4f8be9ae83 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubNamespace.ps1 @@ -30,7 +30,7 @@ New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -Sk New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -SkuCapacity 10 -MaximumThroughputUnit 18 -SkuName Standard -Location southcentralus -Tag @{k1='v1'; k2='v2'} -EnableAutoInflate -DisableLocalAuth .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -46,7 +46,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespac #> function New-AzEventHubNamespace { [Alias('New-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -107,7 +107,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties to configure Encryption # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubSchemaGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubSchemaGroup.ps1 index ee95a6a6adfa..87c4d0797869 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubSchemaGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubSchemaGroup.ps1 @@ -23,12 +23,12 @@ Creates or Updates an EventHub schema group. $schemaGroup = New-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name mySchemaGroup -SchemaCompatibility Backward -SchemaType Avro .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubschemagroup #> function New-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -60,7 +60,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties]))] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties]))] [System.Collections.Hashtable] # dictionary object for SchemaGroup group properties ${GroupProperty}, diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubThrottlingPolicyConfig.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubThrottlingPolicyConfig.ps1 index 1f7b63afd718..6d98fd1a2141 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubThrottlingPolicyConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubThrottlingPolicyConfig.ps1 @@ -23,12 +23,12 @@ Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHu New-AzEventHubThrottlingPolicyConfig -Name t1 -RateLimitThreshold 10000 -MetricId IncomingBytes .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubthrottlingpolicyconfig #> function New-AzEventHubThrottlingPolicyConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubVirtualNetworkRuleConfig.ps1 b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubVirtualNetworkRuleConfig.ps1 index d2488ab1db7e..18d9ce5c275d 100644 --- a/src/EventHub/EventHub.Autorest/exports/New-AzEventHubVirtualNetworkRuleConfig.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/New-AzEventHubVirtualNetworkRuleConfig.ps1 @@ -23,12 +23,12 @@ Constructs an INwRuleSetVirtualNetworkRules object that can be fed as input to S New-AzEventHubVirtualNetworkRuleConfig -SubnetId /subscriptions/subscriptionId/resourcegroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/default .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubvirtualnetworkruleconfig #> function New-AzEventHubVirtualNetworkRuleConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/EventHub/EventHub.Autorest/exports/ProxyCmdletDefinitions.ps1 index 545a01217340..69a0ab531a92 100644 --- a/src/EventHub/EventHub.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubApplicationGroup -ResourceGroupName myResourceGroup -NamespaceName .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubapplicationgroup #> function Get-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -228,12 +228,12 @@ List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster. Get-AzEventHubClusterNamespace -ResourceGroupName myResourceGroup -ClusterName DefaultCluster-11 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubclusternamespace #> function Get-AzEventHubClusterNamespace { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -391,12 +391,12 @@ List the quantity of available pre-provisioned Event Hubs Clusters, indexed by A Get-AzEventHubClustersAvailableRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubclustersavailableregion #> function Get-AzEventHubClustersAvailableRegion { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -544,7 +544,7 @@ Get-AzEventHubCluster -ResourceGroupName myResourceGroup -Name DefaultCluster-11 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -568,7 +568,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubcluster #> function Get-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -744,7 +744,7 @@ Get-AzEventHubConsumerGroup -NamespaceName myNamespace -ResourceGroupName myReso .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -768,7 +768,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubconsumergroup #> function Get-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -967,7 +967,7 @@ Get-AzEventHubGeoDRConfiguration -ResourceGroupName myResourceGroup -NamespaceNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Notes COMPLEX PARAMETER PROPERTIES @@ -991,7 +991,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubgeodrconfiguration #> function Get-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1173,7 +1173,7 @@ Get-AzEventHubNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -1198,7 +1198,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespac #> function Get-AzEventHubNamespace { [Alias('Get-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1372,9 +1372,9 @@ Get-AzEventHubNetworkRuleSet -ResourceGroupName myResourceGroup -NamespaceName m .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult .Notes COMPLEX PARAMETER PROPERTIES @@ -1398,7 +1398,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnetworkruleset #> function Get-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet], [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet], [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1572,7 +1572,7 @@ Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -Name .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -1596,7 +1596,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubprivateendpointconnection #> function Get-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1773,12 +1773,12 @@ Gets lists of resources that supports Privatelinks. Get-AzEventHubPrivateLink -ResourceGroupName myResourceGroup -NamespaceName myNamespace .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubprivatelink #> function Get-AzEventHubPrivateLink { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -1940,7 +1940,7 @@ Get-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -1964,7 +1964,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubschemagroup #> function Get-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2158,7 +2158,7 @@ Get-AzEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -2182,7 +2182,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhub #> function Get-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2374,7 +2374,7 @@ $t2 = New-AzEventHubThrottlingPolicyConfig -Name t2 -MetricId OutgoingBytes -Rat New-AzEventHubApplicationGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -Name myAppGroup -ClientAppGroupIdentifier NamespaceSASKeyName=a -Policy $t1,$t2 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -2386,7 +2386,7 @@ POLICY : List of group policies that define the behav https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubapplicationgroup #> function New-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2432,7 +2432,7 @@ param( [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]] # List of group policies that define the behavior of application group. # The policies can support resource governance scenarios such as limiting ingress or egress traffic. # To construct, see NOTES section for POLICY properties and create a hash table. @@ -2575,12 +2575,12 @@ New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluste New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia" .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubcluster #> function New-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2780,12 +2780,12 @@ Creates or updates an Event Hubs consumer group as a nested resource within a Na New-AzEventHubConsumerGroup -Name myConsumerGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -EventHubName myEventHub -UserMetadata "Test ConsumerGroup" .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubconsumergroup #> function New-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2964,12 +2964,12 @@ Creates or updates a new Alias(Disaster Recovery configuration) New-AzEventHubGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/mySecondaryNamespace .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubgeodrconfiguration #> function New-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3145,12 +3145,12 @@ Creates or Updates an EventHub schema group. $schemaGroup = New-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name mySchemaGroup -SchemaCompatibility Backward -SchemaType Avro .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubschemagroup #> function New-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3182,7 +3182,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties]))] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties]))] [System.Collections.Hashtable] # dictionary object for SchemaGroup group properties ${GroupProperty}, @@ -3340,12 +3340,12 @@ New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace -CleanupPolicy Compact .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhub #> function New-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3417,6 +3417,13 @@ param( # Note: 'AvroDeflate' will be deprecated in New API Version ${Encoding}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType])] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType] + # Type of Azure Active Directory Managed Identity. + ${IdentityType}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.Int32] @@ -3434,7 +3441,7 @@ param( [System.Int64] # Number of hours to retain the events for this Event Hub. # This value is only used when cleanupPolicy is Delete. - # If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue + # If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ${RetentionTimeInHour}, [Parameter()] @@ -3466,10 +3473,18 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.Int32] # Number of hours to retain the tombstone markers of a compacted Event Hub. - # This value is only used when cleanupPolicy is Compaction. + # This value is only used when cleanupPolicy is Compact. # Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub ${TombstoneRetentionTimeInHour}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.String] + # ARM ID of Managed User Identity. + # This property is required is the type is UserAssignedIdentity. + # If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. + ${UserAssignedIdentityId}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5289,7 +5304,7 @@ Approve-AzEventHubPrivateEndpointConnection -InputObject $privateEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -5313,7 +5328,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/approve-azeventhubprivateendpointconnection #> function Approve-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false)] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -5507,7 +5522,7 @@ Deny-AzEventHubPrivateEndpointConnection -InputObject $privateEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -5531,7 +5546,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/deny-azeventhubprivateendpointconnection #> function Deny-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false)] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -5724,7 +5739,7 @@ Get-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -5748,7 +5763,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubauthorizationrule #> function Get-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='GetExpandedNamespace', PositionalBinding=$false)] param( [Parameter(ParameterSetName='GetExpandedNamespace', Mandatory)] @@ -5944,12 +5959,12 @@ Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name RootManageSharedAccessKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubkey #> function Get-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='GetExpandedNamespace', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6141,12 +6156,12 @@ New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name myAuthRule -Rights @('Manage', 'Send', 'Listen') .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubauthorizationrule #> function New-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='NewExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -6335,12 +6350,12 @@ Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHu New-AzEventHubIPRuleConfig -IPMask 3.3.3.3 -Action Allow .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubipruleconfig #> function New-AzEventHubIPRuleConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6441,12 +6456,12 @@ New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name rootmanagesharedaccesskey -KeyType SecondaryKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubkey #> function New-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='NewExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -6642,12 +6657,12 @@ Create an in-memory object for KeyVaultProperties. New-AzEventHubKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties .Link https://learn.microsoft.com/powershell/module/Az.EventHub/new-AzEventHubKeyVaultPropertiesObject #> function New-AzEventHubKeyVaultPropertiesObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter()] @@ -6765,7 +6780,7 @@ New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -Sk New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -SkuCapacity 10 -MaximumThroughputUnit 18 -SkuName Standard -Location southcentralus -Tag @{k1='v1'; k2='v2'} -EnableAutoInflate -DisableLocalAuth .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -6781,7 +6796,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespac #> function New-AzEventHubNamespace { [Alias('New-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -6842,7 +6857,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties to configure Encryption # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, @@ -7052,12 +7067,12 @@ Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHu New-AzEventHubThrottlingPolicyConfig -Name t1 -RateLimitThreshold 10000 -MetricId IncomingBytes .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubthrottlingpolicyconfig #> function New-AzEventHubThrottlingPolicyConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -7162,12 +7177,12 @@ Constructs an INwRuleSetVirtualNetworkRules object that can be fed as input to S New-AzEventHubVirtualNetworkRuleConfig -SubnetId /subscriptions/subscriptionId/resourcegroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/default .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubvirtualnetworkruleconfig #> function New-AzEventHubVirtualNetworkRuleConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -7270,7 +7285,7 @@ Remove-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -Namespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -7294,7 +7309,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/remove-azeventhubauthorizationrule #> function Remove-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='RemoveExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RemoveExpandedNamespace', Mandatory)] @@ -7494,7 +7509,7 @@ Set-AzEventHub -InputObject $eventhub -RetentionTimeInHour 72 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -7518,7 +7533,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhub #> function Set-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -7614,6 +7629,18 @@ param( # Name for capture destination ${DestinationName}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + # Type of managed service identity. + ${IdentityType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.String] + # Properties for User Assigned Identities + ${UserAssignedIdentityId}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.String] @@ -7788,7 +7815,7 @@ $appGroup = Get-AzEventHubApplicationGroup -ResourceGroupName myResourceGroup -N Set-AzEventHubApplicationGroup -InputObject $appGroup -IsEnabled:$false .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Inputs @@ -7796,7 +7823,7 @@ System.Management.Automation.SwitchParameter .Inputs System.String .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -7823,7 +7850,7 @@ POLICY : List of group policies that define the behav https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubapplicationgroup #> function Set-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -7875,7 +7902,7 @@ param( [Parameter(ValueFromPipelineByPropertyName)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]] # List of group policies that define the behavior of application group. # The policies can support resource governance scenarios such as limiting ingress or egress traffic. # To construct, see NOTES section for POLICY properties and create a hash table. @@ -8032,7 +8059,7 @@ Set-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -8056,7 +8083,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubauthorizationrule #> function Set-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='SetExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpandedNamespace', Mandatory)] @@ -8262,7 +8289,7 @@ Set-AzEventHubCluster -InputObject $cluster -Capacity 3 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -8289,7 +8316,7 @@ TAG : Resource tags. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubcluster #> function Set-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -8485,7 +8512,7 @@ Set-AzEventHubConsumerGroup -InputObject $consumerGroup -UserMetadata "Example M .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -8509,7 +8536,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubconsumergroup #> function Set-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -9153,7 +9180,7 @@ $eventHubNamespace = Set-AzEventHubNamespace -ResourceGroupName myResourceGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -9184,7 +9211,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubnamespac #> function Set-AzEventHubNamespace { [Alias('Set-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -9228,7 +9255,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties to configure Encryption # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, @@ -9449,7 +9476,7 @@ Set-AzEventHubNetworkRuleSet -ResourceGroupName myResourceGroup -NamespaceName m .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Notes COMPLEX PARAMETER PROPERTIES @@ -9481,7 +9508,7 @@ VIRTUALNETWORKRULE : List of VirtualNetwork Rul https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubnetworkruleset #> function Set-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -9533,14 +9560,14 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]] # List of IpRules # To construct, see NOTES section for IPRULE properties and create a hash table. ${IPRule}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]] # List of VirtualNetwork Rules # To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ${VirtualNetworkRule}, @@ -9694,12 +9721,12 @@ Test-AzEventHubName -NamespaceName myNamespace Test-AzEventHubName -NamespaceName myNamespace -ResourceGroupName myResourceGroup -AliasName myAlias .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Link https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubname #> function Test-AzEventHubName { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='NamespaceAvailability', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Remove-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/exports/Remove-AzEventHubAuthorizationRule.ps1 index 3854af66a32b..9d6901e4226c 100644 --- a/src/EventHub/EventHub.Autorest/exports/Remove-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Remove-AzEventHubAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Remove-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -Namespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/remove-azeventhubauthorizationrule #> function Remove-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='RemoveExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RemoveExpandedNamespace', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHub.ps1 index 5fe79cd3f036..eb5a817e272c 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHub.ps1 @@ -28,7 +28,7 @@ Set-AzEventHub -InputObject $eventhub -RetentionTimeInHour 72 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -52,7 +52,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhub #> function Set-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -148,6 +148,18 @@ param( # Name for capture destination ${DestinationName}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType] + # Type of managed service identity. + ${IdentityType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.String] + # Properties for User Assigned Identities + ${UserAssignedIdentityId}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] [System.String] diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubApplicationGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubApplicationGroup.ps1 index dfd63cbdbdd5..2212aa900ae5 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubApplicationGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubApplicationGroup.ps1 @@ -29,7 +29,7 @@ $appGroup = Get-AzEventHubApplicationGroup -ResourceGroupName myResourceGroup -N Set-AzEventHubApplicationGroup -InputObject $appGroup -IsEnabled:$false .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Inputs @@ -37,7 +37,7 @@ System.Management.Automation.SwitchParameter .Inputs System.String .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -64,7 +64,7 @@ POLICY : List of group policies that define the behav https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubapplicationgroup #> function Set-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -116,7 +116,7 @@ param( [Parameter(ValueFromPipelineByPropertyName)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]] # List of group policies that define the behavior of application group. # The policies can support resource governance scenarios such as limiting ingress or egress traffic. # To construct, see NOTES section for POLICY properties and create a hash table. diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubAuthorizationRule.ps1 index 002aa0413a0f..1792400665ff 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Set-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubauthorizationrule #> function Set-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='SetExpandedNamespace', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpandedNamespace', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubCluster.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubCluster.ps1 index 2f11f1f2b199..5f57588b9886 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubCluster.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubCluster.ps1 @@ -28,7 +28,7 @@ Set-AzEventHubCluster -InputObject $cluster -Capacity 3 .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -55,7 +55,7 @@ TAG : Resource tags. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubcluster #> function Set-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubConsumerGroup.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubConsumerGroup.ps1 index 6533d48d7774..1dd28d113eb1 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubConsumerGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubConsumerGroup.ps1 @@ -28,7 +28,7 @@ Set-AzEventHubConsumerGroup -InputObject $consumerGroup -UserMetadata "Example M .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -52,7 +52,7 @@ INPUTOBJECT : Identity parameter. https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubconsumergroup #> function Set-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNamespace.ps1 index fb9e71d58e33..ff4e283800c7 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNamespace.ps1 @@ -51,7 +51,7 @@ $eventHubNamespace = Set-AzEventHubNamespace -ResourceGroupName myResourceGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES @@ -82,7 +82,7 @@ https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubnamespac #> function Set-AzEventHubNamespace { [Alias('Set-AzEventHubNamespaceV2')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -126,7 +126,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties to configure Encryption # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, diff --git a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNetworkRuleSet.ps1 b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNetworkRuleSet.ps1 index 08f7438c6218..ac90d27086e4 100644 --- a/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNetworkRuleSet.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Set-AzEventHubNetworkRuleSet.ps1 @@ -34,7 +34,7 @@ Set-AzEventHubNetworkRuleSet -ResourceGroupName myResourceGroup -NamespaceName m .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Notes COMPLEX PARAMETER PROPERTIES @@ -66,7 +66,7 @@ VIRTUALNETWORKRULE : List of VirtualNetwork Rul https://learn.microsoft.com/powershell/module/az.eventhub/set-azeventhubnetworkruleset #> function Set-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='SetExpanded', Mandatory)] @@ -118,14 +118,14 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]] # List of IpRules # To construct, see NOTES section for IPRULE properties and create a hash table. ${IPRule}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]] # List of VirtualNetwork Rules # To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ${VirtualNetworkRule}, diff --git a/src/EventHub/EventHub.Autorest/exports/Test-AzEventHubName.ps1 b/src/EventHub/EventHub.Autorest/exports/Test-AzEventHubName.ps1 index 2fdc9ba9e15a..b03a79cf78f9 100644 --- a/src/EventHub/EventHub.Autorest/exports/Test-AzEventHubName.ps1 +++ b/src/EventHub/EventHub.Autorest/exports/Test-AzEventHubName.ps1 @@ -25,12 +25,12 @@ Test-AzEventHubName -NamespaceName myNamespace Test-AzEventHubName -NamespaceName myNamespace -ResourceGroupName myResourceGroup -AliasName myAlias .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Link https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubname #> function Test-AzEventHubName { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='NamespaceAvailability', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/generate-info.json b/src/EventHub/EventHub.Autorest/generate-info.json index c4ff06a02469..9af81100aed6 100644 --- a/src/EventHub/EventHub.Autorest/generate-info.json +++ b/src/EventHub/EventHub.Autorest/generate-info.json @@ -1,8 +1,8 @@ { - "autorest_core": "3.9.5", - "swagger_commit": "1c3433247689aa55d7ecdd213505dc28c035f2b9", - "autorest": "`-- (empty)", "autorest_modelerfour": "4.15.414", + "autorest": "`-- (empty)", + "autorest_powershell": "3.0.505", + "autorest_core": "3.9.7", "node": "v14.15.5", - "autorest_powershell": "3.0.504" + "swagger_commit": "7f70e351393addbc31d790a908c994c7c8644d9c" } diff --git a/src/EventHub/EventHub.Autorest/generated/api/EventHub.cs b/src/EventHub/EventHub.Autorest/generated/api/EventHub.cs index 3a99b98af19f..b123a2a19ced 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/EventHub.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/EventHub.cs @@ -29,9 +29,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -77,9 +77,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -139,7 +139,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -157,7 +157,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -192,7 +192,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup_Validate(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ApplicationGroupCreateOrUpdateApplicationGroup_Validate(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -202,6 +202,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(applicationGroupName),applicationGroupName); await eventListener.AssertMinimumLength(nameof(applicationGroupName),applicationGroupName,1); await eventListener.AssertMaximumLength(nameof(applicationGroupName),applicationGroupName,256); @@ -228,7 +229,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ApplicationGroupDelete(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -272,7 +273,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ApplicationGroupDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -395,6 +396,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(applicationGroupName),applicationGroupName); await eventListener.AssertMinimumLength(nameof(applicationGroupName),applicationGroupName,1); await eventListener.AssertMaximumLength(nameof(applicationGroupName),applicationGroupName,256); @@ -416,9 +418,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupGet(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupGet(string resourceGroupName, string namespaceName, string applicationGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -459,9 +461,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -515,7 +517,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ApplicationGroupGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ApplicationGroupGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -533,7 +535,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -577,6 +579,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(applicationGroupName),applicationGroupName); await eventListener.AssertMinimumLength(nameof(applicationGroupName),applicationGroupName,1); await eventListener.AssertMaximumLength(nameof(applicationGroupName),applicationGroupName,256); @@ -597,9 +600,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -639,9 +642,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ApplicationGroupListByNamespaceViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ApplicationGroupListByNamespaceViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -693,7 +696,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ApplicationGroupListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ApplicationGroupListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -711,7 +714,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -754,6 +757,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -772,9 +776,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -818,9 +822,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -875,7 +879,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -992,7 +996,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1026,7 +1030,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1058,7 +1062,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ClustersDelete(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1100,7 +1104,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ClustersDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1336,9 +1340,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGet(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGet(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1377,9 +1381,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1430,7 +1434,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1448,7 +1452,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1508,9 +1512,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegion(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegion(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1548,9 +1552,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1596,7 +1600,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegion_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListAvailableClusterRegion_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1614,7 +1618,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AvailableClustersList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AvailableClustersList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1665,9 +1669,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1705,9 +1709,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1756,7 +1760,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1774,7 +1778,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1828,9 +1832,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1866,9 +1870,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1914,7 +1918,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1932,7 +1936,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1984,9 +1988,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListNamespaces(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListNamespaces(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2026,9 +2030,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListNamespacesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListNamespacesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2080,7 +2084,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListNamespaces_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListNamespaces_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2098,7 +2102,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceIdListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceIdListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2161,9 +2165,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2209,9 +2213,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2266,7 +2270,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2383,7 +2387,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2417,7 +2421,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2451,9 +2455,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2503,9 +2507,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2566,7 +2570,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2584,7 +2588,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2620,7 +2624,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ConsumerGroupsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2630,6 +2634,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -2660,7 +2665,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ConsumerGroupsDelete(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2706,7 +2711,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task ConsumerGroupsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2833,6 +2838,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -2858,9 +2864,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsGet(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsGet(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2903,9 +2909,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2962,7 +2968,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ConsumerGroupsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ConsumerGroupsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2980,7 +2986,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3025,6 +3031,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -3055,9 +3062,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHub(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHub(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3109,9 +3116,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHubViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHubViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3170,7 +3177,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHub_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ConsumerGroupsListByEventHub_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3188,7 +3195,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3236,6 +3243,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -3264,7 +3272,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsBreakPairing(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3310,7 +3318,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsBreakPairingViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3427,6 +3435,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -3448,9 +3457,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3495,9 +3504,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3555,7 +3564,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3573,7 +3582,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3607,7 +3616,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability_Validate(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCheckNameAvailability_Validate(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3618,6 +3627,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -3639,9 +3649,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate(string resourceGroupName, string namespaceName, string alias, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate(string resourceGroupName, string namespaceName, string alias, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3688,9 +3698,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3751,7 +3761,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3769,13 +3779,13 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Created: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3810,7 +3820,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string alias, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string alias, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3820,6 +3830,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -3846,7 +3857,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsDelete(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3890,7 +3901,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4013,6 +4024,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -4038,7 +4050,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsFailOver(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4084,7 +4096,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsFailOverViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4201,6 +4213,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -4224,9 +4237,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGet(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGet(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4272,9 +4285,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRule(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRule(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4317,9 +4330,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4378,7 +4391,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4396,7 +4409,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4441,6 +4454,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -4462,9 +4476,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4518,7 +4532,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4536,7 +4550,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecovery.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4580,6 +4594,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -4600,9 +4615,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4646,9 +4661,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRules(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRules(string resourceGroupName, string namespaceName, string alias, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4690,9 +4705,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4749,7 +4764,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4767,7 +4782,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4811,6 +4826,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -4833,9 +4849,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeys(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeys(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4879,9 +4895,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4939,7 +4955,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4957,7 +4973,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5002,6 +5018,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(alias),alias); await eventListener.AssertMinimumLength(nameof(alias),alias,1); await eventListener.AssertMaximumLength(nameof(alias),alias,50); @@ -5021,9 +5038,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DisasterRecoveryConfigsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5075,7 +5092,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DisasterRecoveryConfigsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5093,7 +5110,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5136,6 +5153,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -5155,9 +5173,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5211,9 +5229,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5264,9 +5282,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRuleViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRuleViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5329,7 +5347,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5347,7 +5365,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5383,7 +5401,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule_Validate(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateAuthorizationRule_Validate(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5393,6 +5411,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -5415,9 +5434,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5475,7 +5494,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5493,7 +5512,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Eventhub.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Eventhub.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5528,7 +5547,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task EventHubsCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5538,6 +5557,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -5564,7 +5584,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task EventHubsDelete(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5613,7 +5633,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task EventHubsDeleteAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5659,7 +5679,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task EventHubsDeleteAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5786,6 +5806,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -5808,7 +5829,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task EventHubsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5931,6 +5952,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -5952,9 +5974,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsGet(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsGet(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6000,9 +6022,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6045,9 +6067,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6104,7 +6126,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6122,7 +6144,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6167,6 +6189,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -6186,9 +6209,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6242,7 +6265,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6260,7 +6283,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Eventhub.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Eventhub.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6304,6 +6327,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -6325,9 +6349,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListAuthorizationRules(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListAuthorizationRules(string resourceGroupName, string namespaceName, string eventHubName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6369,9 +6393,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6426,7 +6450,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6444,7 +6468,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6488,6 +6512,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -6512,9 +6537,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6562,9 +6587,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListByNamespaceViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListByNamespaceViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6620,7 +6645,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6638,7 +6663,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventHubListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventHubListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6685,6 +6710,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertIsLessThanOrEqual(nameof(Skip),Skip,1000); await eventListener.AssertIsGreaterThanOrEqual(nameof(Top),Top,1); @@ -6707,9 +6733,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6753,9 +6779,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6813,7 +6839,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6831,7 +6857,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6876,6 +6902,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -6901,9 +6928,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsRegenerateKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsRegenerateKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6952,9 +6979,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EventHubsRegenerateKeysViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EventHubsRegenerateKeysViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7016,7 +7043,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsRegenerateKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EventHubsRegenerateKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7034,7 +7061,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -7070,7 +7097,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EventHubsRegenerateKeys_Validate(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task EventHubsRegenerateKeys_Validate(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7080,6 +7107,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(eventHubName),eventHubName); await eventListener.AssertMinimumLength(nameof(eventHubName),eventHubName,1); await eventListener.AssertMaximumLength(nameof(eventHubName),eventHubName,256); @@ -7103,9 +7131,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7146,9 +7174,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7198,7 +7226,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7216,7 +7244,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -7248,7 +7276,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesCheckNameAvailability_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7274,9 +7302,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7324,9 +7352,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7372,9 +7400,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRuleViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRuleViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7434,7 +7462,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7452,7 +7480,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -7487,7 +7515,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule_Validate(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateAuthorizationRule_Validate(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7497,6 +7525,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(authorizationRuleName),authorizationRuleName); await eventListener.AssertMinimumLength(nameof(authorizationRuleName),authorizationRuleName,1); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); @@ -7519,9 +7548,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7566,9 +7595,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSetViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSetViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7626,7 +7655,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7644,7 +7673,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSet.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSet.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -7678,7 +7707,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateNetworkRuleSet_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7688,6 +7717,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -7707,9 +7737,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7764,7 +7794,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7881,7 +7911,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -7915,7 +7945,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7925,6 +7955,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -7949,7 +7980,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NamespacesDelete(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7995,7 +8026,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NamespacesDeleteAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8039,7 +8070,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NamespacesDeleteAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8162,6 +8193,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(authorizationRuleName),authorizationRuleName); await eventListener.AssertMinimumLength(nameof(authorizationRuleName),authorizationRuleName,1); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); @@ -8183,7 +8215,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NamespacesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8402,10 +8434,290 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } + /// GeoDR Failover + /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// Name of the resource group within the azure subscription. + /// The Namespace name + /// Parameters for updating a namespace resource. + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task NamespacesFailover(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-01-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.EventHub/namespaces/" + + global::System.Uri.EscapeDataString(namespaceName) + + "/failover" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.NamespacesFailover_Call(request,onDefault,eventListener,sender); + } + } + + /// GeoDR Failover + /// + /// Parameters for updating a namespace resource. + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task NamespacesFailoverViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver body, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-01-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.EventHub/namespaces/(?[^/]+)/failover$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/failover'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var namespaceName = _match.Groups["namespaceName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.EventHub/namespaces/" + + namespaceName + + "/failover" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.NamespacesFailover_Call(request,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task NamespacesFailover_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorResponseAutoGenerated.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// Name of the resource group within the azure subscription. + /// The Namespace name + /// Parameters for updating a namespace resource. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task NamespacesFailover_Validate(string subscriptionId, string resourceGroupName, string namespaceName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); + await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); + await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + /// Gets the description of the specified namespace. /// Name of the resource group within the azure subscription. /// The Namespace name @@ -8419,9 +8731,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8464,9 +8776,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8507,9 +8819,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRuleViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8563,7 +8875,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesGetAuthorizationRule_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8581,7 +8893,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -8625,6 +8937,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(authorizationRuleName),authorizationRuleName); await eventListener.AssertMinimumLength(nameof(authorizationRuleName),authorizationRuleName,1); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); @@ -8644,9 +8957,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8686,9 +8999,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8740,7 +9053,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesGetNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8758,7 +9071,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSet.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSet.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -8801,6 +9114,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -8815,9 +9129,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8868,7 +9182,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8886,7 +9200,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -8929,6 +9243,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -8946,9 +9261,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8987,9 +9302,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListAuthorizationRules(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListAuthorizationRules(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9029,9 +9344,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListAuthorizationRulesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9083,7 +9398,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesListAuthorizationRules_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9101,7 +9416,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9144,6 +9459,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -9160,9 +9476,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListByResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListByResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9200,9 +9516,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9251,7 +9567,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9269,7 +9585,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9326,9 +9642,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9370,9 +9686,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListKeysViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9427,7 +9743,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesListKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9445,7 +9761,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9489,6 +9805,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(authorizationRuleName),authorizationRuleName); await eventListener.AssertMinimumLength(nameof(authorizationRuleName),authorizationRuleName,1); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); @@ -9508,9 +9825,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9550,9 +9867,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9604,7 +9921,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesListNetworkRuleSet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9622,7 +9939,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9665,6 +9982,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -9681,9 +9999,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9729,7 +10047,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9747,7 +10065,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9803,9 +10121,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesRegenerateKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesRegenerateKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9854,9 +10172,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesRegenerateKeysViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesRegenerateKeysViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9915,7 +10233,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesRegenerateKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesRegenerateKeys_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9933,7 +10251,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AccessKeys.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -9968,7 +10286,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesRegenerateKeys_Validate(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesRegenerateKeys_Validate(string resourceGroupName, string namespaceName, string authorizationRuleName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -9978,6 +10296,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(authorizationRuleName),authorizationRuleName); await eventListener.AssertMinimumLength(nameof(authorizationRuleName),authorizationRuleName,1); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); @@ -10004,9 +10323,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesUpdate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesUpdate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10054,9 +10373,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NamespacesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NamespacesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10113,7 +10432,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NamespacesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10131,13 +10450,13 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Created: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -10177,7 +10496,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NamespacesUpdate_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task NamespacesUpdate_Validate(string resourceGroupName, string namespaceName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10187,6 +10506,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -10206,9 +10526,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10248,9 +10568,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10304,7 +10624,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10322,7 +10642,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10365,6 +10685,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -10385,7 +10706,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsCreateOrUpdate(string subscriptionId, string resourceGroupName, string namespaceName, string resourceAssociationName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10429,7 +10750,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task NetworkSecurityPerimeterConfigurationsCreateOrUpdateViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10649,6 +10970,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(resourceAssociationName),resourceAssociationName); } } @@ -10662,9 +10984,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10698,9 +11020,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10743,7 +11065,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10761,7 +11083,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10815,9 +11137,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10865,9 +11187,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10929,7 +11251,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10947,19 +11269,19 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Created: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onAccepted(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onAccepted(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -10994,7 +11316,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -11005,6 +11327,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -11030,7 +11353,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete(string resourceGroupName, string namespaceName, string subscriptionId, string privateEndpointConnectionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11076,7 +11399,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11299,6 +11622,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); } @@ -11318,9 +11642,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string resourceGroupName, string namespaceName, string privateEndpointConnectionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string resourceGroupName, string namespaceName, string privateEndpointConnectionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11361,9 +11685,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11417,7 +11741,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11435,7 +11759,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -11479,6 +11803,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(privateEndpointConnectionName),privateEndpointConnectionName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } @@ -11497,9 +11822,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsList(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11539,9 +11864,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11593,7 +11918,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateEndpointConnectionsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11611,7 +11936,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -11654,6 +11979,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -11671,9 +11997,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesGet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesGet(string resourceGroupName, string namespaceName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11713,9 +12039,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task PrivateLinkResourcesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task PrivateLinkResourcesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11767,7 +12093,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task PrivateLinkResourcesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11785,7 +12111,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourcesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourcesListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -11828,6 +12154,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } @@ -11847,9 +12174,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11895,9 +12222,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11955,7 +12282,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11973,7 +12300,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -12008,7 +12335,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task SchemaRegistryCreateOrUpdate_Validate(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -12018,6 +12345,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(schemaGroupName),schemaGroupName); await eventListener.AssertMinimumLength(nameof(schemaGroupName),schemaGroupName,1); await eventListener.AssertMaximumLength(nameof(schemaGroupName),schemaGroupName,256); @@ -12044,7 +12372,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task SchemaRegistryDelete(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12088,7 +12416,7 @@ public partial class EventHub /// public async global::System.Threading.Tasks.Task SchemaRegistryDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12211,6 +12539,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(schemaGroupName),schemaGroupName); await eventListener.AssertMinimumLength(nameof(schemaGroupName),schemaGroupName,1); await eventListener.AssertMaximumLength(nameof(schemaGroupName),schemaGroupName,256); @@ -12232,9 +12561,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryGet(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryGet(string resourceGroupName, string namespaceName, string schemaGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12275,9 +12604,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12331,7 +12660,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SchemaRegistryGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task SchemaRegistryGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12349,7 +12678,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroup.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -12393,6 +12722,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(schemaGroupName),schemaGroupName); await eventListener.AssertMinimumLength(nameof(schemaGroupName),schemaGroupName,1); await eventListener.AssertMaximumLength(nameof(schemaGroupName),schemaGroupName,256); @@ -12417,9 +12747,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryListByNamespace(string resourceGroupName, string namespaceName, string subscriptionId, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12467,9 +12797,9 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task SchemaRegistryListByNamespaceViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task SchemaRegistryListByNamespaceViaIdentity(global::System.String viaIdentity, int? Skip, int? Top, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { - var apiVersion = @"2022-10-01-preview"; + var apiVersion = @"2023-01-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12525,7 +12855,7 @@ public partial class EventHub /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task SchemaRegistryListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task SchemaRegistryListByNamespace_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12543,7 +12873,7 @@ public partial class EventHub case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -12590,6 +12920,7 @@ public partial class EventHub await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); await eventListener.AssertMinimumLength(nameof(namespaceName),namespaceName,6); await eventListener.AssertMaximumLength(nameof(namespaceName),namespaceName,50); + await eventListener.AssertRegEx(nameof(namespaceName),namespaceName,@"^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$"); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertIsLessThanOrEqual(nameof(Skip),Skip,1000); await eventListener.AssertIsGreaterThanOrEqual(nameof(Top),Top,1); diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.PowerShell.cs new file mode 100644 index 000000000000..f963ac753437 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.PowerShell.cs @@ -0,0 +1,196 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// The error detail. + [System.ComponentModel.TypeConverter(typeof(ErrorDetailAutoGeneratedTypeConverter))] + public partial class ErrorDetailAutoGenerated + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ErrorDetailAutoGenerated(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ErrorDetailAutoGenerated(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ErrorDetailAutoGenerated(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ErrorDetailAutoGenerated(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// The error detail. + [System.ComponentModel.TypeConverter(typeof(ErrorDetailAutoGeneratedTypeConverter))] + public partial interface IErrorDetailAutoGenerated + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.TypeConverter.cs new file mode 100644 index 000000000000..ebff1daba18b --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ErrorDetailAutoGeneratedTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ErrorDetailAutoGenerated.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ErrorDetailAutoGenerated.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ErrorDetailAutoGenerated.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.cs new file mode 100644 index 000000000000..14da26bf8706 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.cs @@ -0,0 +1,135 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// The error detail. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class ErrorDetailAutoGenerated : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] _additionalInfo; + + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get => this._additionalInfo; } + + /// Backing field for property. + private string _code; + + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string Code { get => this._code; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] _detail; + + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get => this._detail; } + + /// Backing field for property. + private string _message; + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string Message { get => this._message; } + + /// Internal Acessors for AdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } + + /// Internal Acessors for Code + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal.Code { get => this._code; set { {_code = value;} } } + + /// Internal Acessors for Detail + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal.Detail { get => this._detail; set { {_detail = value;} } } + + /// Internal Acessors for Message + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal.Message { get => this._message; set { {_message = value;} } } + + /// Internal Acessors for Target + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal.Target { get => this._target; set { {_target = value;} } } + + /// Backing field for property. + private string _target; + + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string Target { get => this._target; } + + /// Creates an new instance. + public ErrorDetailAutoGenerated() + { + + } + } + /// The error detail. + public partial interface IErrorDetailAutoGenerated : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error additional info.", + SerializedName = @"additionalInfo", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get; } + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error code.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; } + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error details.", + SerializedName = @"details", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; } + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error target.", + SerializedName = @"target", + PossibleTypes = new [] { typeof(string) })] + string Target { get; } + + } + /// The error detail. + internal partial interface IErrorDetailAutoGeneratedInternal + + { + /// The error additional info. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + /// The error code. + string Code { get; set; } + /// The error details. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get; set; } + /// The error message. + string Message { get; set; } + /// The error target. + string Target { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.json.cs new file mode 100644 index 000000000000..47f86953b1c5 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorDetailAutoGenerated.json.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// The error detail. + public partial class ErrorDetailAutoGenerated + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal ErrorDetailAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGenerated.FromJson(__u) )) ))() : null : Detail;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorAdditionalInfo.FromJson(__p) )) ))() : null : AdditionalInfo;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ErrorDetailAutoGenerated(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._code)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._code.ToString()) : null, "code" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._message)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._message.ToString()) : null, "message" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._target)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._target.ToString()) : null, "target" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._detail) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.XNodeArray(); + foreach( var __x in this._detail ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("details",__w); + } + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._additionalInfo) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.XNodeArray(); + foreach( var __s in this._additionalInfo ) + { + AddIf(__s?.ToJson(null, serializationMode) ,__r.Add); + } + container.Add("additionalInfo",__r); + } + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.PowerShell.cs new file mode 100644 index 000000000000..6cea0b610224 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.PowerShell.cs @@ -0,0 +1,208 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + [System.ComponentModel.TypeConverter(typeof(ErrorResponseAutoGeneratedTypeConverter))] + public partial class ErrorResponseAutoGenerated + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ErrorResponseAutoGenerated(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ErrorResponseAutoGenerated(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ErrorResponseAutoGenerated(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Error")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom); + } + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ErrorResponseAutoGenerated(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Error")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom); + } + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGeneratedTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + [System.ComponentModel.TypeConverter(typeof(ErrorResponseAutoGeneratedTypeConverter))] + public partial interface IErrorResponseAutoGenerated + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.TypeConverter.cs new file mode 100644 index 000000000000..2383dff068b7 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ErrorResponseAutoGeneratedTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ErrorResponseAutoGenerated.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ErrorResponseAutoGenerated.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ErrorResponseAutoGenerated.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.cs new file mode 100644 index 000000000000..324e5ea6ed1a --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.cs @@ -0,0 +1,137 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class ErrorResponseAutoGenerated : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal + { + + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; } + + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Code; } + + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Detail; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated _error; + + /// The error object. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGenerated()); set => this._error = value; } + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Message; } + + /// Internal Acessors for AdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value; } + + /// Internal Acessors for Code + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Code = value; } + + /// Internal Acessors for Detail + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Detail = value; } + + /// Internal Acessors for Error + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGenerated()); set { {_error = value;} } } + + /// Internal Acessors for Message + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Message = value; } + + /// Internal Acessors for Target + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Target = value; } + + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGeneratedInternal)Error).Target; } + + /// Creates an new instance. + public ErrorResponseAutoGenerated() + { + + } + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + public partial interface IErrorResponseAutoGenerated : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error additional info.", + SerializedName = @"additionalInfo", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get; } + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error code.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; } + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error details.", + SerializedName = @"details", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; } + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error target.", + SerializedName = @"target", + PossibleTypes = new [] { typeof(string) })] + string Target { get; } + + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + internal partial interface IErrorResponseAutoGeneratedInternal + + { + /// The error additional info. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + /// The error code. + string Code { get; set; } + /// The error details. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated[] Detail { get; set; } + /// The error object. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorDetailAutoGenerated Error { get; set; } + /// The error message. + string Message { get; set; } + /// The error target. + string Target { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.json.cs new file mode 100644 index 000000000000..7e86615b69dc --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20/ErrorResponseAutoGenerated.json.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + public partial class ErrorResponseAutoGenerated + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal ErrorResponseAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ErrorDetailAutoGenerated.FromJson(__jsonError) : Error;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IErrorResponseAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ErrorResponseAutoGenerated(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._error ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._error.ToJson(null,serializationMode) : null, "error" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.PowerShell.cs deleted file mode 100644 index 22e8b2e2433c..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.PowerShell.cs +++ /dev/null @@ -1,276 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// The Application Group object - [System.ComponentModel.TypeConverter(typeof(ApplicationGroupTypeConverter))] - public partial class ApplicationGroup - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ApplicationGroup(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("IsEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ClientAppGroupIdentifier")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); - } - if (content.Contains("Policy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ApplicationGroup(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("IsEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ClientAppGroupIdentifier")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); - } - if (content.Contains("Policy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ApplicationGroup(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ApplicationGroup(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// The Application Group object - [System.ComponentModel.TypeConverter(typeof(ApplicationGroupTypeConverter))] - public partial interface IApplicationGroup - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.PowerShell.cs deleted file mode 100644 index 09f8a3a755f1..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.PowerShell.cs +++ /dev/null @@ -1,294 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Single item in List or Get Alias(Disaster Recovery configuration) operation - [System.ComponentModel.TypeConverter(typeof(ArmDisasterRecoveryTypeConverter))] - public partial class ArmDisasterRecovery - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ArmDisasterRecovery(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); - } - if (content.Contains("PartnerNamespace")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace, global::System.Convert.ToString); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("Role")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); - } - if (content.Contains("PendingReplicationOperationsCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ArmDisasterRecovery(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); - } - if (content.Contains("PartnerNamespace")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace, global::System.Convert.ToString); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("Role")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); - } - if (content.Contains("PendingReplicationOperationsCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ArmDisasterRecovery(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ArmDisasterRecovery(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Single item in List or Get Alias(Disaster Recovery configuration) operation - [System.ComponentModel.TypeConverter(typeof(ArmDisasterRecoveryTypeConverter))] - public partial interface IArmDisasterRecovery - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.PowerShell.cs deleted file mode 100644 index 6ae3fcac2b56..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.PowerShell.cs +++ /dev/null @@ -1,268 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Properties to configure capture description for eventhub - [System.ComponentModel.TypeConverter(typeof(CaptureDescriptionTypeConverter))] - public partial class CaptureDescription - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal CaptureDescription(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Destination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Destination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("Destination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Destination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("Enabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("Encoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("IntervalInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).IntervalInSecond = (int?) content.GetValueForProperty("IntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).IntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SizeLimitInByte")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SizeLimitInByte = (int?) content.GetValueForProperty("SizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal CaptureDescription(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Destination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Destination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("Destination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Destination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("Enabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("Encoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("IntervalInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).IntervalInSecond = (int?) content.GetValueForProperty("IntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).IntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SizeLimitInByte")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SizeLimitInByte = (int?) content.GetValueForProperty("SizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new CaptureDescription(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new CaptureDescription(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Properties to configure capture description for eventhub - [System.ComponentModel.TypeConverter(typeof(CaptureDescriptionTypeConverter))] - public partial interface ICaptureDescription - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.PowerShell.cs deleted file mode 100644 index 7e9ae730bccf..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.PowerShell.cs +++ /dev/null @@ -1,492 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Single Namespace item in List or Get Operation - [System.ComponentModel.TypeConverter(typeof(EhNamespaceTypeConverter))] - public partial class EhNamespace - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new EhNamespace(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new EhNamespace(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal EhNamespace(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Sku")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SkuTypeConverter.ConvertFrom); - } - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespacePropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("Tag")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("SkuName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); - } - if (content.Contains("SkuTier")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); - } - if (content.Contains("SkuCapacity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("PrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrincipalId, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("Encryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EncryptionTypeConverter.ConvertFrom); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); - } - if (content.Contains("UserAssignedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MinimumTlsVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Status, global::System.Convert.ToString); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ServiceBusEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); - } - if (content.Contains("ClusterArmId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ClusterArmId, global::System.Convert.ToString); - } - if (content.Contains("MetricId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MetricId, global::System.Convert.ToString); - } - if (content.Contains("EnableAutoInflate")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).EnableAutoInflate = (bool?) content.GetValueForProperty("EnableAutoInflate",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).EnableAutoInflate, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PublicNetworkAccess")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); - } - if (content.Contains("MaximumThroughputUnit")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("KafkaEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ZoneRedundant")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PrivateEndpointConnection")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); - } - if (content.Contains("DisableLocalAuth")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("KeySource")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); - } - if (content.Contains("KeyVaultProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); - } - if (content.Contains("RequireInfrastructureEncryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal EhNamespace(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Sku")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SkuTypeConverter.ConvertFrom); - } - if (content.Contains("Identity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespacePropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("Tag")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("SkuName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); - } - if (content.Contains("SkuTier")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); - } - if (content.Contains("SkuCapacity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("PrincipalId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrincipalId, global::System.Convert.ToString); - } - if (content.Contains("TenantId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).TenantId, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("Encryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EncryptionTypeConverter.ConvertFrom); - } - if (content.Contains("IdentityType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); - } - if (content.Contains("UserAssignedIdentity")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MinimumTlsVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).Status, global::System.Convert.ToString); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ServiceBusEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); - } - if (content.Contains("ClusterArmId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ClusterArmId, global::System.Convert.ToString); - } - if (content.Contains("MetricId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MetricId, global::System.Convert.ToString); - } - if (content.Contains("EnableAutoInflate")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).EnableAutoInflate = (bool?) content.GetValueForProperty("EnableAutoInflate",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).EnableAutoInflate, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PublicNetworkAccess")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); - } - if (content.Contains("MaximumThroughputUnit")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("KafkaEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ZoneRedundant")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PrivateEndpointConnection")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); - } - if (content.Contains("DisableLocalAuth")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("KeySource")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); - } - if (content.Contains("KeyVaultProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); - } - if (content.Contains("RequireInfrastructureEncryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - AfterDeserializePSObject(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Single Namespace item in List or Get Operation - [System.ComponentModel.TypeConverter(typeof(EhNamespaceTypeConverter))] - public partial interface IEhNamespace - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.PowerShell.cs deleted file mode 100644 index e60fd3916e9b..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.PowerShell.cs +++ /dev/null @@ -1,318 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Namespace properties supplied for create namespace operation. - [System.ComponentModel.TypeConverter(typeof(EhNamespacePropertiesTypeConverter))] - public partial class EhNamespaceProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new EhNamespaceProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new EhNamespaceProperties(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal EhNamespaceProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Encryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EncryptionTypeConverter.ConvertFrom); - } - if (content.Contains("MinimumTlsVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Status, global::System.Convert.ToString); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ServiceBusEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); - } - if (content.Contains("ClusterArmId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ClusterArmId, global::System.Convert.ToString); - } - if (content.Contains("MetricId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MetricId, global::System.Convert.ToString); - } - if (content.Contains("IsAutoInflateEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled = (bool?) content.GetValueForProperty("IsAutoInflateEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PublicNetworkAccess")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); - } - if (content.Contains("MaximumThroughputUnit")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("KafkaEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ZoneRedundant")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PrivateEndpointConnection")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); - } - if (content.Contains("DisableLocalAuth")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("EncryptionKeySource")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); - } - if (content.Contains("EncryptionKeyVaultProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("EncryptionKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); - } - if (content.Contains("EncryptionRequireInfrastructureEncryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption = (bool?) content.GetValueForProperty("EncryptionRequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal EhNamespaceProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Encryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EncryptionTypeConverter.ConvertFrom); - } - if (content.Contains("MinimumTlsVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).Status, global::System.Convert.ToString); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("ServiceBusEndpoint")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); - } - if (content.Contains("ClusterArmId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ClusterArmId, global::System.Convert.ToString); - } - if (content.Contains("MetricId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MetricId, global::System.Convert.ToString); - } - if (content.Contains("IsAutoInflateEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled = (bool?) content.GetValueForProperty("IsAutoInflateEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PublicNetworkAccess")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); - } - if (content.Contains("MaximumThroughputUnit")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("KafkaEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("ZoneRedundant")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("PrivateEndpointConnection")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); - } - if (content.Contains("DisableLocalAuth")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("AlternateName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).AlternateName, global::System.Convert.ToString); - } - if (content.Contains("EncryptionKeySource")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); - } - if (content.Contains("EncryptionKeyVaultProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("EncryptionKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); - } - if (content.Contains("EncryptionRequireInfrastructureEncryption")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption = (bool?) content.GetValueForProperty("EncryptionRequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - AfterDeserializePSObject(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Namespace properties supplied for create namespace operation. - [System.ComponentModel.TypeConverter(typeof(EhNamespacePropertiesTypeConverter))] - public partial interface IEhNamespaceProperties - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.PowerShell.cs deleted file mode 100644 index fec3889e4db9..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.PowerShell.cs +++ /dev/null @@ -1,452 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Single item in List or Get Event Hub operation - [System.ComponentModel.TypeConverter(typeof(EventhubTypeConverter))] - public partial class Eventhub - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new Eventhub(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new Eventhub(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal Eventhub(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("CaptureDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("RetentionDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("PartitionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MessageRetentionInDay")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("PartitionCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); - } - if (content.Contains("CaptureDescriptionDestination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CaptureEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureEnabled = (bool?) content.GetValueForProperty("CaptureEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("Encoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("IntervalInSeconds")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).IntervalInSeconds = (int?) content.GetValueForProperty("IntervalInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).IntervalInSeconds, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SizeLimitInBytes")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SizeLimitInBytes = (int?) content.GetValueForProperty("SizeLimitInBytes",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SizeLimitInBytes, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("CleanupPolicy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); - } - if (content.Contains("RetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("TombstoneRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal Eventhub(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("CaptureDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("RetentionDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("PartitionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MessageRetentionInDay")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("PartitionCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); - } - if (content.Contains("CaptureDescriptionDestination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CaptureEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureEnabled = (bool?) content.GetValueForProperty("CaptureEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CaptureEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("Encoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("IntervalInSeconds")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).IntervalInSeconds = (int?) content.GetValueForProperty("IntervalInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).IntervalInSeconds, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SizeLimitInBytes")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SizeLimitInBytes = (int?) content.GetValueForProperty("SizeLimitInBytes",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SizeLimitInBytes, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("SkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("CleanupPolicy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); - } - if (content.Contains("RetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("TombstoneRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Single item in List or Get Event Hub operation - [System.ComponentModel.TypeConverter(typeof(EventhubTypeConverter))] - public partial interface IEventhub - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.PowerShell.cs deleted file mode 100644 index 01f0cea92801..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.PowerShell.cs +++ /dev/null @@ -1,356 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Properties supplied to the Create Or Update Event Hub operation. - [System.ComponentModel.TypeConverter(typeof(EventhubPropertiesTypeConverter))] - public partial class EventhubProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new EventhubProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new EventhubProperties(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal EventhubProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("CaptureDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("RetentionDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("PartitionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MessageRetentionInDay")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("PartitionCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); - } - if (content.Contains("CaptureDescriptionDestination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("CaptureDescriptionEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled = (bool?) content.GetValueForProperty("CaptureDescriptionEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("CaptureDescriptionEncoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("CaptureDescriptionEncoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("CaptureDescriptionIntervalInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond = (int?) content.GetValueForProperty("CaptureDescriptionIntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("CaptureDescriptionSizeLimitInByte")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte = (int?) content.GetValueForProperty("CaptureDescriptionSizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("CaptureDescriptionSkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive = (bool?) content.GetValueForProperty("CaptureDescriptionSkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("RetentionDescriptionCleanupPolicy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("RetentionDescriptionCleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); - } - if (content.Contains("RetentionDescriptionRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour = (long?) content.GetValueForProperty("RetentionDescriptionRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("RetentionDescriptionTombstoneRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("RetentionDescriptionTombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal EventhubProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("CaptureDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("RetentionDescription")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescriptionTypeConverter.ConvertFrom); - } - if (content.Contains("PartitionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("MessageRetentionInDay")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("PartitionCount")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("Status")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); - } - if (content.Contains("CaptureDescriptionDestination")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationTypeConverter.ConvertFrom); - } - if (content.Contains("CaptureDescriptionEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled = (bool?) content.GetValueForProperty("CaptureDescriptionEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("CaptureDescriptionEncoding")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("CaptureDescriptionEncoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); - } - if (content.Contains("CaptureDescriptionIntervalInSecond")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond = (int?) content.GetValueForProperty("CaptureDescriptionIntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("CaptureDescriptionSizeLimitInByte")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte = (int?) content.GetValueForProperty("CaptureDescriptionSizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("CaptureDescriptionSkipEmptyArchive")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive = (bool?) content.GetValueForProperty("CaptureDescriptionSkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - } - if (content.Contains("DestinationProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("DestinationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DestinationName, global::System.Convert.ToString); - } - if (content.Contains("RetentionDescriptionCleanupPolicy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("RetentionDescriptionCleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); - } - if (content.Contains("RetentionDescriptionRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour = (long?) content.GetValueForProperty("RetentionDescriptionRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); - } - if (content.Contains("RetentionDescriptionTombstoneRetentionTimeInHour")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("RetentionDescriptionTombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - } - if (content.Contains("BlobContainer")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); - } - if (content.Contains("StorageAccountResourceId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - } - if (content.Contains("ArchiveNameFormat")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); - } - if (content.Contains("DataLakeSubscriptionId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); - } - if (content.Contains("DataLakeAccountName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); - } - if (content.Contains("DataLakeFolderPath")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Properties supplied to the Create Or Update Event Hub operation. - [System.ComponentModel.TypeConverter(typeof(EventhubPropertiesTypeConverter))] - public partial interface IEventhubProperties - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs deleted file mode 100644 index b97acb2bb645..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs +++ /dev/null @@ -1,305 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Network Security Perimeter related configurations of a given namespace - [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationTypeConverter))] - public partial class NetworkSecurityPerimeterConfiguration - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new NetworkSecurityPerimeterConfiguration(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new NetworkSecurityPerimeterConfiguration(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json - /// string. - /// - /// a string containing a JSON serialized instance of this model. - /// - /// an instance of the model class. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal NetworkSecurityPerimeterConfiguration(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); - } - if (content.Contains("ResourceAssociation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); - } - if (content.Contains("Profile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); - } - if (content.Contains("ProvisioningIssue")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueTypeConverter.ConvertFrom)); - } - if (content.Contains("NetworkSecurityPerimeterId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeterLocation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationAccessMode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); - } - if (content.Contains("NetworkSecurityPerimeterGuid")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName, global::System.Convert.ToString); - } - if (content.Contains("ProfileName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRulesVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRule")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal NetworkSecurityPerimeterConfiguration(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Property")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); - } - if (content.Contains("ResourceAssociation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); - } - if (content.Contains("Profile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); - } - if (content.Contains("ProvisioningIssue")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueTypeConverter.ConvertFrom)); - } - if (content.Contains("NetworkSecurityPerimeterId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeterLocation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationAccessMode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); - } - if (content.Contains("NetworkSecurityPerimeterGuid")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName, global::System.Convert.ToString); - } - if (content.Contains("ProfileName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRulesVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRule")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Network Security Perimeter related configurations of a given namespace - [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationTypeConverter))] - public partial interface INetworkSecurityPerimeterConfiguration - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs deleted file mode 100644 index 74242bfaca79..000000000000 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs +++ /dev/null @@ -1,265 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview -{ - using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - - /// Properties of NetworkSecurityPerimeterConfiguration - [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationPropertiesTypeConverter))] - public partial class NetworkSecurityPerimeterConfigurationProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output - /// parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior - /// - /// /// instance serialized to a string, normally it is a Json - /// /// set returnNow to true if you provide a customized OverrideToString function - - partial void OverrideToString(ref string stringResult, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new NetworkSecurityPerimeterConfigurationProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new NetworkSecurityPerimeterConfigurationProperties(content); - } - - /// - /// Creates a new instance of , deserializing the content from - /// a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// - /// an instance of the model class. - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal NetworkSecurityPerimeterConfigurationProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("NetworkSecurityPerimeter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); - } - if (content.Contains("ResourceAssociation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); - } - if (content.Contains("Profile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); - } - if (content.Contains("ProvisioningIssue")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueTypeConverter.ConvertFrom)); - } - if (content.Contains("NetworkSecurityPerimeterId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeterLocation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationAccessMode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); - } - if (content.Contains("NetworkSecurityPerimeterGuid")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName, global::System.Convert.ToString); - } - if (content.Contains("ProfileName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRulesVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRule")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal NetworkSecurityPerimeterConfigurationProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("NetworkSecurityPerimeter")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); - } - if (content.Contains("ResourceAssociation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); - } - if (content.Contains("Profile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); - } - if (content.Contains("ProvisioningState")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); - } - if (content.Contains("ProvisioningIssue")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueTypeConverter.ConvertFrom)); - } - if (content.Contains("NetworkSecurityPerimeterId")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); - } - if (content.Contains("NetworkSecurityPerimeterLocation")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationAccessMode")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); - } - if (content.Contains("NetworkSecurityPerimeterGuid")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); - } - if (content.Contains("ResourceAssociationName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName, global::System.Convert.ToString); - } - if (content.Contains("ProfileName")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRulesVersion")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); - } - if (content.Contains("ProfileAccessRule")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); - } - AfterDeserializePSObject(content); - } - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); - - public override string ToString() - { - var returnNow = false; - var result = global::System.String.Empty; - OverrideToString(ref result, ref returnNow); - if (returnNow) - { - return result; - } - return ToJsonString(); - } - } - /// Properties of NetworkSecurityPerimeterConfiguration - [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationPropertiesTypeConverter))] - public partial interface INetworkSecurityPerimeterConfigurationProperties - - { - - } -} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.PowerShell.cs similarity index 66% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.PowerShell.cs index 1d1fbd418191..d6dd84406a52 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AccessKeys partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,37 +78,37 @@ internal AccessKeys(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PrimaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryConnectionString = (string) content.GetValueForProperty("PrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryConnectionString = (string) content.GetValueForProperty("PrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryConnectionString, global::System.Convert.ToString); } if (content.Contains("SecondaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryConnectionString = (string) content.GetValueForProperty("SecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryConnectionString = (string) content.GetValueForProperty("SecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryConnectionString, global::System.Convert.ToString); } if (content.Contains("AliasPrimaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString = (string) content.GetValueForProperty("AliasPrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString = (string) content.GetValueForProperty("AliasPrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString, global::System.Convert.ToString); } if (content.Contains("AliasSecondaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString = (string) content.GetValueForProperty("AliasSecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString = (string) content.GetValueForProperty("AliasSecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString, global::System.Convert.ToString); } if (content.Contains("PrimaryKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryKey = (string) content.GetValueForProperty("PrimaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryKey = (string) content.GetValueForProperty("PrimaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryKey, global::System.Convert.ToString); } if (content.Contains("SecondaryKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryKey = (string) content.GetValueForProperty("SecondaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryKey = (string) content.GetValueForProperty("SecondaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryKey, global::System.Convert.ToString); } if (content.Contains("KeyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).KeyName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -123,57 +123,57 @@ internal AccessKeys(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("PrimaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryConnectionString = (string) content.GetValueForProperty("PrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryConnectionString = (string) content.GetValueForProperty("PrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryConnectionString, global::System.Convert.ToString); } if (content.Contains("SecondaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryConnectionString = (string) content.GetValueForProperty("SecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryConnectionString = (string) content.GetValueForProperty("SecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryConnectionString, global::System.Convert.ToString); } if (content.Contains("AliasPrimaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString = (string) content.GetValueForProperty("AliasPrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString = (string) content.GetValueForProperty("AliasPrimaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasPrimaryConnectionString, global::System.Convert.ToString); } if (content.Contains("AliasSecondaryConnectionString")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString = (string) content.GetValueForProperty("AliasSecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString = (string) content.GetValueForProperty("AliasSecondaryConnectionString",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).AliasSecondaryConnectionString, global::System.Convert.ToString); } if (content.Contains("PrimaryKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryKey = (string) content.GetValueForProperty("PrimaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).PrimaryKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryKey = (string) content.GetValueForProperty("PrimaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).PrimaryKey, global::System.Convert.ToString); } if (content.Contains("SecondaryKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryKey = (string) content.GetValueForProperty("SecondaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).SecondaryKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryKey = (string) content.GetValueForProperty("SecondaryKey",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).SecondaryKey, global::System.Convert.ToString); } if (content.Contains("KeyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal)this).KeyName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AccessKeys(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AccessKeys(content); } @@ -183,7 +183,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.TypeConverter.cs index 504245328132..f8d71000a262 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.cs index 95b61da08ae2..8691945cddde 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Namespace/EventHub Connection String [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AccessKeys : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal { /// Backing field for property. @@ -36,25 +36,25 @@ public partial class AccessKeys : public string KeyName { get => this._keyName; } /// Internal Acessors for AliasPrimaryConnectionString - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.AliasPrimaryConnectionString { get => this._aliasPrimaryConnectionString; set { {_aliasPrimaryConnectionString = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.AliasPrimaryConnectionString { get => this._aliasPrimaryConnectionString; set { {_aliasPrimaryConnectionString = value;} } } /// Internal Acessors for AliasSecondaryConnectionString - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.AliasSecondaryConnectionString { get => this._aliasSecondaryConnectionString; set { {_aliasSecondaryConnectionString = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.AliasSecondaryConnectionString { get => this._aliasSecondaryConnectionString; set { {_aliasSecondaryConnectionString = value;} } } /// Internal Acessors for KeyName - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.KeyName { get => this._keyName; set { {_keyName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.KeyName { get => this._keyName; set { {_keyName = value;} } } /// Internal Acessors for PrimaryConnectionString - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.PrimaryConnectionString { get => this._primaryConnectionString; set { {_primaryConnectionString = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.PrimaryConnectionString { get => this._primaryConnectionString; set { {_primaryConnectionString = value;} } } /// Internal Acessors for PrimaryKey - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.PrimaryKey { get => this._primaryKey; set { {_primaryKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.PrimaryKey { get => this._primaryKey; set { {_primaryKey = value;} } } /// Internal Acessors for SecondaryConnectionString - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.SecondaryConnectionString { get => this._secondaryConnectionString; set { {_secondaryConnectionString = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.SecondaryConnectionString { get => this._secondaryConnectionString; set { {_secondaryConnectionString = value;} } } /// Internal Acessors for SecondaryKey - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeysInternal.SecondaryKey { get => this._secondaryKey; set { {_secondaryKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeysInternal.SecondaryKey { get => this._secondaryKey; set { {_secondaryKey = value;} } } /// Backing field for property. private string _primaryConnectionString; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.json.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.json.cs index 9388e12db336..291594743d2a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AccessKeys.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AccessKeys.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -76,13 +76,13 @@ internal AccessKeys(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AccessKeys(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.PowerShell.cs similarity index 62% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.PowerShell.cs index 20ccd8f24e11..5eaa323693c3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.PowerShell.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - /// Description of topic resource. - [System.ComponentModel.TypeConverter(typeof(NetworkRuleSetTypeConverter))] - public partial class NetworkRuleSet + /// The Application Group object + [System.ComponentModel.TypeConverter(typeof(ApplicationGroupTypeConverter))] + public partial class ApplicationGroup { /// @@ -63,44 +63,11 @@ public partial class NetworkRuleSet partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new NetworkRuleSet(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new NetworkRuleSet(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal NetworkRuleSet(global::System.Collections.IDictionary content) + internal ApplicationGroup(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -111,11 +78,11 @@ internal NetworkRuleSet(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -133,59 +100,51 @@ internal NetworkRuleSet(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); } - if (content.Contains("DefaultAction")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); - } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("TrustedServiceAccessEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("VirtualNetworkRule")) + if (content.Contains("IsEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } - if (content.Contains("IPRule")) + if (content.Contains("ClientAppGroupIdentifier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); } - if (content.Contains("PublicNetworkAccess")) + if (content.Contains("Policy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal NetworkRuleSet(global::System.Management.Automation.PSObject content) + internal ApplicationGroup(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -196,11 +155,11 @@ internal NetworkRuleSet(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -218,53 +177,78 @@ internal NetworkRuleSet(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); } - if (content.Contains("DefaultAction")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); - } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("TrustedServiceAccessEnabled")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("VirtualNetworkRule")) + if (content.Contains("IsEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } - if (content.Contains("IPRule")) + if (content.Contains("ClientAppGroupIdentifier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); } - if (content.Contains("PublicNetworkAccess")) + if (content.Contains("Policy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ApplicationGroup(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ApplicationGroup(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + /// Serializes this instance to a json string. /// a containing this model serialized to JSON text. @@ -282,9 +266,9 @@ public override string ToString() return ToJsonString(); } } - /// Description of topic resource. - [System.ComponentModel.TypeConverter(typeof(NetworkRuleSetTypeConverter))] - public partial interface INetworkRuleSet + /// The Application Group object + [System.ComponentModel.TypeConverter(typeof(ApplicationGroupTypeConverter))] + public partial interface IApplicationGroup { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.TypeConverter.cs index 57465520f75e..59274bb6624c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.cs index d3c9a9345095..bd22e3d2f0e4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The Application Group object [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ApplicationGroup : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -24,7 +24,7 @@ public partial class ApplicationGroup : /// The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid) /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ClientAppGroupIdentifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).ClientAppGroupIdentifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).ClientAppGroupIdentifier = value ?? null; } + public string ClientAppGroupIdentifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).ClientAppGroupIdentifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).ClientAppGroupIdentifier = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -37,7 +37,7 @@ public partial class ApplicationGroup : /// all the existing connections of application group gets dropped and no new connections will be allowed /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? IsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).IsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).IsEnabled = value ?? default(bool); } + public bool? IsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).IsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).IsEnabled = value ?? default(bool); } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -56,10 +56,10 @@ public partial class ApplicationGroup : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupProperties()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -70,13 +70,13 @@ public partial class ApplicationGroup : /// such as limiting ingress or egress traffic. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).Policy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)Property).Policy = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).Policy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)Property).Policy = value ?? null /* arrayOf */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties _property; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupProperties()); set => this._property = value; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -172,8 +172,8 @@ public partial interface IApplicationGroup : ReadOnly = false, Description = @"List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.", SerializedName = @"policies", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get; set; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -241,9 +241,9 @@ internal partial interface IApplicationGroupInternal : /// List of group policies that define the behavior of application group. The policies can support resource governance scenarios /// such as limiting ingress or egress traffic. /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties Property { get; set; } /// The system meta data relating to this resource. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData SystemData { get; set; } /// The timestamp of resource creation (UTC). diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.json.cs index c6149095849b..1e0d9169d949 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroup.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroup.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,19 +66,19 @@ internal ApplicationGroup(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Js return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ApplicationGroup(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.PowerShell.cs similarity index 75% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.PowerShell.cs index 3d11b3cad991..856a2c60d211 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ApplicationGroupListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ApplicationGroupListResult(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal ApplicationGroupListResult(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ApplicationGroupListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ApplicationGroupListResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.TypeConverter.cs index b7e904bc90e5..f9cd0c3d677f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.cs similarity index 86% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.cs index f6b0f19b61fb..e482bf65f4ca 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.cs @@ -3,19 +3,19 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response from the List Application Groups operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ApplicationGroupListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Backing field for property. private string _nextLink; @@ -27,11 +27,11 @@ public partial class ApplicationGroupListResult : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[] _value; /// Result of the List Application Groups operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ApplicationGroupListResult() @@ -59,8 +59,8 @@ public partial interface IApplicationGroupListResult : ReadOnly = false, Description = @"Result of the List Application Groups operation.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[] Value { get; set; } } /// The response from the List Application Groups operation. @@ -72,7 +72,7 @@ internal partial interface IApplicationGroupListResultInternal /// string NextLink { get; set; } /// Result of the List Application Groups operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.json.cs index 8ab5c5cfbcf1..ab1a98093dff 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal ApplicationGroupListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub. { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroup.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroup.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ApplicationGroupListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.PowerShell.cs similarity index 80% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.PowerShell.cs index 08f6f5ee522e..e87ce259ad2b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ApplicationGroupPolicy partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ApplicationGroupPolicy(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal ApplicationGroupPolicy(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ApplicationGroupPolicy(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ApplicationGroupPolicy(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.TypeConverter.cs index 4d94ce9aa7c3..c3b91fbec2a0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.cs similarity index 93% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.cs index 3ac50e4606a0..cad9914baf5c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.cs @@ -3,19 +3,19 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of the Application Group policy [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ApplicationGroupPolicy : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal { /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _name; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.json.cs index 7599028ee762..d2748a471e7a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupPolicy.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupPolicy.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -71,15 +71,15 @@ internal ApplicationGroupPolicy(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json)) { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.PowerShell.cs similarity index 71% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.PowerShell.cs index ff558e6d4bc1..06eb41337d4a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -62,7 +62,7 @@ public partial class ApplicationGroupProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -77,21 +77,21 @@ internal ApplicationGroupProperties(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("IsEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ClientAppGroupIdentifier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); } if (content.Contains("Policy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -106,43 +106,43 @@ internal ApplicationGroupProperties(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("IsEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).IsEnabled = (bool?) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ClientAppGroupIdentifier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier = (string) content.GetValueForProperty("ClientAppGroupIdentifier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).ClientAppGroupIdentifier, global::System.Convert.ToString); } if (content.Contains("Policy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).Policy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[]) content.GetValueForProperty("Policy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal)this).Policy, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicyTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ApplicationGroupProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ApplicationGroupProperties(content); } @@ -152,7 +152,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.TypeConverter.cs index e1aa55739a9b..00ff22794cc2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.cs index b04d8de99a82..3aad8296bb40 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ApplicationGroupProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPropertiesInternal { /// Backing field for property. @@ -33,14 +33,14 @@ public partial class ApplicationGroupProperties : public bool? IsEnabled { get => this._isEnabled; set => this._isEnabled = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] _policy; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] _policy; /// /// List of group policies that define the behavior of application group. The policies can support resource governance scenarios /// such as limiting ingress or egress traffic. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get => this._policy; set => this._policy = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get => this._policy; set => this._policy = value; } /// Creates an new instance. public ApplicationGroupProperties() @@ -81,8 +81,8 @@ public partial interface IApplicationGroupProperties : ReadOnly = false, Description = @"List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.", SerializedName = @"policies", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get; set; } } internal partial interface IApplicationGroupPropertiesInternal @@ -101,7 +101,7 @@ internal partial interface IApplicationGroupPropertiesInternal /// List of group policies that define the behavior of application group. The policies can support resource governance scenarios /// such as limiting ingress or egress traffic. /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.json.cs index 8d1c492f749f..e7833d4ccf0c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ApplicationGroupProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ApplicationGroupProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,18 +66,18 @@ internal ApplicationGroupProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub. } {_isEnabled = If( json?.PropertyT("isEnabled"), out var __jsonIsEnabled) ? (bool?)__jsonIsEnabled : IsEnabled;} {_clientAppGroupIdentifier = If( json?.PropertyT("clientAppGroupIdentifier"), out var __jsonClientAppGroupIdentifier) ? (string)__jsonClientAppGroupIdentifier : (string)ClientAppGroupIdentifier;} - {_policy = If( json?.PropertyT("policies"), out var __jsonPolicies) ? If( __jsonPolicies as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicy.FromJson(__u) )) ))() : null : Policy;} + {_policy = If( json?.PropertyT("policies"), out var __jsonPolicies) ? If( __jsonPolicies as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicy.FromJson(__u) )) ))() : null : Policy;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ApplicationGroupProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.PowerShell.cs similarity index 64% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.PowerShell.cs index 0b8fd3c491de..a038a6a70fc6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.PowerShell.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - /// Single item in a List or Get AuthorizationRule operation - [System.ComponentModel.TypeConverter(typeof(AuthorizationRuleTypeConverter))] - public partial class AuthorizationRule + /// Single item in List or Get Alias(Disaster Recovery configuration) operation + [System.ComponentModel.TypeConverter(typeof(ArmDisasterRecoveryTypeConverter))] + public partial class ArmDisasterRecovery { /// @@ -63,11 +63,11 @@ public partial class AuthorizationRule partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal AuthorizationRule(global::System.Collections.IDictionary content) + internal ArmDisasterRecovery(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -78,11 +78,11 @@ internal AuthorizationRule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRulePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -102,41 +102,57 @@ internal AuthorizationRule(global::System.Collections.IDictionary content) } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("Rights")) + if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); + } + if (content.Contains("PartnerNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace, global::System.Convert.ToString); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("Role")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); + } + if (content.Contains("PendingReplicationOperationsCount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal AuthorizationRule(global::System.Management.Automation.PSObject content) + internal ArmDisasterRecovery(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -147,11 +163,11 @@ internal AuthorizationRule(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRulePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -171,67 +187,83 @@ internal AuthorizationRule(global::System.Management.Automation.PSObject content } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); + } + if (content.Contains("PartnerNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PartnerNamespace, global::System.Convert.ToString); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("Role")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); } - if (content.Contains("Rights")) + if (content.Contains("PendingReplicationOperationsCount")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new AuthorizationRule(content); + return new ArmDisasterRecovery(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new AuthorizationRule(content); + return new ArmDisasterRecovery(content); } /// - /// Creates a new instance of , deserializing the content from a json string. + /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -250,9 +282,9 @@ public override string ToString() return ToJsonString(); } } - /// Single item in a List or Get AuthorizationRule operation - [System.ComponentModel.TypeConverter(typeof(AuthorizationRuleTypeConverter))] - public partial interface IAuthorizationRule + /// Single item in List or Get Alias(Disaster Recovery configuration) operation + [System.ComponentModel.TypeConverter(typeof(ArmDisasterRecoveryTypeConverter))] + public partial interface IArmDisasterRecovery { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.TypeConverter.cs index 16c80042650c..fae71049a4ea 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.cs similarity index 87% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.cs index 9a6dff5b6143..6259c4d7081c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in List or Get Alias(Disaster Recovery configuration) operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ArmDisasterRecovery : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,7 +22,7 @@ public partial class ArmDisasterRecovery : /// Alternate name specified when alias and namespace names are same. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string AlternateName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).AlternateName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).AlternateName = value ?? null; } + public string AlternateName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).AlternateName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).AlternateName = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -47,19 +47,19 @@ public partial class ArmDisasterRecovery : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for PendingReplicationOperationsCount - long? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal.PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Role - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal.Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal.Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -69,26 +69,26 @@ public partial class ArmDisasterRecovery : /// ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string PartnerNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).PartnerNamespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).PartnerNamespace = value ?? null; } + public string PartnerNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).PartnerNamespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).PartnerNamespace = value ?? null; } /// Number of entities pending to be replicated. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public long? PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; } + public long? PendingReplicationOperationsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).PendingReplicationOperationsCount; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties _property; /// /// Properties required to the Create Or Update Alias(Disaster Recovery configurations) /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryProperties()); set => this._property = value; } /// /// Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed' /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).ProvisioningState; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -98,7 +98,7 @@ public partial class ArmDisasterRecovery : /// role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary' /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)Property).Role; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -271,7 +271,7 @@ internal partial interface IArmDisasterRecoveryInternal : /// /// Properties required to the Create Or Update Alias(Disaster Recovery configurations) /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties Property { get; set; } /// /// Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed' /// diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.json.cs index 94dab5a53d01..6ffd1ac3296a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecovery.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecovery.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,19 +66,19 @@ internal ArmDisasterRecovery(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ArmDisasterRecovery(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.PowerShell.cs similarity index 75% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.PowerShell.cs index 2925acc2df8c..84f6ceb20966 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ArmDisasterRecoveryListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ArmDisasterRecoveryListResult(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal ArmDisasterRecoveryListResult(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecoveryTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecoveryTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ArmDisasterRecoveryListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ArmDisasterRecoveryListResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.TypeConverter.cs index e10665b6bb27..bd45cd8f6775 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.cs similarity index 86% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.cs index e3526dfd14f0..3e8af99a938e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.cs @@ -3,19 +3,19 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The result of the List Alias(Disaster Recovery configuration) operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ArmDisasterRecoveryListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Backing field for property. private string _nextLink; @@ -27,11 +27,11 @@ public partial class ArmDisasterRecoveryListResult : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[] _value; /// List of Alias(Disaster Recovery configurations) [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ArmDisasterRecoveryListResult() @@ -59,8 +59,8 @@ public partial interface IArmDisasterRecoveryListResult : ReadOnly = false, Description = @"List of Alias(Disaster Recovery configurations)", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[] Value { get; set; } } /// The result of the List Alias(Disaster Recovery configuration) operation. @@ -72,7 +72,7 @@ internal partial interface IArmDisasterRecoveryListResultInternal /// string NextLink { get; set; } /// List of Alias(Disaster Recovery configurations) - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.json.cs index 934f31b061d8..c95b669f4e9a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal ArmDisasterRecoveryListResult(Microsoft.Azure.PowerShell.Cmdlets.EventH { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecovery.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecovery.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ArmDisasterRecoveryListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.PowerShell.cs similarity index 66% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.PowerShell.cs index ffcd237cbb75..a82a8562913d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -65,7 +65,7 @@ public partial class ArmDisasterRecoveryProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -80,29 +80,29 @@ internal ArmDisasterRecoveryProperties(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); } if (content.Contains("PartnerNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace, global::System.Convert.ToString); } if (content.Contains("AlternateName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName, global::System.Convert.ToString); } if (content.Contains("Role")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); } if (content.Contains("PendingReplicationOperationsCount")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -117,51 +117,51 @@ internal ArmDisasterRecoveryProperties(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr.CreateFrom); } if (content.Contains("PartnerNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace = (string) content.GetValueForProperty("PartnerNamespace",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PartnerNamespace, global::System.Convert.ToString); } if (content.Contains("AlternateName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).AlternateName, global::System.Convert.ToString); } if (content.Contains("Role")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery?) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery.CreateFrom); } if (content.Contains("PendingReplicationOperationsCount")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount = (long?) content.GetValueForProperty("PendingReplicationOperationsCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal)this).PendingReplicationOperationsCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ArmDisasterRecoveryProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ArmDisasterRecoveryProperties(content); } @@ -171,7 +171,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.TypeConverter.cs index 8242721bf859..e7f08dbc6b7f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.cs similarity index 93% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.cs index 7ac45700bfd7..0a84194b598d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ArmDisasterRecoveryProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal { /// Backing field for property. @@ -24,13 +24,13 @@ public partial class ArmDisasterRecoveryProperties : public string AlternateName { get => this._alternateName; set => this._alternateName = value; } /// Internal Acessors for PendingReplicationOperationsCount - long? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal.PendingReplicationOperationsCount { get => this._pendingReplicationOperationsCount; set { {_pendingReplicationOperationsCount = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal.PendingReplicationOperationsCount { get => this._pendingReplicationOperationsCount; set { {_pendingReplicationOperationsCount = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateDr? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for Role - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryPropertiesInternal.Role { get => this._role; set { {_role = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.RoleDisasterRecovery? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryPropertiesInternal.Role { get => this._role; set { {_role = value;} } } /// Backing field for property. private string _partnerNamespace; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.json.cs index 277a6868d40c..9381c09ef8c5 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ArmDisasterRecoveryProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ArmDisasterRecoveryProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -76,13 +76,13 @@ internal ArmDisasterRecoveryProperties(Microsoft.Azure.PowerShell.Cmdlets.EventH } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ArmDisasterRecoveryProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.PowerShell.cs similarity index 53% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.PowerShell.cs index 13e0c75f257f..9286d6321ec4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.PowerShell.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - /// Single item in List or Get Consumer group operation - [System.ComponentModel.TypeConverter(typeof(ConsumerGroupTypeConverter))] - public partial class ConsumerGroup + /// Single item in a List or Get AuthorizationRule operation + [System.ComponentModel.TypeConverter(typeof(AuthorizationRuleTypeConverter))] + public partial class AuthorizationRule { /// @@ -63,11 +63,11 @@ public partial class ConsumerGroup partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal ConsumerGroup(global::System.Collections.IDictionary content) + internal AuthorizationRule(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -78,11 +78,11 @@ internal ConsumerGroup(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRulePropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -102,49 +102,41 @@ internal ConsumerGroup(global::System.Collections.IDictionary content) } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("CreatedAt")) + if (content.Contains("Rights")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UserMetadata")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UserMetadata, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal ConsumerGroup(global::System.Management.Automation.PSObject content) + internal AuthorizationRule(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -155,11 +147,11 @@ internal ConsumerGroup(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRulePropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -179,75 +171,67 @@ internal ConsumerGroup(global::System.Management.Automation.PSObject content) } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("CreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("UserMetadata")) + if (content.Contains("Rights")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).UserMetadata, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new ConsumerGroup(content); + return new AuthorizationRule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new ConsumerGroup(content); + return new AuthorizationRule(content); } /// - /// Creates a new instance of , deserializing the content from a json string. + /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -266,9 +250,9 @@ public override string ToString() return ToJsonString(); } } - /// Single item in List or Get Consumer group operation - [System.ComponentModel.TypeConverter(typeof(ConsumerGroupTypeConverter))] - public partial interface IConsumerGroup + /// Single item in a List or Get AuthorizationRule operation + [System.ComponentModel.TypeConverter(typeof(AuthorizationRuleTypeConverter))] + public partial interface IAuthorizationRule { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.TypeConverter.cs index 810ac2373835..a0c8e6390b7d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.cs index cd779c3250a9..0f0ffe6da3a5 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in a List or Get AuthorizationRule operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AuthorizationRule : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -43,21 +43,21 @@ public partial class AuthorizationRule : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleProperties()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties _property; /// Properties supplied to create or update AuthorizationRule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleProperties()); set => this._property = value; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -65,7 +65,7 @@ public partial class AuthorizationRule : /// The rights associated with the rule. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[] Rights { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)Property).Rights; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)Property).Rights = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[] Rights { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)Property).Rights; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)Property).Rights = value ?? null /* arrayOf */; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -190,7 +190,7 @@ internal partial interface IAuthorizationRuleInternal : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal { /// Properties supplied to create or update AuthorizationRule - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties Property { get; set; } /// The rights associated with the rule. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[] Rights { get; set; } /// The system meta data relating to this resource. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.json.cs index 0981ab0989e5..b0cfe4999819 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRule.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,19 +66,19 @@ internal AuthorizationRule(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.J return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AuthorizationRule(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.PowerShell.cs similarity index 75% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.PowerShell.cs index 4aebdcfcbb0c..76cf0bf7ad8d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AuthorizationRuleListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal AuthorizationRuleListResult(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal AuthorizationRuleListResult(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AuthorizationRuleListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AuthorizationRuleListResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.TypeConverter.cs index b07be0170972..eee8be23cde6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.cs similarity index 88% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.cs index 7073e2bad962..73bbc18b0993 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response from the List namespace operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AuthorizationRuleListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class AuthorizationRuleListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[] _value; /// Result of the List Authorization Rules operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public AuthorizationRuleListResult() @@ -56,8 +56,8 @@ public partial interface IAuthorizationRuleListResult : ReadOnly = false, Description = @"Result of the List Authorization Rules operation.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[] Value { get; set; } } /// The response from the List namespace operation. @@ -69,7 +69,7 @@ internal partial interface IAuthorizationRuleListResultInternal /// string NextLink { get; set; } /// Result of the List Authorization Rules operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.json.cs index 3c8568a47286..a04dc67dccac 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AuthorizationRuleListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AuthorizationRuleListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.PowerShell.cs similarity index 80% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.PowerShell.cs index 20d24b9d6386..cbfb05ca628d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AuthorizationRuleProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,13 +78,13 @@ internal AuthorizationRuleProperties(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Rights")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,35 +99,35 @@ internal AuthorizationRuleProperties(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Rights")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)this).Rights = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights[]) content.GetValueForProperty("Rights",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal)this).Rights, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.AccessRights.CreateFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AuthorizationRuleProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AuthorizationRuleProperties(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.TypeConverter.cs index ad37f995b197..9517a1e8e325 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.cs index efa3426b4091..e43205796cf3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties supplied to create or update AuthorizationRule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AuthorizationRuleProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRulePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRulePropertiesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.json.cs index 70f3f478d26b..d116a94a582a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AuthorizationRuleProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AuthorizationRuleProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -70,13 +70,13 @@ internal AuthorizationRuleProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AuthorizationRuleProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.PowerShell.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.PowerShell.cs index b47108b958e9..f77427654efc 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AvailableCluster partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,13 +78,13 @@ internal AvailableCluster(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClusterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClusterInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClusterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClusterInternal)this).Location, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,33 +99,33 @@ internal AvailableCluster(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClusterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClusterInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClusterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClusterInternal)this).Location, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AvailableCluster(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AvailableCluster(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.TypeConverter.cs index f38a5560d810..43cbbe91037a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.cs index 8c67f8163cfe..62787ff06f6b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Pre-provisioned and readily available Event Hubs Cluster count per region. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AvailableCluster : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClusterInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClusterInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.json.cs index bffee80a84b4..a83d74325b95 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableCluster.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableCluster.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -70,13 +70,13 @@ internal AvailableCluster(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Js } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AvailableCluster(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.PowerShell.cs similarity index 79% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.PowerShell.cs index 5e4a4a595b25..6cfe4101fee3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AvailableClustersList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,13 +78,13 @@ internal AvailableClustersList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AvailableClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AvailableClusterTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,35 +99,35 @@ internal AvailableClustersList(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AvailableClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AvailableClusterTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AvailableClustersList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AvailableClustersList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.TypeConverter.cs index 4c2b6f667b3a..e80ebf301564 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.cs index 737a64af3fcf..09ae92242dff 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response of the List Available Clusters operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class AvailableClustersList : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersListInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersListInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[] _value; /// /// The count of readily available and pre-provisioned Event Hubs Clusters per region. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public AvailableClustersList() @@ -41,8 +41,8 @@ public partial interface IAvailableClustersList : ReadOnly = false, Description = @"The count of readily available and pre-provisioned Event Hubs Clusters per region.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[] Value { get; set; } } /// The response of the List Available Clusters operation. @@ -52,7 +52,7 @@ internal partial interface IAvailableClustersListInternal /// /// The count of readily available and pre-provisioned Event Hubs Clusters per region. /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.json.cs index 9a5a735099b0..3f27473b83f1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/AvailableClustersList.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/AvailableClustersList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,18 +65,18 @@ internal AvailableClustersList(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AvailableCluster.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AvailableCluster.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new AvailableClustersList(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.PowerShell.cs new file mode 100644 index 000000000000..77908ff551b2 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.PowerShell.cs @@ -0,0 +1,292 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Properties to configure capture description for eventhub + [System.ComponentModel.TypeConverter(typeof(CaptureDescriptionTypeConverter))] + public partial class CaptureDescription + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CaptureDescription(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Destination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Destination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("Destination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Destination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Encoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("IntervalInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IntervalInSecond = (int?) content.GetValueForProperty("IntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SizeLimitInByte")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SizeLimitInByte = (int?) content.GetValueForProperty("SizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CaptureDescription(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Destination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Destination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("Destination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Destination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Encoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("IntervalInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IntervalInSecond = (int?) content.GetValueForProperty("IntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SizeLimitInByte")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SizeLimitInByte = (int?) content.GetValueForProperty("SizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CaptureDescription(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CaptureDescription(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties to configure capture description for eventhub + [System.ComponentModel.TypeConverter(typeof(CaptureDescriptionTypeConverter))] + public partial interface ICaptureDescription + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.TypeConverter.cs index 98b4684aab49..b582818ee9a7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.cs similarity index 69% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.cs index bdcb823d645a..49518e05179e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties to configure capture description for eventhub [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class CaptureDescription : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal { /// @@ -19,36 +19,36 @@ public partial class CaptureDescription : /// Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).ArchiveNameFormat = value ?? null; } + public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).ArchiveNameFormat = value ?? null; } /// Blob container Name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).BlobContainer = value ?? null; } + public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).BlobContainer = value ?? null; } /// The Azure Data Lake Store name for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeAccountName = value ?? null; } + public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeAccountName = value ?? null; } /// The destination folder path for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeFolderPath = value ?? null; } + public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeFolderPath = value ?? null; } /// Subscription Id of Azure Data Lake Store [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).DataLakeSubscriptionId = value ?? null; } + public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).DataLakeSubscriptionId = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination _destination; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination _destination; /// /// Properties of Destination where capture will be stored. (Storage Account, Blob Names) /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination Destination { get => (this._destination = this._destination ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Destination()); set => this._destination = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination Destination { get => (this._destination = this._destination ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Destination()); set => this._destination = value; } /// Name for capture destination [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).Name = value ?? null; } + public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Name = value ?? null; } /// Backing field for property. private bool? _enabled; @@ -67,6 +67,17 @@ public partial class CaptureDescription : [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get => this._encoding; set => this._encoding = value; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).IdentityType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType)""); } + + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).IdentityUserAssignedIdentity = value ?? null; } + /// Backing field for property. private int? _intervalInSecond; @@ -78,10 +89,13 @@ public partial class CaptureDescription : public int? IntervalInSecond { get => this._intervalInSecond; set => this._intervalInSecond = value; } /// Internal Acessors for Destination - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal.Destination { get => (this._destination = this._destination ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Destination()); set { {_destination = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal.Destination { get => (this._destination = this._destination ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Destination()); set { {_destination = value;} } } + + /// Internal Acessors for DestinationIdentity + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal.DestinationIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Identity = value; } /// Internal Acessors for DestinationProperty - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).Property = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).Property = value; } /// Backing field for property. private int? _sizeLimitInByte; @@ -102,7 +116,7 @@ public partial class CaptureDescription : /// Resource id of the storage account to be used to create the blobs [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)Destination).StorageAccountResourceId = value ?? null; } + public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)Destination).StorageAccountResourceId = value ?? null; } /// Creates an new instance. public CaptureDescription() @@ -184,6 +198,25 @@ public partial interface ICaptureDescription : SerializedName = @"encoding", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription) })] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get; set; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + string IdentityUserAssignedIdentity { get; set; } /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds @@ -244,13 +277,15 @@ internal partial interface ICaptureDescriptionInternal /// /// Properties of Destination where capture will be stored. (Storage Account, Blob Names) /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination Destination { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination Destination { get; set; } + /// A value that indicates whether capture description is enabled. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity DestinationIdentity { get; set; } /// Name for capture destination string DestinationName { get; set; } /// /// Properties describing the storage account, blob container and archive name format for capture destination /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties DestinationProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties DestinationProperty { get; set; } /// A value that indicates whether capture description is enabled. bool? Enabled { get; set; } /// @@ -258,6 +293,13 @@ internal partial interface ICaptureDescriptionInternal /// in New API Version /// Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get; set; } + /// Type of Azure Active Directory Managed Identity. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + string IdentityUserAssignedIdentity { get; set; } /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.json.cs index 3f640c101625..a1945d12ce26 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CaptureDescription.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureDescription.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,7 +65,7 @@ internal CaptureDescription(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. { return; } - {_destination = If( json?.PropertyT("destination"), out var __jsonDestination) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Destination.FromJson(__jsonDestination) : Destination;} + {_destination = If( json?.PropertyT("destination"), out var __jsonDestination) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Destination.FromJson(__jsonDestination) : Destination;} {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool?)__jsonEnabled : Enabled;} {_encoding = If( json?.PropertyT("encoding"), out var __jsonEncoding) ? (string)__jsonEncoding : (string)Encoding;} {_intervalInSecond = If( json?.PropertyT("intervalInSeconds"), out var __jsonIntervalInSeconds) ? (int?)__jsonIntervalInSeconds : IntervalInSecond;} @@ -75,13 +75,13 @@ internal CaptureDescription(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new CaptureDescription(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.PowerShell.cs new file mode 100644 index 000000000000..b77aa78c43da --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// A value that indicates whether capture description is enabled. + [System.ComponentModel.TypeConverter(typeof(CaptureIdentityTypeConverter))] + public partial class CaptureIdentity + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CaptureIdentity(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CaptureIdentity(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CaptureIdentity(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CaptureIdentity(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// A value that indicates whether capture description is enabled. + [System.ComponentModel.TypeConverter(typeof(CaptureIdentityTypeConverter))] + public partial interface ICaptureIdentity + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.TypeConverter.cs new file mode 100644 index 000000000000..4bf582d30299 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CaptureIdentityTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CaptureIdentity.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CaptureIdentity.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CaptureIdentity.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.cs new file mode 100644 index 000000000000..52a29645168a --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.cs @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// A value that indicates whether capture description is enabled. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class CaptureIdentity : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? _type; + + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? Type { get => this._type; set => this._type = value; } + + /// Backing field for property. + private string _userAssignedIdentity; + + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string UserAssignedIdentity { get => this._userAssignedIdentity; set => this._userAssignedIdentity = value; } + + /// Creates an new instance. + public CaptureIdentity() + { + + } + } + /// A value that indicates whether capture description is enabled. + public partial interface ICaptureIdentity : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? Type { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + string UserAssignedIdentity { get; set; } + + } + /// A value that indicates whether capture description is enabled. + internal partial interface ICaptureIdentityInternal + + { + /// Type of Azure Active Directory Managed Identity. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? Type { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + string UserAssignedIdentity { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.json.cs new file mode 100644 index 000000000000..fc738259102e --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CaptureIdentity.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// A value that indicates whether capture description is enabled. + public partial class CaptureIdentity + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal CaptureIdentity(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} + {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentity"), out var __jsonUserAssignedIdentity) ? (string)__jsonUserAssignedIdentity : (string)UserAssignedIdentity;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new CaptureIdentity(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add ); + AddIf( null != (((object)this._userAssignedIdentity)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._userAssignedIdentity.ToString()) : null, "userAssignedIdentity" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.PowerShell.cs similarity index 83% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.PowerShell.cs index 76c871fab349..b720ece65376 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class CheckNameAvailabilityParameter partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,13 +78,13 @@ internal CheckNameAvailabilityParameter(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameterInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameterInternal)this).Name, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,35 +99,35 @@ internal CheckNameAvailabilityParameter(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameterInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameterInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameterInternal)this).Name, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameAvailabilityParameter(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityParameter(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.TypeConverter.cs index ca66a03e9d7b..53c5b3a61ed3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.cs index 84286ae1294d..e21904b98aae 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Parameter supplied to check Namespace name availability operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class CheckNameAvailabilityParameter : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameterInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameterInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.json.cs index ab7307cddd58..f966d80f2391 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityParameter.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityParameter.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -70,13 +70,13 @@ internal CheckNameAvailabilityParameter(Microsoft.Azure.PowerShell.Cmdlets.Event } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new CheckNameAvailabilityParameter(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.PowerShell.cs similarity index 74% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.PowerShell.cs index 9cc901932176..bf306e54690b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class CheckNameAvailabilityResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,21 +78,21 @@ internal CheckNameAvailabilityResult(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -107,43 +107,43 @@ internal CheckNameAvailabilityResult(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.UnavailableReason.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameAvailabilityResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityResult(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.TypeConverter.cs index d2d9e7894440..e13d81d6eba0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.cs index 6638e969c0c8..ae5526e4daec 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The Result of the CheckNameAvailability operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class CheckNameAvailabilityResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal { /// Backing field for property. @@ -22,7 +22,7 @@ public partial class CheckNameAvailabilityResult : public string Message { get => this._message; } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResultInternal.Message { get => this._message; set { {_message = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResultInternal.Message { get => this._message; set { {_message = value;} } } /// Backing field for property. private bool? _nameAvailable; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.json.cs index 6a07b22c305a..3ffc66a155bf 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/CheckNameAvailabilityResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/CheckNameAvailabilityResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -72,13 +72,13 @@ internal CheckNameAvailabilityResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new CheckNameAvailabilityResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.PowerShell.cs similarity index 57% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.PowerShell.cs index 3c67c86f58b1..a206c3907e5f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class Cluster partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,15 +78,15 @@ internal Cluster(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Sku")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterSkuTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -110,61 +110,65 @@ internal Cluster(global::System.Collections.IDictionary content) } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState.CreateFrom); } if (content.Contains("SkuName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SkuName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SkuName, global::System.Convert.ToString); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).CreatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).CreatedAt, global::System.Convert.ToString); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).UpdatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).UpdatedAt, global::System.Convert.ToString); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).MetricId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).MetricId, global::System.Convert.ToString); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SupportsScaling")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -179,15 +183,15 @@ internal Cluster(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Sku")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterSkuTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -211,81 +215,85 @@ internal Cluster(global::System.Management.Automation.PSObject content) } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState.CreateFrom); } if (content.Contains("SkuName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SkuName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SkuName = (string) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SkuName, global::System.Convert.ToString); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).CreatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).CreatedAt, global::System.Convert.ToString); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).UpdatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).UpdatedAt, global::System.Convert.ToString); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).MetricId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).MetricId, global::System.Convert.ToString); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SupportsScaling")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Cluster(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Cluster(content); } @@ -295,7 +303,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.TypeConverter.cs index ca6d7ca8e695..ef2552bcbc06 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.cs similarity index 80% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.cs index d7054c3eb9b1..b004856b44de 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single Event Hubs Cluster resource in List or Get operations. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Cluster : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,11 +22,11 @@ public partial class Cluster : /// The quantity of Event Hubs Cluster Capacity Units contained in this cluster. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? Capacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)Sku).Capacity = value ?? default(int); } + public int? Capacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)Sku).Capacity = value ?? default(int); } /// The UTC time when the Event Hubs Cluster was created. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).CreatedAt; } + public string CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).CreatedAt; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -42,7 +42,7 @@ public partial class Cluster : /// The metric ID of the cluster resource. Provided by the service and not modifiable by the user. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).MetricId; } + public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).MetricId; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Id = value; } @@ -54,62 +54,69 @@ public partial class Cluster : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Type = value; } /// Internal Acessors for CreatedAt - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).CreatedAt = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).CreatedAt = value; } /// Internal Acessors for MetricId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).MetricId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).MetricId = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterProperties()); set { {_property = value;} } } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Sku - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterSku()); set { {_sku = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterSku()); set { {_sku = value;} } } /// Internal Acessors for SkuName - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)Sku).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)Sku).Name = value; } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).Status = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).Status = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for UpdatedAt - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).UpdatedAt = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).UpdatedAt = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties _property; /// Event Hubs Cluster properties supplied in responses in List or Get operations. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterProperties()); set => this._property = value; } + + /// Provisioning state of the Cluster. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).ProvisioningState; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku _sku; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku _sku; /// Properties of the cluster SKU. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterSku()); set => this._sku = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterSku()); set => this._sku = value; } /// Name of this SKU. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)Sku).Name; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)Sku).Name; } /// Status of the Cluster resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).Status; } + public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).Status; } /// A value that indicates whether Scaling is Supported. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? SupportsScaling { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).SupportsScaling; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).SupportsScaling = value ?? default(bool); } + public bool? SupportsScaling { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).SupportsScaling; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).SupportsScaling = value ?? default(bool); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -154,7 +161,7 @@ public partial class Cluster : /// The UTC time when the Event Hubs Cluster was last updated. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)Property).UpdatedAt; } + public string UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)Property).UpdatedAt; } /// Creates an new instance. public Cluster() @@ -205,6 +212,14 @@ public partial interface ICluster : SerializedName = @"metricId", PossibleTypes = new [] { typeof(string) })] string MetricId { get; } + /// Provisioning state of the Cluster. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Provisioning state of the Cluster.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get; } /// Name of this SKU. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -300,9 +315,11 @@ internal partial interface IClusterInternal : /// string MetricId { get; set; } /// Event Hubs Cluster properties supplied in responses in List or Get operations. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties Property { get; set; } + /// Provisioning state of the Cluster. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get; set; } /// Properties of the cluster SKU. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku Sku { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku Sku { get; set; } /// Name of this SKU. string SkuName { get; set; } /// Status of the Cluster resource diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.json.cs index bd41359f1dac..0a517c8e6d65 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Cluster.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Cluster.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,20 +66,20 @@ internal Cluster(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonOb return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResource(json); - {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterSku.FromJson(__jsonSku) : Sku;} + {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterSku.FromJson(__jsonSku) : Sku;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Cluster(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.PowerShell.cs index f1e962968216..6de8d1a7829a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ClusterListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ClusterListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,37 +103,37 @@ internal ClusterListResult(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ClusterTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterListResult(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.TypeConverter.cs index 95f1bdf6410e..7cfa05b10e97 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.cs index 307b68506500..0b45cb77d3d1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response of the List Event Hubs Clusters operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ClusterListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class ClusterListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[] _value; /// The Event Hubs Clusters present in the List Event Hubs operation results. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ClusterListResult() @@ -56,8 +56,8 @@ public partial interface IClusterListResult : ReadOnly = false, Description = @"The Event Hubs Clusters present in the List Event Hubs operation results.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[] Value { get; set; } } /// The response of the List Event Hubs Clusters operation. @@ -69,7 +69,7 @@ internal partial interface IClusterListResultInternal /// string NextLink { get; set; } /// The Event Hubs Clusters present in the List Event Hubs operation results. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.json.cs index afd66b4dad18..0fe4b72911ac 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal ClusterListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.J { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Cluster.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Cluster.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ClusterListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.PowerShell.cs similarity index 66% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.PowerShell.cs index 8344b4b26631..bfb3cd3b944b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ClusterProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,29 +78,33 @@ internal ClusterProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).CreatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).CreatedAt, global::System.Convert.ToString); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState.CreateFrom); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).UpdatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).UpdatedAt, global::System.Convert.ToString); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).MetricId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).MetricId, global::System.Convert.ToString); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SupportsScaling")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,49 +119,53 @@ internal ClusterProperties(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).CreatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).CreatedAt = (string) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).CreatedAt, global::System.Convert.ToString); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState.CreateFrom); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).UpdatedAt, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).UpdatedAt = (string) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).UpdatedAt, global::System.Convert.ToString); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).MetricId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).MetricId, global::System.Convert.ToString); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SupportsScaling")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).SupportsScaling = (bool?) content.GetValueForProperty("SupportsScaling",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal)this).SupportsScaling, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterProperties(content); } @@ -167,7 +175,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.TypeConverter.cs index 7b66e6dee3be..4343d1e191c4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.cs index 21b6356ae282..55d40095e272 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Event Hubs Cluster properties supplied in responses in List or Get operations. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ClusterProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal { /// Backing field for property. @@ -31,16 +31,26 @@ public partial class ClusterProperties : public string MetricId { get => this._metricId; } /// Internal Acessors for CreatedAt - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } /// Internal Acessors for MetricId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal.MetricId { get => this._metricId; set { {_metricId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal.MetricId { get => this._metricId; set { {_metricId = value;} } } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal.Status { get => this._status; set { {_status = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal.Status { get => this._status; set { {_status = value;} } } /// Internal Acessors for UpdatedAt - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? _provisioningState; + + /// Provisioning state of the Cluster. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } /// Backing field for property. private string _status; @@ -91,6 +101,14 @@ public partial interface IClusterProperties : SerializedName = @"metricId", PossibleTypes = new [] { typeof(string) })] string MetricId { get; } + /// Provisioning state of the Cluster. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Provisioning state of the Cluster.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get; } /// Status of the Cluster resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -127,6 +145,8 @@ internal partial interface IClusterPropertiesInternal /// The metric ID of the cluster resource. Provided by the service and not modifiable by the user. /// string MetricId { get; set; } + /// Provisioning state of the Cluster. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState? ProvisioningState { get; set; } /// Status of the Cluster resource string Status { get; set; } /// A value that indicates whether Scaling is Supported. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.json.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.json.cs index 0cce429c7e77..93c0a748cc36 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,6 +66,7 @@ internal ClusterProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.J return; } {_createdAt = If( json?.PropertyT("createdAt"), out var __jsonCreatedAt) ? (string)__jsonCreatedAt : (string)CreatedAt;} + {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_updatedAt = If( json?.PropertyT("updatedAt"), out var __jsonUpdatedAt) ? (string)__jsonUpdatedAt : (string)UpdatedAt;} {_metricId = If( json?.PropertyT("metricId"), out var __jsonMetricId) ? (string)__jsonMetricId : (string)MetricId;} {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} @@ -74,13 +75,13 @@ internal ClusterProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.J } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ClusterProperties(json) : null; } @@ -109,6 +110,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson( AddIf( null != (((object)this._createdAt)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._createdAt.ToString()) : null, "createdAt" ,container.Add ); } if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) { AddIf( null != (((object)this._updatedAt)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._updatedAt.ToString()) : null, "updatedAt" ,container.Add ); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.PowerShell.cs similarity index 81% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.PowerShell.cs index dac25b77fea1..f650c91daca7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ClusterSku partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ClusterSku(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,37 +103,37 @@ internal ClusterSku(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterSku(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterSku(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.TypeConverter.cs index 39b44d0139a7..071b2fb98717 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.cs index a70678d560b2..0ff4a692155d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// SKU parameters particular to a cluster instance. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ClusterSku : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal { /// Backing field for property. @@ -22,7 +22,7 @@ public partial class ClusterSku : public int? Capacity { get => this._capacity; set => this._capacity = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSkuInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSkuInternal.Name { get => this._name; set { {_name = value;} } } /// Backing field for property. private string _name= @"Dedicated"; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.json.cs index 3e6fec43979a..16675c25fa98 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ClusterSku.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ClusterSku.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -71,13 +71,13 @@ internal ClusterSku(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ClusterSku(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.PowerShell.cs similarity index 78% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.PowerShell.cs index faf8f289b61a..a3ca26c90f46 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ConnectionState partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ConnectionState(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,37 +103,37 @@ internal ConnectionState(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ConnectionState(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ConnectionState(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.TypeConverter.cs index 9cb03158741f..6f03530afce1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.cs index 5d9fd40e00a7..e7bc850520ca 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// ConnectionState information. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ConnectionState : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.json.cs index 63681f361c73..3f5dd7c47e44 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConnectionState.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConnectionState.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -71,13 +71,13 @@ internal ConnectionState(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ConnectionState(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.PowerShell.cs similarity index 62% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.PowerShell.cs index a2a84d949ee5..e117e00a07bc 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.PowerShell.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; - /// Single item in List or Get Schema Group operation - [System.ComponentModel.TypeConverter(typeof(SchemaGroupTypeConverter))] - public partial class SchemaGroup + /// Single item in List or Get Consumer group operation + [System.ComponentModel.TypeConverter(typeof(ConsumerGroupTypeConverter))] + public partial class ConsumerGroup { /// @@ -63,44 +63,11 @@ public partial class SchemaGroup partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new SchemaGroup(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new SchemaGroup(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal SchemaGroup(global::System.Collections.IDictionary content) + internal ConsumerGroup(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -111,11 +78,11 @@ internal SchemaGroup(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties1TypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -133,63 +100,51 @@ internal SchemaGroup(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); } - if (content.Contains("SchemaCompatibility")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); - } - if (content.Contains("SchemaType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); - } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("UpdatedAtUtc")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("CreatedAtUtc")) + if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("ETag")) + if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("GroupProperty")) + if (content.Contains("UserMetadata")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UserMetadata, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal SchemaGroup(global::System.Management.Automation.PSObject content) + internal ConsumerGroup(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -200,11 +155,11 @@ internal SchemaGroup(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties1TypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -222,57 +177,78 @@ internal SchemaGroup(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); } - if (content.Contains("SchemaCompatibility")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); - } - if (content.Contains("SchemaType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); - } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("UpdatedAtUtc")) + if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("CreatedAtUtc")) + if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } - if (content.Contains("ETag")) + if (content.Contains("UserMetadata")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).ETag, global::System.Convert.ToString); - } - if (content.Contains("GroupProperty")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).UserMetadata, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ConsumerGroup(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ConsumerGroup(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + /// Serializes this instance to a json string. /// a containing this model serialized to JSON text. @@ -290,9 +266,9 @@ public override string ToString() return ToJsonString(); } } - /// Single item in List or Get Schema Group operation - [System.ComponentModel.TypeConverter(typeof(SchemaGroupTypeConverter))] - public partial interface ISchemaGroup + /// Single item in List or Get Consumer group operation + [System.ComponentModel.TypeConverter(typeof(ConsumerGroupTypeConverter))] + public partial interface IConsumerGroup { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.TypeConverter.cs index 6b2977747e46..4aba03cef0f8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.cs index 5ca4fb62bdf2..65b98cfbf5e7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in List or Get Consumer group operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ConsumerGroup : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,7 +22,7 @@ public partial class ConsumerGroup : /// Exact time the message was created. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt; } + public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -47,27 +47,27 @@ public partial class ConsumerGroup : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).CreatedAt = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupProperties()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties _property; /// Single item in List or Get Consumer group operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupProperties()); set => this._property = value; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -112,7 +112,7 @@ public partial class ConsumerGroup : /// The exact time the message was updated. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt; } + public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).UpdatedAt; } /// /// User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store @@ -120,7 +120,7 @@ public partial class ConsumerGroup : /// stored. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string UserMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).UserMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)Property).UserMetadata = value ?? null; } + public string UserMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).UserMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)Property).UserMetadata = value ?? null; } /// Creates an new instance. public ConsumerGroup() @@ -230,7 +230,7 @@ internal partial interface IConsumerGroupInternal : /// Exact time the message was created. global::System.DateTime? CreatedAt { get; set; } /// Single item in List or Get Consumer group operation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties Property { get; set; } /// The system meta data relating to this resource. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData SystemData { get; set; } /// The timestamp of resource creation (UTC). diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.json.cs index dfeeade139dd..e33a966c536e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroup.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroup.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,19 +66,19 @@ internal ConsumerGroup(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json. return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ConsumerGroup(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.PowerShell.cs index 2f23ffceb7ab..68734818c6fb 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ConsumerGroupListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal ConsumerGroupListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal ConsumerGroupListResult(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ConsumerGroupListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ConsumerGroupListResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.TypeConverter.cs index d8a916706438..597d5e3ff4d9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.cs index c17d84b82897..f77eadb1039b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The result to the List Consumer Group operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ConsumerGroupListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class ConsumerGroupListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[] _value; /// Result of the List Consumer Group operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ConsumerGroupListResult() @@ -56,8 +56,8 @@ public partial interface IConsumerGroupListResult : ReadOnly = false, Description = @"Result of the List Consumer Group operation.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[] Value { get; set; } } /// The result to the List Consumer Group operation. @@ -69,7 +69,7 @@ internal partial interface IConsumerGroupListResultInternal /// string NextLink { get; set; } /// Result of the List Consumer Group operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.json.cs index 96813f78abb0..71b6f4172592 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal ConsumerGroupListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Run { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroup.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroup.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ConsumerGroupListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.PowerShell.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.PowerShell.cs index 7bf87877cb3b..f19afb747e40 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class ConsumerGroupProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,21 +78,21 @@ internal ConsumerGroupProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("UserMetadata")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UserMetadata, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UserMetadata, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -107,43 +107,43 @@ internal ConsumerGroupProperties(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("CreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("UpdatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("UserMetadata")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal)this).UserMetadata, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UserMetadata = (string) content.GetValueForProperty("UserMetadata",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal)this).UserMetadata, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ConsumerGroupProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ConsumerGroupProperties(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.TypeConverter.cs index 4e5672dcf754..623f94e590f7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.cs similarity index 93% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.cs index 1c9f77c0235e..c8c6c53b1e0c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in List or Get Consumer group operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ConsumerGroupProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal { /// Backing field for property. @@ -22,10 +22,10 @@ public partial class ConsumerGroupProperties : public global::System.DateTime? CreatedAt { get => this._createdAt; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } /// Backing field for property. private global::System.DateTime? _updatedAt; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.json.cs index 0502fde0f4cf..026129635c77 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ConsumerGroupProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ConsumerGroupProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -72,13 +72,13 @@ internal ConsumerGroupProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Run } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ConsumerGroupProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.PowerShell.cs similarity index 53% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.PowerShell.cs index e5eda0cbd773..88e83739396b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,33 +63,33 @@ public partial class Destination partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Destination(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Destination(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,43 +102,55 @@ internal Destination(global::System.Collections.IDictionary content) return; } // actually deserialize + if (content.Contains("Identity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); } if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainer")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).BlobContainer, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).BlobContainer, global::System.Convert.ToString); } if (content.Contains("ArchiveNameFormat")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).ArchiveNameFormat, global::System.Convert.ToString); } if (content.Contains("DataLakeSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); } if (content.Contains("DataLakeAccountName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeAccountName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeAccountName, global::System.Convert.ToString); } if (content.Contains("DataLakeFolderPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeFolderPath, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -151,37 +163,49 @@ internal Destination(global::System.Management.Automation.PSObject content) return; } // actually deserialize + if (content.Contains("Identity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); } if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainer")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).BlobContainer, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).BlobContainer, global::System.Convert.ToString); } if (content.Contains("ArchiveNameFormat")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).ArchiveNameFormat, global::System.Convert.ToString); } if (content.Contains("DataLakeSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); } if (content.Contains("DataLakeAccountName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeAccountName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeAccountName, global::System.Convert.ToString); } if (content.Contains("DataLakeFolderPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal)this).DataLakeFolderPath, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -191,7 +215,7 @@ internal Destination(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.TypeConverter.cs index 6ab2bd2c04d5..8c27081a1926 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.cs similarity index 55% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.cs index 5bfdb451af8c..2daa0fcdca68 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Capture storage details for capture description [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Destination : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal { /// @@ -19,26 +19,47 @@ public partial class Destination : /// Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).ArchiveNameFormat = value ?? null; } + public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).ArchiveNameFormat = value ?? null; } /// Blob container Name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).BlobContainer = value ?? null; } + public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).BlobContainer = value ?? null; } /// The Azure Data Lake Store name for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeAccountName = value ?? null; } + public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeAccountName = value ?? null; } /// The destination folder path for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeFolderPath = value ?? null; } + public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeFolderPath = value ?? null; } /// Subscription Id of Azure Data Lake Store [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).DataLakeSubscriptionId = value ?? null; } + public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).DataLakeSubscriptionId = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity _identity; + + /// A value that indicates whether capture description is enabled. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentity()); set => this._identity = value; } + + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType)""); } + + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentityInternal)Identity).UserAssignedIdentity = value ?? null; } + + /// Internal Acessors for Identity + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentity()); set { {_identity = value;} } } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationProperties()); set { {_property = value;} } } /// Backing field for property. private string _name; @@ -48,17 +69,17 @@ public partial class Destination : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties _property; /// /// Properties describing the storage account, blob container and archive name format for capture destination /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationProperties()); set => this._property = value; } /// Resource id of the storage account to be used to create the blobs [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)Property).StorageAccountResourceId = value ?? null; } + public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)Property).StorageAccountResourceId = value ?? null; } /// Creates an new instance. public Destination() @@ -113,6 +134,25 @@ public partial interface IDestination : SerializedName = @"dataLakeSubscriptionId", PossibleTypes = new [] { typeof(string) })] string DataLakeSubscriptionId { get; set; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + string IdentityUserAssignedIdentity { get; set; } /// Name for capture destination [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -148,12 +188,21 @@ internal partial interface IDestinationInternal string DataLakeFolderPath { get; set; } /// Subscription Id of Azure Data Lake Store string DataLakeSubscriptionId { get; set; } + /// A value that indicates whether capture description is enabled. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Identity { get; set; } + /// Type of Azure Active Directory Managed Identity. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + string IdentityUserAssignedIdentity { get; set; } /// Name for capture destination string Name { get; set; } /// /// Properties describing the storage account, blob container and archive name format for capture destination /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Property { get; set; } /// Resource id of the storage account to be used to create the blobs string StorageAccountResourceId { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.json.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.json.cs index 154880330f27..9f6ca6dafae4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Destination.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Destination.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,20 @@ internal Destination(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Js { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.DestinationProperties.FromJson(__jsonProperties) : Property;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentity.FromJson(__jsonIdentity) : Identity;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationProperties.FromJson(__jsonProperties) : Property;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Destination(json) : null; } @@ -101,6 +102,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson( { return container; } + AddIf( null != this._identity ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._identity.ToJson(null,serializationMode) : null, "identity" ,container.Add ); AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); AddIf( null != (((object)this._name)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._name.ToString()) : null, "name" ,container.Add ); AfterToJson(ref container); diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.PowerShell.cs similarity index 67% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.PowerShell.cs index c9a87ba366a3..fee540752153 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -65,35 +65,35 @@ public partial class DestinationProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DestinationProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DestinationProperties(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,33 +108,33 @@ internal DestinationProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainer")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); } if (content.Contains("ArchiveNameFormat")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); } if (content.Contains("DataLakeSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); } if (content.Contains("DataLakeAccountName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); } if (content.Contains("DataLakeFolderPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -149,27 +149,27 @@ internal DestinationProperties(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainer")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); } if (content.Contains("ArchiveNameFormat")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); } if (content.Contains("DataLakeSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); } if (content.Contains("DataLakeAccountName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); } if (content.Contains("DataLakeFolderPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -179,7 +179,7 @@ internal DestinationProperties(global::System.Management.Automation.PSObject con /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.TypeConverter.cs index 00f81c690e7f..2e81d035fa52 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.cs similarity index 98% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.cs index d3364f86ede9..2abe58138019 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class DestinationProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationPropertiesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.json.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.json.cs index 8b90e0becdb1..a1b816e893c1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/DestinationProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/DestinationProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -77,13 +77,13 @@ internal DestinationProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new DestinationProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.PowerShell.cs new file mode 100644 index 000000000000..6f3e963a0eba --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.PowerShell.cs @@ -0,0 +1,516 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Single Namespace item in List or Get Operation + [System.ComponentModel.TypeConverter(typeof(EhNamespaceTypeConverter))] + public partial class EhNamespace + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new EhNamespace(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new EhNamespace(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal EhNamespace(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Sku")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SkuTypeConverter.ConvertFrom); + } + if (content.Contains("Identity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespacePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("Tag")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); + } + if (content.Contains("SkuName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); + } + if (content.Contains("SkuTier")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); + } + if (content.Contains("SkuCapacity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("PrincipalId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrincipalId, global::System.Convert.ToString); + } + if (content.Contains("TenantId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).TenantId, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("Encryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EncryptionTypeConverter.ConvertFrom); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("GeoDataReplication")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplication = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties) content.GetValueForProperty("GeoDataReplication",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplication, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ProvisioningState, global::System.Convert.ToString); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Status, global::System.Convert.ToString); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ServiceBusEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ClusterArmId, global::System.Convert.ToString); + } + if (content.Contains("MetricId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MetricId, global::System.Convert.ToString); + } + if (content.Contains("EnableAutoInflate")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).EnableAutoInflate = (bool?) content.GetValueForProperty("EnableAutoInflate",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).EnableAutoInflate, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); + } + if (content.Contains("MaximumThroughputUnit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("KafkaEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ZoneRedundant")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateEndpointConnection")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + } + if (content.Contains("DisableLocalAuth")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("KeySource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + } + if (content.Contains("KeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + } + if (content.Contains("RequireInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("GeoDataReplicationMaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("GeoDataReplicationMaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("GeoDataReplicationLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationLocation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("GeoDataReplicationLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationLocation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal EhNamespace(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Sku")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SkuTypeConverter.ConvertFrom); + } + if (content.Contains("Identity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespacePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("Tag")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); + } + if (content.Contains("SkuName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); + } + if (content.Contains("SkuTier")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); + } + if (content.Contains("SkuCapacity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("PrincipalId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrincipalId, global::System.Convert.ToString); + } + if (content.Contains("TenantId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).TenantId, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("Encryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EncryptionTypeConverter.ConvertFrom); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("GeoDataReplication")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplication = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties) content.GetValueForProperty("GeoDataReplication",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplication, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ProvisioningState, global::System.Convert.ToString); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).Status, global::System.Convert.ToString); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ServiceBusEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ClusterArmId, global::System.Convert.ToString); + } + if (content.Contains("MetricId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MetricId, global::System.Convert.ToString); + } + if (content.Contains("EnableAutoInflate")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).EnableAutoInflate = (bool?) content.GetValueForProperty("EnableAutoInflate",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).EnableAutoInflate, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); + } + if (content.Contains("MaximumThroughputUnit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("KafkaEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ZoneRedundant")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateEndpointConnection")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + } + if (content.Contains("DisableLocalAuth")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("KeySource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + } + if (content.Contains("KeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + } + if (content.Contains("RequireInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("GeoDataReplicationMaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("GeoDataReplicationMaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("GeoDataReplicationLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationLocation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("GeoDataReplicationLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal)this).GeoDataReplicationLocation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Single Namespace item in List or Get Operation + [System.ComponentModel.TypeConverter(typeof(EhNamespaceTypeConverter))] + public partial interface IEhNamespace + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.TypeConverter.cs index 5f6fadb05339..e57855e866b8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.cs index 816cacd7284c..30c2e8c15c4d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single Namespace item in List or Get Operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EhNamespace : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,23 +22,35 @@ public partial class EhNamespace : /// Alternate name specified when alias and namespace names are same. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string AlternateName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).AlternateName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).AlternateName = value ?? null; } + public string AlternateName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).AlternateName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).AlternateName = value ?? null; } /// Cluster ARM ID of the Namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ClusterArmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ClusterArmId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ClusterArmId = value ?? null; } + public string ClusterArmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ClusterArmId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ClusterArmId = value ?? null; } /// The time the Namespace was created. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).CreatedAt; } + public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).CreatedAt; } /// This property disables SAS authentication for the Event Hubs namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? DisableLocalAuth { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).DisableLocalAuth; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).DisableLocalAuth = value ?? default(bool); } + public bool? DisableLocalAuth { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).DisableLocalAuth; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).DisableLocalAuth = value ?? default(bool); } /// Value that indicates whether AutoInflate is enabled for eventhub namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? EnableAutoInflate { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).IsAutoInflateEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).IsAutoInflateEnabled = value ?? default(bool); } + public bool? EnableAutoInflate { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).IsAutoInflateEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).IsAutoInflateEnabled = value ?? default(bool); } + + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplicationLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplicationLocation = value ?? null /* arrayOf */; } + + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public int? GeoDataReplicationMaxReplicationLagDurationInSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplicationMaxReplicationLagDurationInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplicationMaxReplicationLagDurationInSecond = value ?? default(int); } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -47,27 +59,27 @@ public partial class EhNamespace : public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity _identity; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity _identity; /// Properties of BYOK Identity description [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Identity()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Identity()); set => this._identity = value; } /// Type of managed service identity. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType)""); } /// Value that indicates whether Kafka is enabled for eventhub namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? KafkaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).KafkaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).KafkaEnabled = value ?? default(bool); } + public bool? KafkaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).KafkaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).KafkaEnabled = value ?? default(bool); } /// Enumerates the possible value of keySource for Encryption [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? KeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeySource = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? KeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeySource = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource)""); } /// Properties of KeyVault [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeyVaultProperty = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionKeyVaultProperty = value ?? null /* arrayOf */; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -78,11 +90,11 @@ public partial class EhNamespace : /// AutoInflateEnabled = true) /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? MaximumThroughputUnit { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MaximumThroughputUnit; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MaximumThroughputUnit = value ?? default(int); } + public int? MaximumThroughputUnit { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MaximumThroughputUnit; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MaximumThroughputUnit = value ?? default(int); } /// Identifier for Azure Insights metrics. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MetricId; } + public string MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MetricId; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Id = value; } @@ -94,47 +106,50 @@ public partial class EhNamespace : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.IResourceInternal)__trackedResource).Type = value; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).CreatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).CreatedAt = value; } /// Internal Acessors for Encryption - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).Encryption = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.Encryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).Encryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).Encryption = value; } + + /// Internal Acessors for GeoDataReplication + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.GeoDataReplication { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplication; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).GeoDataReplication = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Identity()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Identity()); set { {_identity = value;} } } /// Internal Acessors for MetricId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MetricId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.MetricId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MetricId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MetricId = value; } /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).PrincipalId = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for ServiceBusEndpoint - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint = value; } /// Internal Acessors for Sku - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Sku()); set { {_sku = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Sku()); set { {_sku = value;} } } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).Status = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).Status = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).TenantId = value; } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt = value; } /// The minimum TLS version for the cluster to support, e.g. '1.2' [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion? MinimumTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MinimumTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).MinimumTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion? MinimumTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MinimumTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).MinimumTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion)""); } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -142,32 +157,32 @@ public partial class EhNamespace : /// ObjectId from the KeyVault [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).PrincipalId; } + public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).PrincipalId; } /// List of private endpoint connections. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).PrivateEndpointConnection; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).PrivateEndpointConnection = value ?? null /* arrayOf */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties _property; /// Namespace properties supplied for create namespace operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceProperties()); set => this._property = value; } /// Provisioning state of the Namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState; } + public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ProvisioningState; } /// /// This determines if traffic is allowed over public network. By default it is enabled. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess)""); } /// Enable Infrastructure Encryption (Double Encryption) [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? RequireInfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionRequireInfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).EncryptionRequireInfrastructureEncryption = value ?? default(bool); } + public bool? RequireInfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionRequireInfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).EncryptionRequireInfrastructureEncryption = value ?? default(bool); } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -175,33 +190,33 @@ public partial class EhNamespace : /// Endpoint you can use to perform Service Bus operations. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint; } + public string ServiceBusEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ServiceBusEndpoint; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku _sku; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku _sku; /// Properties of sku resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Sku()); set => this._sku = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Sku()); set => this._sku = value; } /// /// The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event /// Hubs premium units for Premium tier, where value should be 0 to 10 premium units. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Capacity = value ?? default(int); } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Capacity = value ?? default(int); } /// Name of this SKU. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName? SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Name = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName? SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Name = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName)""); } /// The billing tier of this particular SKU. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier)""); } /// Status of the Namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).Status; } + public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).Status; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -240,7 +255,7 @@ public partial class EhNamespace : /// TenantId from the KeyVault [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).TenantId; } + public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).TenantId; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -250,17 +265,17 @@ public partial class EhNamespace : /// The time the Namespace was updated. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt; } + public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).UpdatedAt; } /// Properties for User Assigned Identities [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } /// /// Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? ZoneRedundant { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ZoneRedundant; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal)Property).ZoneRedundant = value ?? default(bool); } + public bool? ZoneRedundant { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ZoneRedundant; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)Property).ZoneRedundant = value ?? default(bool); } /// Creates an new instance. public EhNamespace() @@ -325,6 +340,26 @@ public partial interface IEhNamespace : SerializedName = @"isAutoInflateEnabled", PossibleTypes = new [] { typeof(bool) })] bool? EnableAutoInflate { get; set; } + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A list of regions where replicas of the namespace are maintained.", + SerializedName = @"locations", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.", + SerializedName = @"maxReplicationLagDurationInSeconds", + PossibleTypes = new [] { typeof(int) })] + int? GeoDataReplicationMaxReplicationLagDurationInSecond { get; set; } /// Type of managed service identity. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -355,8 +390,8 @@ public partial interface IEhNamespace : ReadOnly = false, Description = @"Properties of KeyVault", SerializedName = @"keyVaultProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } /// /// Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if /// AutoInflateEnabled = true) @@ -398,8 +433,8 @@ public partial interface IEhNamespace : ReadOnly = false, Description = @"List of private endpoint connections.", SerializedName = @"privateEndpointConnections", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } /// Provisioning state of the Namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -539,8 +574,8 @@ public partial interface IEhNamespace : ReadOnly = false, Description = @"Properties for User Assigned Identities", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } /// /// Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones. /// @@ -568,9 +603,19 @@ internal partial interface IEhNamespaceInternal : /// Value that indicates whether AutoInflate is enabled for eventhub namespace. bool? EnableAutoInflate { get; set; } /// Properties of BYOK Encryption description - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption Encryption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption Encryption { get; set; } + /// Geo Data Replication settings for the namespace + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties GeoDataReplication { get; set; } + /// A list of regions where replicas of the namespace are maintained. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + int? GeoDataReplicationMaxReplicationLagDurationInSecond { get; set; } /// Properties of BYOK Identity description - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity Identity { get; set; } /// Type of managed service identity. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType? IdentityType { get; set; } /// Value that indicates whether Kafka is enabled for eventhub namespace. @@ -578,7 +623,7 @@ internal partial interface IEhNamespaceInternal : /// Enumerates the possible value of keySource for Encryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? KeySource { get; set; } /// Properties of KeyVault - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } /// /// Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if /// AutoInflateEnabled = true) @@ -591,9 +636,9 @@ internal partial interface IEhNamespaceInternal : /// ObjectId from the KeyVault string PrincipalId { get; set; } /// List of private endpoint connections. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } /// Namespace properties supplied for create namespace operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties Property { get; set; } /// Provisioning state of the Namespace. string ProvisioningState { get; set; } /// @@ -605,7 +650,7 @@ internal partial interface IEhNamespaceInternal : /// Endpoint you can use to perform Service Bus operations. string ServiceBusEndpoint { get; set; } /// Properties of sku resource - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku Sku { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku Sku { get; set; } /// /// The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event /// Hubs premium units for Premium tier, where value should be 0 to 10 premium units. @@ -636,7 +681,7 @@ internal partial interface IEhNamespaceInternal : /// The time the Namespace was updated. global::System.DateTime? UpdatedAt { get; set; } /// Properties for User Assigned Identities - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } /// /// Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones. /// diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.json.cs index 7d96660730e4..aa644bd6da00 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespace.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespace.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,21 +66,21 @@ internal EhNamespace(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Js return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.TrackedResource(json); - {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Sku.FromJson(__jsonSku) : Sku;} - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Identity.FromJson(__jsonIdentity) : Identity;} + {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Sku.FromJson(__jsonSku) : Sku;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Identity.FromJson(__jsonIdentity) : Identity;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EhNamespace(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.PowerShell.cs similarity index 84% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.PowerShell.cs index c1399d4fb59c..af4a0ca9b8a9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,35 +63,35 @@ public partial class EhNamespaceIdContainer partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EhNamespaceIdContainer(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EhNamespaceIdContainer(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,13 +106,13 @@ internal EhNamespaceIdContainer(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainerInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainerInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainerInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainerInternal)this).Id, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,7 +127,7 @@ internal EhNamespaceIdContainer(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainerInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainerInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainerInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainerInternal)this).Id, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -137,7 +137,7 @@ internal EhNamespaceIdContainer(global::System.Management.Automation.PSObject co /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.TypeConverter.cs index b8d6951fcd8e..877228f03811 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.cs index a855f9d8ffe5..f09ef85dfae4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The full ARM ID of an Event Hubs Namespace [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EhNamespaceIdContainer : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainerInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainerInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.json.cs index 65f3425605c8..2ca897991b5a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdContainer.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdContainer.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -70,13 +70,13 @@ internal EhNamespaceIdContainer(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EhNamespaceIdContainer(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.PowerShell.cs similarity index 79% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.PowerShell.cs index e4957da7eedb..16646ed0901f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,35 +63,35 @@ public partial class EhNamespaceIdListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EhNamespaceIdListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EhNamespaceIdListResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,13 +106,13 @@ internal EhNamespaceIdListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceIdContainerTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceIdContainerTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,7 +127,7 @@ internal EhNamespaceIdListResult(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceIdContainerTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceIdContainerTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } @@ -137,7 +137,7 @@ internal EhNamespaceIdListResult(global::System.Management.Automation.PSObject c /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.TypeConverter.cs index 5b0bca1722d3..44dfe030d662 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.cs similarity index 83% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.cs index c8f10fc4f9ed..d482286e5e82 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.cs @@ -3,23 +3,23 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response of the List Namespace IDs operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EhNamespaceIdListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[] _value; /// Result of the List Namespace IDs operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public EhNamespaceIdListResult() @@ -37,8 +37,8 @@ public partial interface IEhNamespaceIdListResult : ReadOnly = false, Description = @"Result of the List Namespace IDs operation", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[] Value { get; set; } } /// The response of the List Namespace IDs operation @@ -46,7 +46,7 @@ internal partial interface IEhNamespaceIdListResultInternal { /// Result of the List Namespace IDs operation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.json.cs index 7d693c3e54e4..a195d1a566ba 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceIdListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceIdListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,18 +65,18 @@ internal EhNamespaceIdListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Run { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceIdContainer.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceIdContainer.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EhNamespaceIdListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.PowerShell.cs index 7ac20e4d1540..a47f7d910b75 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,35 +63,35 @@ public partial class EhNamespaceListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EhNamespaceListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EhNamespaceListResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,17 +106,17 @@ internal EhNamespaceListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,11 +131,11 @@ internal EhNamespaceListResult(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespaceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespaceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -145,7 +145,7 @@ internal EhNamespaceListResult(global::System.Management.Automation.PSObject con /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.TypeConverter.cs index 50867009b3d9..c5bb467eb12c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.cs index 9c31e4c2ccba..777ceb6e31db 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response of the List Namespace operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EhNamespaceListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class EhNamespaceListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[] _value; /// Result of the List Namespace operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public EhNamespaceListResult() @@ -56,8 +56,8 @@ public partial interface IEhNamespaceListResult : ReadOnly = false, Description = @"Result of the List Namespace operation", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[] Value { get; set; } } /// The response of the List Namespace operation @@ -69,7 +69,7 @@ internal partial interface IEhNamespaceListResultInternal /// string NextLink { get; set; } /// Result of the List Namespace operation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.json.cs index 36388216d613..696e75c53f08 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal EhNamespaceListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EhNamespaceListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.PowerShell.cs new file mode 100644 index 000000000000..ce87b66f1c72 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.PowerShell.cs @@ -0,0 +1,342 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Namespace properties supplied for create namespace operation. + [System.ComponentModel.TypeConverter(typeof(EhNamespacePropertiesTypeConverter))] + public partial class EhNamespaceProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new EhNamespaceProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new EhNamespaceProperties(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal EhNamespaceProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Encryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EncryptionTypeConverter.ConvertFrom); + } + if (content.Contains("GeoDataReplication")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplication = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties) content.GetValueForProperty("GeoDataReplication",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplication, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Status, global::System.Convert.ToString); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ServiceBusEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ClusterArmId, global::System.Convert.ToString); + } + if (content.Contains("MetricId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MetricId, global::System.Convert.ToString); + } + if (content.Contains("IsAutoInflateEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled = (bool?) content.GetValueForProperty("IsAutoInflateEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); + } + if (content.Contains("MaximumThroughputUnit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("KafkaEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ZoneRedundant")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateEndpointConnection")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + } + if (content.Contains("DisableLocalAuth")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("EncryptionKeySource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + } + if (content.Contains("EncryptionKeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("EncryptionKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + } + if (content.Contains("EncryptionRequireInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption = (bool?) content.GetValueForProperty("EncryptionRequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("GeoDataReplicationMaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("GeoDataReplicationMaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("GeoDataReplicationLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationLocation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("GeoDataReplicationLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationLocation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal EhNamespaceProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Encryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Encryption = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption) content.GetValueForProperty("Encryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Encryption, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EncryptionTypeConverter.ConvertFrom); + } + if (content.Contains("GeoDataReplication")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplication = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties) content.GetValueForProperty("GeoDataReplication",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplication, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion.CreateFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ProvisioningState, global::System.Convert.ToString); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).Status, global::System.Convert.ToString); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ServiceBusEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint = (string) content.GetValueForProperty("ServiceBusEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ServiceBusEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ClusterArmId, global::System.Convert.ToString); + } + if (content.Contains("MetricId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MetricId = (string) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MetricId, global::System.Convert.ToString); + } + if (content.Contains("IsAutoInflateEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled = (bool?) content.GetValueForProperty("IsAutoInflateEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).IsAutoInflateEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccess.CreateFrom); + } + if (content.Contains("MaximumThroughputUnit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit = (int?) content.GetValueForProperty("MaximumThroughputUnit",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).MaximumThroughputUnit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("KafkaEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled = (bool?) content.GetValueForProperty("KafkaEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).KafkaEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ZoneRedundant")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant = (bool?) content.GetValueForProperty("ZoneRedundant",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).ZoneRedundant, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateEndpointConnection")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("PrivateEndpointConnection",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).PrivateEndpointConnection, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + } + if (content.Contains("DisableLocalAuth")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth = (bool?) content.GetValueForProperty("DisableLocalAuth",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).DisableLocalAuth, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AlternateName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).AlternateName = (string) content.GetValueForProperty("AlternateName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).AlternateName, global::System.Convert.ToString); + } + if (content.Contains("EncryptionKeySource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("EncryptionKeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + } + if (content.Contains("EncryptionKeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("EncryptionKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionKeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + } + if (content.Contains("EncryptionRequireInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption = (bool?) content.GetValueForProperty("EncryptionRequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).EncryptionRequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("GeoDataReplicationMaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("GeoDataReplicationMaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationMaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("GeoDataReplicationLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationLocation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("GeoDataReplicationLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal)this).GeoDataReplicationLocation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Namespace properties supplied for create namespace operation. + [System.ComponentModel.TypeConverter(typeof(EhNamespacePropertiesTypeConverter))] + public partial interface IEhNamespaceProperties + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.TypeConverter.cs index 0479838036c1..a7f1c3046819 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.cs similarity index 73% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.cs index a54878b9c9a0..de1d1fc4f104 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Namespace properties supplied for create namespace operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EhNamespaceProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal { /// Backing field for property. @@ -43,23 +43,42 @@ public partial class EhNamespaceProperties : public bool? DisableLocalAuth { get => this._disableLocalAuth; set => this._disableLocalAuth = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption _encryption; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption _encryption; /// Properties of BYOK Encryption description [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Encryption()); set => this._encryption = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Encryption()); set => this._encryption = value; } /// Enumerates the possible value of keySource for Encryption [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? EncryptionKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).KeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).KeySource = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? EncryptionKeySource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).KeySource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).KeySource = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource)""); } /// Properties of KeyVault [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).KeyVaultProperty = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).KeyVaultProperty = value ?? null /* arrayOf */; } /// Enable Infrastructure Encryption (Double Encryption) [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? EncryptionRequireInfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).RequireInfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)Encryption).RequireInfrastructureEncryption = value ?? default(bool); } + public bool? EncryptionRequireInfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).RequireInfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)Encryption).RequireInfrastructureEncryption = value ?? default(bool); } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties _geoDataReplication; + + /// Geo Data Replication settings for the namespace + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties GeoDataReplication { get => (this._geoDataReplication = this._geoDataReplication ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationProperties()); set => this._geoDataReplication = value; } + + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)GeoDataReplication).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)GeoDataReplication).Location = value ?? null /* arrayOf */; } + + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public int? GeoDataReplicationMaxReplicationLagDurationInSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)GeoDataReplication).MaxReplicationLagDurationInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)GeoDataReplication).MaxReplicationLagDurationInSecond = value ?? default(int); } /// Backing field for property. private bool? _isAutoInflateEnabled; @@ -93,25 +112,28 @@ public partial class EhNamespaceProperties : public string MetricId { get => this._metricId; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } /// Internal Acessors for Encryption - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Encryption()); set { {_encryption = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.Encryption { get => (this._encryption = this._encryption ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Encryption()); set { {_encryption = value;} } } + + /// Internal Acessors for GeoDataReplication + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.GeoDataReplication { get => (this._geoDataReplication = this._geoDataReplication ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationProperties()); set { {_geoDataReplication = value;} } } /// Internal Acessors for MetricId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.MetricId { get => this._metricId; set { {_metricId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.MetricId { get => this._metricId; set { {_metricId = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for ServiceBusEndpoint - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.ServiceBusEndpoint { get => this._serviceBusEndpoint; set { {_serviceBusEndpoint = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.ServiceBusEndpoint { get => this._serviceBusEndpoint; set { {_serviceBusEndpoint = value;} } } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.Status { get => this._status; set { {_status = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.Status { get => this._status; set { {_status = value;} } } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespacePropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespacePropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion? _minimumTlsVersion; @@ -121,11 +143,11 @@ public partial class EhNamespaceProperties : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion? MinimumTlsVersion { get => this._minimumTlsVersion; set => this._minimumTlsVersion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] _privateEndpointConnection; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] _privateEndpointConnection; /// List of private endpoint connections. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => this._privateEndpointConnection; set => this._privateEndpointConnection = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => this._privateEndpointConnection; set => this._privateEndpointConnection = value; } /// Backing field for property. private string _provisioningState; @@ -229,8 +251,8 @@ public partial interface IEhNamespaceProperties : ReadOnly = false, Description = @"Properties of KeyVault", SerializedName = @"keyVaultProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get; set; } /// Enable Infrastructure Encryption (Double Encryption) [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -239,6 +261,26 @@ public partial interface IEhNamespaceProperties : SerializedName = @"requireInfrastructureEncryption", PossibleTypes = new [] { typeof(bool) })] bool? EncryptionRequireInfrastructureEncryption { get; set; } + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A list of regions where replicas of the namespace are maintained.", + SerializedName = @"locations", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.", + SerializedName = @"maxReplicationLagDurationInSeconds", + PossibleTypes = new [] { typeof(int) })] + int? GeoDataReplicationMaxReplicationLagDurationInSecond { get; set; } /// Value that indicates whether AutoInflate is enabled for eventhub namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -288,8 +330,8 @@ public partial interface IEhNamespaceProperties : ReadOnly = false, Description = @"List of private endpoint connections.", SerializedName = @"privateEndpointConnections", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } /// Provisioning state of the Namespace. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -357,13 +399,23 @@ internal partial interface IEhNamespacePropertiesInternal /// This property disables SAS authentication for the Event Hubs namespace. bool? DisableLocalAuth { get; set; } /// Properties of BYOK Encryption description - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption Encryption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption Encryption { get; set; } /// Enumerates the possible value of keySource for Encryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? EncryptionKeySource { get; set; } /// Properties of KeyVault - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] EncryptionKeyVaultProperty { get; set; } /// Enable Infrastructure Encryption (Double Encryption) bool? EncryptionRequireInfrastructureEncryption { get; set; } + /// Geo Data Replication settings for the namespace + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties GeoDataReplication { get; set; } + /// A list of regions where replicas of the namespace are maintained. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + int? GeoDataReplicationMaxReplicationLagDurationInSecond { get; set; } /// Value that indicates whether AutoInflate is enabled for eventhub namespace. bool? IsAutoInflateEnabled { get; set; } /// Value that indicates whether Kafka is enabled for eventhub namespace. @@ -378,7 +430,7 @@ internal partial interface IEhNamespacePropertiesInternal /// The minimum TLS version for the cluster to support, e.g. '1.2' Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.TlsVersion? MinimumTlsVersion { get; set; } /// List of private endpoint connections. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get; set; } /// Provisioning state of the Namespace. string ProvisioningState { get; set; } /// diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.json.cs index 5bcc23cc7718..3516c9ef6433 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EhNamespaceProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EhNamespaceProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,7 +65,8 @@ internal EhNamespaceProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti { return; } - {_encryption = If( json?.PropertyT("encryption"), out var __jsonEncryption) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Encryption.FromJson(__jsonEncryption) : Encryption;} + {_encryption = If( json?.PropertyT("encryption"), out var __jsonEncryption) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Encryption.FromJson(__jsonEncryption) : Encryption;} + {_geoDataReplication = If( json?.PropertyT("geoDataReplication"), out var __jsonGeoDataReplication) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.GeoDataReplicationProperties.FromJson(__jsonGeoDataReplication) : GeoDataReplication;} {_minimumTlsVersion = If( json?.PropertyT("minimumTlsVersion"), out var __jsonMinimumTlsVersion) ? (string)__jsonMinimumTlsVersion : (string)MinimumTlsVersion;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} @@ -79,20 +80,20 @@ internal EhNamespaceProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti {_maximumThroughputUnit = If( json?.PropertyT("maximumThroughputUnits"), out var __jsonMaximumThroughputUnits) ? (int?)__jsonMaximumThroughputUnits : MaximumThroughputUnit;} {_kafkaEnabled = If( json?.PropertyT("kafkaEnabled"), out var __jsonKafkaEnabled) ? (bool?)__jsonKafkaEnabled : KafkaEnabled;} {_zoneRedundant = If( json?.PropertyT("zoneRedundant"), out var __jsonZoneRedundant) ? (bool?)__jsonZoneRedundant : ZoneRedundant;} - {_privateEndpointConnection = If( json?.PropertyT("privateEndpointConnections"), out var __jsonPrivateEndpointConnections) ? If( __jsonPrivateEndpointConnections as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(__u) )) ))() : null : PrivateEndpointConnection;} + {_privateEndpointConnection = If( json?.PropertyT("privateEndpointConnections"), out var __jsonPrivateEndpointConnections) ? If( __jsonPrivateEndpointConnections as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(__u) )) ))() : null : PrivateEndpointConnection;} {_disableLocalAuth = If( json?.PropertyT("disableLocalAuth"), out var __jsonDisableLocalAuth) ? (bool?)__jsonDisableLocalAuth : DisableLocalAuth;} {_alternateName = If( json?.PropertyT("alternateName"), out var __jsonAlternateName) ? (string)__jsonAlternateName : (string)AlternateName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EhNamespaceProperties(json) : null; } @@ -117,6 +118,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson( return container; } AddIf( null != this._encryption ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._encryption.ToJson(null,serializationMode) : null, "encryption" ,container.Add ); + AddIf( null != this._geoDataReplication ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._geoDataReplication.ToJson(null,serializationMode) : null, "geoDataReplication" ,container.Add ); AddIf( null != (((object)this._minimumTlsVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._minimumTlsVersion.ToString()) : null, "minimumTlsVersion" ,container.Add ); if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) { diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.PowerShell.cs similarity index 71% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.PowerShell.cs index e0716990aded..1b5cd608d808 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,33 +63,33 @@ public partial class Encryption partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Encryption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Encryption(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,21 +104,21 @@ internal Encryption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("KeyVaultProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); } if (content.Contains("KeySource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); } if (content.Contains("RequireInfrastructureEncryption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -133,15 +133,15 @@ internal Encryption(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("KeyVaultProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeyVaultProperty, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultPropertiesTypeConverter.ConvertFrom)); } if (content.Contains("KeySource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeySource = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource?) content.GetValueForProperty("KeySource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).KeySource, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource.CreateFrom); } if (content.Contains("RequireInfrastructureEncryption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).RequireInfrastructureEncryption = (bool?) content.GetValueForProperty("RequireInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal)this).RequireInfrastructureEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializePSObject(content); } @@ -151,7 +151,7 @@ internal Encryption(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.TypeConverter.cs index 2cae4a421d41..610a1574e674 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.cs index a353ce5ffb54..ffff21bc8659 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties to configure Encryption [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Encryption : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryptionInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryptionInternal { /// Backing field for property. @@ -22,11 +22,11 @@ public partial class Encryption : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? KeySource { get => this._keySource; set => this._keySource = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] _keyVaultProperty; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] _keyVaultProperty; /// Properties of KeyVault [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get => this._keyVaultProperty; set => this._keyVaultProperty = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get => this._keyVaultProperty; set => this._keyVaultProperty = value; } /// Backing field for property. private bool? _requireInfrastructureEncryption; @@ -59,8 +59,8 @@ public partial interface IEncryption : ReadOnly = false, Description = @"Properties of KeyVault", SerializedName = @"keyVaultProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } /// Enable Infrastructure Encryption (Double Encryption) [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -78,7 +78,7 @@ internal partial interface IEncryptionInternal /// Enumerates the possible value of keySource for Encryption Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeySource? KeySource { get; set; } /// Properties of KeyVault - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get; set; } /// Enable Infrastructure Encryption (Double Encryption) bool? RequireInfrastructureEncryption { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.json.cs index 8d4c1849d669..9a669f7fa636 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Encryption.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Encryption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,20 +65,20 @@ internal Encryption(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Jso { return; } - {_keyVaultProperty = If( json?.PropertyT("keyVaultProperties"), out var __jsonKeyVaultProperties) ? If( __jsonKeyVaultProperties as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties.FromJson(__u) )) ))() : null : KeyVaultProperty;} + {_keyVaultProperty = If( json?.PropertyT("keyVaultProperties"), out var __jsonKeyVaultProperties) ? If( __jsonKeyVaultProperties as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties.FromJson(__u) )) ))() : null : KeyVaultProperty;} {_keySource = If( json?.PropertyT("keySource"), out var __jsonKeySource) ? (string)__jsonKeySource : (string)KeySource;} {_requireInfrastructureEncryption = If( json?.PropertyT("requireInfrastructureEncryption"), out var __jsonRequireInfrastructureEncryption) ? (bool?)__jsonRequireInfrastructureEncryption : RequireInfrastructureEncryption;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEncryption FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEncryption FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Encryption(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.PowerShell.cs index abda17c7f71c..f5fa05d91d46 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,33 +63,33 @@ public partial class EventHubListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EventHubListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EventHubListResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,17 +104,17 @@ internal EventHubListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,11 +129,11 @@ internal EventHubListResult(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -143,7 +143,7 @@ internal EventHubListResult(global::System.Management.Automation.PSObject conten /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.TypeConverter.cs index 96c72540367b..b0c1774d40d8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.cs index b9ad40294499..7153592bb517 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The result of the List EventHubs operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EventHubListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class EventHubListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[] _value; /// Result of the List EventHubs operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public EventHubListResult() @@ -56,8 +56,8 @@ public partial interface IEventHubListResult : ReadOnly = false, Description = @"Result of the List EventHubs operation.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[] Value { get; set; } } /// The result of the List EventHubs operation. @@ -69,7 +69,7 @@ internal partial interface IEventHubListResultInternal /// string NextLink { get; set; } /// Result of the List EventHubs operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.json.cs index 71dc1a9336ce..35ad62b0d89e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventHubListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventHubListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,19 +65,19 @@ internal EventHubListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Eventhub.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Eventhub.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EventHubListResult(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.PowerShell.cs new file mode 100644 index 000000000000..f9ebb7b21a8e --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.PowerShell.cs @@ -0,0 +1,476 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Single item in List or Get Event Hub operation + [System.ComponentModel.TypeConverter(typeof(EventhubTypeConverter))] + public partial class Eventhub + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new Eventhub(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new Eventhub(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal Eventhub(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("CaptureDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("RetentionDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("PartitionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("MessageRetentionInDay")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("PartitionCount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); + } + if (content.Contains("CaptureDescriptionDestination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("CaptureEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureEnabled = (bool?) content.GetValueForProperty("CaptureEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Encoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("IntervalInSeconds")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IntervalInSeconds = (int?) content.GetValueForProperty("IntervalInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IntervalInSeconds, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SizeLimitInBytes")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SizeLimitInBytes = (int?) content.GetValueForProperty("SizeLimitInBytes",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SizeLimitInBytes, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("CleanupPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + } + if (content.Contains("RetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TombstoneRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UserAssignedIdentityId = (string) content.GetValueForProperty("UserAssignedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UserAssignedIdentityId, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal Eventhub(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("CaptureDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("RetentionDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("PartitionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("MessageRetentionInDay")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("PartitionCount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); + } + if (content.Contains("CaptureDescriptionDestination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("CaptureEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureEnabled = (bool?) content.GetValueForProperty("CaptureEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CaptureEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Encoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Encoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("Encoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).Encoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("IntervalInSeconds")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IntervalInSeconds = (int?) content.GetValueForProperty("IntervalInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IntervalInSeconds, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SizeLimitInBytes")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SizeLimitInBytes = (int?) content.GetValueForProperty("SizeLimitInBytes",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SizeLimitInBytes, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("SkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SkipEmptyArchive = (bool?) content.GetValueForProperty("SkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).SkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("CleanupPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + } + if (content.Contains("RetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TombstoneRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("UserAssignedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UserAssignedIdentityId = (string) content.GetValueForProperty("UserAssignedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).UserAssignedIdentityId, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Single item in List or Get Event Hub operation + [System.ComponentModel.TypeConverter(typeof(EventhubTypeConverter))] + public partial interface IEventhub + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.TypeConverter.cs index 5f78656cb5b9..0ddf7867f3ad 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.cs index 5063de8a14f0..75be4c66cd4d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in List or Get Event Hub operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Eventhub : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -25,46 +25,46 @@ public partial class Eventhub : /// Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).ArchiveNameFormat = value ?? null; } + public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).ArchiveNameFormat = value ?? null; } /// Blob container Name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).BlobContainer = value ?? null; } + public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).BlobContainer = value ?? null; } /// A value that indicates whether capture description is enabled. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? CaptureEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEnabled = value ?? default(bool); } + public bool? CaptureEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEnabled = value ?? default(bool); } /// Enumerates the possible values for cleanup policy [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? CleanupPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionCleanupPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionCleanupPolicy = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? CleanupPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionCleanupPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionCleanupPolicy = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription)""); } /// Exact time the Event Hub was created. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CreatedAt; } + public global::System.DateTime? CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CreatedAt; } /// The Azure Data Lake Store name for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeAccountName = value ?? null; } + public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeAccountName = value ?? null; } /// The destination folder path for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeFolderPath = value ?? null; } + public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeFolderPath = value ?? null; } /// Subscription Id of Azure Data Lake Store [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DataLakeSubscriptionId = value ?? null; } + public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DataLakeSubscriptionId = value ?? null; } /// Name for capture destination [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DestinationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DestinationName = value ?? null; } + public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationName = value ?? null; } /// /// Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated /// in New API Version /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEncoding; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEncoding = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEncoding; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionEncoding = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription)""); } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -72,12 +72,16 @@ public partial class Eventhub : [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Id; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).IdentityType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType)""); } + /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? IntervalInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionIntervalInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionIntervalInSecond = value ?? default(int); } + public int? IntervalInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionIntervalInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionIntervalInSecond = value ?? default(int); } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -87,7 +91,7 @@ public partial class Eventhub : /// Number of days to retain the events for this Event Hub, value should be 1 to 7 days /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public long? MessageRetentionInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).MessageRetentionInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).MessageRetentionInDay = value ?? default(long); } + public long? MessageRetentionInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).MessageRetentionInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).MessageRetentionInDay = value ?? default(long); } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Id = value; } @@ -102,31 +106,34 @@ public partial class Eventhub : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for CaptureDescription - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.CaptureDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescription = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.CaptureDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescription = value; } /// Internal Acessors for CaptureDescriptionDestination - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.CaptureDescriptionDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionDestination = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.CaptureDescriptionDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionDestination = value; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CreatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.CreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CreatedAt = value; } + + /// Internal Acessors for DestinationIdentity + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.DestinationIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationIdentity = value; } /// Internal Acessors for DestinationProperty - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DestinationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).DestinationProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).DestinationProperty = value; } /// Internal Acessors for PartitionId - string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.PartitionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).PartitionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).PartitionId = value; } + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.PartitionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).PartitionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).PartitionId = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubProperties()); set { {_property = value;} } } /// Internal Acessors for RetentionDescription - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.RetentionDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescription = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.RetentionDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescription = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).UpdatedAt = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubInternal.UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).UpdatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).UpdatedAt = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -136,18 +143,18 @@ public partial class Eventhub : /// Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public long? PartitionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).PartitionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).PartitionCount = value ?? default(long); } + public long? PartitionCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).PartitionCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).PartitionCount = value ?? default(long); } /// Current number of shards on the Event Hub. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string[] PartitionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).PartitionId; } + public string[] PartitionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).PartitionId; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties _property; /// Properties supplied to the Create Or Update Event Hub operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubProperties()); set => this._property = value; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -155,29 +162,29 @@ public partial class Eventhub : /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public long? RetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionRetentionTimeInHour = value ?? default(long); } + public long? RetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionRetentionTimeInHour = value ?? default(long); } /// /// The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between /// 10485760 to 524288000 bytes /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? SizeLimitInBytes { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSizeLimitInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSizeLimitInByte = value ?? default(int); } + public int? SizeLimitInBytes { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSizeLimitInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSizeLimitInByte = value ?? default(int); } /// A value that indicates whether to Skip Empty Archives [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? SkipEmptyArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSkipEmptyArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSkipEmptyArchive = value ?? default(bool); } + public bool? SkipEmptyArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSkipEmptyArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).CaptureDescriptionSkipEmptyArchive = value ?? default(bool); } /// Enumerates the possible values for the status of the Event Hub. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus? Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).Status = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus? Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).Status = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus)""); } /// Resource id of the storage account to be used to create the blobs [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).StorageAccountResourceId = value ?? null; } + public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).StorageAccountResourceId = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -212,12 +219,12 @@ public partial class Eventhub : /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? TombstoneRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionTombstoneRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionTombstoneRetentionTimeInHour = value ?? default(int); } + public int? TombstoneRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionTombstoneRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).RetentionDescriptionTombstoneRetentionTimeInHour = value ?? default(int); } /// /// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" @@ -227,7 +234,14 @@ public partial class Eventhub : /// The exact time the message was updated. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal)Property).UpdatedAt; } + public global::System.DateTime? UpdatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).UpdatedAt; } + + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string UserAssignedIdentityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)Property).IdentityUserAssignedIdentity = value ?? null; } /// Creates an new instance. public Eventhub() @@ -338,6 +352,14 @@ public partial interface IEventhub : SerializedName = @"encoding", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription) })] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get; set; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds @@ -379,12 +401,12 @@ public partial interface IEventhub : string[] PartitionId { get; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue ", + Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ", SerializedName = @"retentionTimeInHours", PossibleTypes = new [] { typeof(long) })] long? RetentionTimeInHour { get; set; } @@ -473,14 +495,14 @@ public partial interface IEventhub : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType? SystemDataLastModifiedByType { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", + Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", SerializedName = @"tombstoneRetentionTimeInHours", PossibleTypes = new [] { typeof(int) })] int? TombstoneRetentionTimeInHour { get; set; } @@ -492,6 +514,17 @@ public partial interface IEventhub : SerializedName = @"updatedAt", PossibleTypes = new [] { typeof(global::System.DateTime) })] global::System.DateTime? UpdatedAt { get; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + string UserAssignedIdentityId { get; set; } } /// Single item in List or Get Event Hub operation @@ -506,11 +539,11 @@ internal partial interface IEventhubInternal : /// Blob container Name string BlobContainer { get; set; } /// Properties of capture description - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription CaptureDescription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription CaptureDescription { get; set; } /// /// Properties of Destination where capture will be stored. (Storage Account, Blob Names) /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination CaptureDescriptionDestination { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination CaptureDescriptionDestination { get; set; } /// A value that indicates whether capture description is enabled. bool? CaptureEnabled { get; set; } /// Enumerates the possible values for cleanup policy @@ -523,17 +556,21 @@ internal partial interface IEventhubInternal : string DataLakeFolderPath { get; set; } /// Subscription Id of Azure Data Lake Store string DataLakeSubscriptionId { get; set; } + /// A value that indicates whether capture description is enabled. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity DestinationIdentity { get; set; } /// Name for capture destination string DestinationName { get; set; } /// /// Properties describing the storage account, blob container and archive name format for capture destination /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties DestinationProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties DestinationProperty { get; set; } /// /// Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated /// in New API Version /// Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? Encoding { get; set; } + /// Type of Azure Active Directory Managed Identity. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds @@ -550,12 +587,12 @@ internal partial interface IEventhubInternal : /// Current number of shards on the Event Hub. string[] PartitionId { get; set; } /// Properties supplied to the Create Or Update Event Hub operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties Property { get; set; } /// Event Hub retention settings - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription RetentionDescription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription RetentionDescription { get; set; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// long? RetentionTimeInHour { get; set; } /// @@ -585,13 +622,18 @@ internal partial interface IEventhubInternal : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType? SystemDataLastModifiedByType { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// int? TombstoneRetentionTimeInHour { get; set; } /// The exact time the message was updated. global::System.DateTime? UpdatedAt { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + string UserAssignedIdentityId { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.json.cs index a8382994cae8..1078e241e568 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Eventhub.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Eventhub.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -66,19 +66,19 @@ internal Eventhub(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonO return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EventhubProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EventhubProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Eventhub(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.PowerShell.cs new file mode 100644 index 000000000000..fed386475df2 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.PowerShell.cs @@ -0,0 +1,380 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Properties supplied to the Create Or Update Event Hub operation. + [System.ComponentModel.TypeConverter(typeof(EventhubPropertiesTypeConverter))] + public partial class EventhubProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new EventhubProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new EventhubProperties(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal EventhubProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CaptureDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("RetentionDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("PartitionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("MessageRetentionInDay")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("PartitionCount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); + } + if (content.Contains("CaptureDescriptionDestination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("CaptureDescriptionEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled = (bool?) content.GetValueForProperty("CaptureDescriptionEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("CaptureDescriptionEncoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("CaptureDescriptionEncoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("CaptureDescriptionIntervalInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond = (int?) content.GetValueForProperty("CaptureDescriptionIntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("CaptureDescriptionSizeLimitInByte")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte = (int?) content.GetValueForProperty("CaptureDescriptionSizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("CaptureDescriptionSkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive = (bool?) content.GetValueForProperty("CaptureDescriptionSkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("RetentionDescriptionCleanupPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("RetentionDescriptionCleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + } + if (content.Contains("RetentionDescriptionRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour = (long?) content.GetValueForProperty("RetentionDescriptionRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("RetentionDescriptionTombstoneRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("RetentionDescriptionTombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal EventhubProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CaptureDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription) content.GetValueForProperty("CaptureDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("RetentionDescription")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription) content.GetValueForProperty("RetentionDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescription, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescriptionTypeConverter.ConvertFrom); + } + if (content.Contains("PartitionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionId = (string[]) content.GetValueForProperty("PartitionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionId, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("CreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).UpdatedAt = (global::System.DateTime?) content.GetValueForProperty("UpdatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).UpdatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("MessageRetentionInDay")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay = (long?) content.GetValueForProperty("MessageRetentionInDay",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).MessageRetentionInDay, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("PartitionCount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionCount = (long?) content.GetValueForProperty("PartitionCount",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).PartitionCount, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("Status")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus.CreateFrom); + } + if (content.Contains("CaptureDescriptionDestination")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination) content.GetValueForProperty("CaptureDescriptionDestination",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionDestination, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationTypeConverter.ConvertFrom); + } + if (content.Contains("CaptureDescriptionEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled = (bool?) content.GetValueForProperty("CaptureDescriptionEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("CaptureDescriptionEncoding")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription?) content.GetValueForProperty("CaptureDescriptionEncoding",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionEncoding, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription.CreateFrom); + } + if (content.Contains("CaptureDescriptionIntervalInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond = (int?) content.GetValueForProperty("CaptureDescriptionIntervalInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionIntervalInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("CaptureDescriptionSizeLimitInByte")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte = (int?) content.GetValueForProperty("CaptureDescriptionSizeLimitInByte",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSizeLimitInByte, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("CaptureDescriptionSkipEmptyArchive")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive = (bool?) content.GetValueForProperty("CaptureDescriptionSkipEmptyArchive",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).CaptureDescriptionSkipEmptyArchive, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("DestinationProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties) content.GetValueForProperty("DestinationProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.DestinationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("DestinationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationName = (string) content.GetValueForProperty("DestinationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationName, global::System.Convert.ToString); + } + if (content.Contains("RetentionDescriptionCleanupPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("RetentionDescriptionCleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionCleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + } + if (content.Contains("RetentionDescriptionRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour = (long?) content.GetValueForProperty("RetentionDescriptionRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionRetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("RetentionDescriptionTombstoneRetentionTimeInHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("RetentionDescriptionTombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).RetentionDescriptionTombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DestinationIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity) content.GetValueForProperty("DestinationIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DestinationIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("BlobContainer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).BlobContainer = (string) content.GetValueForProperty("BlobContainer",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).BlobContainer, global::System.Convert.ToString); + } + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType.CreateFrom); + } + if (content.Contains("IdentityUserAssignedIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityUserAssignedIdentity = (string) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).IdentityUserAssignedIdentity, global::System.Convert.ToString); + } + if (content.Contains("StorageAccountResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + } + if (content.Contains("ArchiveNameFormat")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat = (string) content.GetValueForProperty("ArchiveNameFormat",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).ArchiveNameFormat, global::System.Convert.ToString); + } + if (content.Contains("DataLakeSubscriptionId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId = (string) content.GetValueForProperty("DataLakeSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeSubscriptionId, global::System.Convert.ToString); + } + if (content.Contains("DataLakeAccountName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeAccountName = (string) content.GetValueForProperty("DataLakeAccountName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeAccountName, global::System.Convert.ToString); + } + if (content.Contains("DataLakeFolderPath")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath = (string) content.GetValueForProperty("DataLakeFolderPath",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal)this).DataLakeFolderPath, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties supplied to the Create Or Update Event Hub operation. + [System.ComponentModel.TypeConverter(typeof(EventhubPropertiesTypeConverter))] + public partial interface IEventhubProperties + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.TypeConverter.cs index 2a18b57cfb03..f08a23cdd55e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.cs similarity index 67% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.cs index 7c48c275966b..d6e9aec0e635 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties supplied to the Create Or Update Event Hub operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class EventhubProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal { /// @@ -19,47 +19,47 @@ public partial class EventhubProperties : /// Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).ArchiveNameFormat = value ?? null; } + public string ArchiveNameFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).ArchiveNameFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).ArchiveNameFormat = value ?? null; } /// Blob container Name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).BlobContainer = value ?? null; } + public string BlobContainer { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).BlobContainer; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).BlobContainer = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription _captureDescription; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription _captureDescription; /// Properties of capture description [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription CaptureDescription { get => (this._captureDescription = this._captureDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescription()); set => this._captureDescription = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription CaptureDescription { get => (this._captureDescription = this._captureDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescription()); set => this._captureDescription = value; } /// A value that indicates whether capture description is enabled. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? CaptureDescriptionEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Enabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Enabled = value ?? default(bool); } + public bool? CaptureDescriptionEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Enabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Enabled = value ?? default(bool); } /// /// Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated /// in New API Version /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? CaptureDescriptionEncoding { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Encoding; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Encoding = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription? CaptureDescriptionEncoding { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Encoding; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Encoding = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EncodingCaptureDescription)""); } /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? CaptureDescriptionIntervalInSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).IntervalInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).IntervalInSecond = value ?? default(int); } + public int? CaptureDescriptionIntervalInSecond { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IntervalInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IntervalInSecond = value ?? default(int); } /// /// The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between /// 10485760 to 524288000 bytes /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? CaptureDescriptionSizeLimitInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).SizeLimitInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).SizeLimitInByte = value ?? default(int); } + public int? CaptureDescriptionSizeLimitInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).SizeLimitInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).SizeLimitInByte = value ?? default(int); } /// A value that indicates whether to Skip Empty Archives [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? CaptureDescriptionSkipEmptyArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).SkipEmptyArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).SkipEmptyArchive = value ?? default(bool); } + public bool? CaptureDescriptionSkipEmptyArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).SkipEmptyArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).SkipEmptyArchive = value ?? default(bool); } /// Backing field for property. private global::System.DateTime? _createdAt; @@ -70,19 +70,30 @@ public partial class EventhubProperties : /// The Azure Data Lake Store name for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeAccountName = value ?? null; } + public string DataLakeAccountName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeAccountName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeAccountName = value ?? null; } /// The destination folder path for the captured events [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeFolderPath = value ?? null; } + public string DataLakeFolderPath { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeFolderPath; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeFolderPath = value ?? null; } /// Subscription Id of Azure Data Lake Store [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeSubscriptionId = value ?? null; } + public string DataLakeSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DataLakeSubscriptionId = value ?? null; } /// Name for capture destination [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationName = value ?? null; } + public string DestinationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationName = value ?? null; } + + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IdentityType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType)""); } + + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).IdentityUserAssignedIdentity = value ?? null; } /// Backing field for property. private long? _messageRetentionInDay; @@ -94,25 +105,28 @@ public partial class EventhubProperties : public long? MessageRetentionInDay { get => this._messageRetentionInDay; set => this._messageRetentionInDay = value; } /// Internal Acessors for CaptureDescription - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.CaptureDescription { get => (this._captureDescription = this._captureDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescription()); set { {_captureDescription = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.CaptureDescription { get => (this._captureDescription = this._captureDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescription()); set { {_captureDescription = value;} } } /// Internal Acessors for CaptureDescriptionDestination - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.CaptureDescriptionDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Destination; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).Destination = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.CaptureDescriptionDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Destination; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).Destination = value; } /// Internal Acessors for CreatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.CreatedAt { get => this._createdAt; set { {_createdAt = value;} } } + + /// Internal Acessors for DestinationIdentity + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.DestinationIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationIdentity = value; } /// Internal Acessors for DestinationProperty - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.DestinationProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).DestinationProperty = value; } /// Internal Acessors for PartitionId - string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.PartitionId { get => this._partitionId; set { {_partitionId = value;} } } + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.PartitionId { get => this._partitionId; set { {_partitionId = value;} } } /// Internal Acessors for RetentionDescription - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.RetentionDescription { get => (this._retentionDescription = this._retentionDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescription()); set { {_retentionDescription = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.RetentionDescription { get => (this._retentionDescription = this._retentionDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescription()); set { {_retentionDescription = value;} } } /// Internal Acessors for UpdatedAt - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubPropertiesInternal.UpdatedAt { get => this._updatedAt; set { {_updatedAt = value;} } } /// Backing field for property. private long? _partitionCount; @@ -131,31 +145,31 @@ public partial class EventhubProperties : public string[] PartitionId { get => this._partitionId; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription _retentionDescription; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription _retentionDescription; /// Event Hub retention settings [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription RetentionDescription { get => (this._retentionDescription = this._retentionDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescription()); set => this._retentionDescription = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription RetentionDescription { get => (this._retentionDescription = this._retentionDescription ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescription()); set => this._retentionDescription = value; } /// Enumerates the possible values for cleanup policy [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? RetentionDescriptionCleanupPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).CleanupPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).CleanupPolicy = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? RetentionDescriptionCleanupPolicy { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).CleanupPolicy; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).CleanupPolicy = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription)""); } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public long? RetentionDescriptionRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).RetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).RetentionTimeInHour = value ?? default(long); } + public long? RetentionDescriptionRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).RetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).RetentionTimeInHour = value ?? default(long); } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public int? RetentionDescriptionTombstoneRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).TombstoneRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)RetentionDescription).TombstoneRetentionTimeInHour = value ?? default(int); } + public int? RetentionDescriptionTombstoneRetentionTimeInHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).TombstoneRetentionTimeInHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)RetentionDescription).TombstoneRetentionTimeInHour = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EntityStatus? _status; @@ -166,7 +180,7 @@ public partial class EventhubProperties : /// Resource id of the storage account to be used to create the blobs [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescriptionInternal)CaptureDescription).StorageAccountResourceId = value ?? null; } + public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescriptionInternal)CaptureDescription).StorageAccountResourceId = value ?? null; } /// Backing field for property. private global::System.DateTime? _updatedAt; @@ -293,6 +307,25 @@ public partial interface IEventhubProperties : SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string DestinationName { get; set; } + /// Type of Azure Active Directory Managed Identity. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + string IdentityUserAssignedIdentity { get; set; } /// /// Number of days to retain the events for this Event Hub, value should be 1 to 7 days /// @@ -331,25 +364,25 @@ public partial interface IEventhubProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? RetentionDescriptionCleanupPolicy { get; set; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue ", + Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ", SerializedName = @"retentionTimeInHours", PossibleTypes = new [] { typeof(long) })] long? RetentionDescriptionRetentionTimeInHour { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", + Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", SerializedName = @"tombstoneRetentionTimeInHours", PossibleTypes = new [] { typeof(int) })] int? RetentionDescriptionTombstoneRetentionTimeInHour { get; set; } @@ -391,11 +424,11 @@ internal partial interface IEventhubPropertiesInternal /// Blob container Name string BlobContainer { get; set; } /// Properties of capture description - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICaptureDescription CaptureDescription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureDescription CaptureDescription { get; set; } /// /// Properties of Destination where capture will be stored. (Storage Account, Blob Names) /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestination CaptureDescriptionDestination { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestination CaptureDescriptionDestination { get; set; } /// A value that indicates whether capture description is enabled. bool? CaptureDescriptionEnabled { get; set; } /// @@ -423,12 +456,21 @@ internal partial interface IEventhubPropertiesInternal string DataLakeFolderPath { get; set; } /// Subscription Id of Azure Data Lake Store string DataLakeSubscriptionId { get; set; } + /// A value that indicates whether capture description is enabled. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICaptureIdentity DestinationIdentity { get; set; } /// Name for capture destination string DestinationName { get; set; } /// /// Properties describing the storage account, blob container and archive name format for capture destination /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IDestinationProperties DestinationProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IDestinationProperties DestinationProperty { get; set; } + /// Type of Azure Active Directory Managed Identity. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType? IdentityType { get; set; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + string IdentityUserAssignedIdentity { get; set; } /// /// Number of days to retain the events for this Event Hub, value should be 1 to 7 days /// @@ -440,19 +482,19 @@ internal partial interface IEventhubPropertiesInternal /// Current number of shards on the Event Hub. string[] PartitionId { get; set; } /// Event Hub retention settings - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription RetentionDescription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription RetentionDescription { get; set; } /// Enumerates the possible values for cleanup policy Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? RetentionDescriptionCleanupPolicy { get; set; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// long? RetentionDescriptionRetentionTimeInHour { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// int? RetentionDescriptionTombstoneRetentionTimeInHour { get; set; } /// Enumerates the possible values for the status of the Event Hub. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.json.cs index 35e0d8558af2..7be844469478 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/EventhubProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/EventhubProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -65,8 +65,8 @@ internal EventhubProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. { return; } - {_captureDescription = If( json?.PropertyT("captureDescription"), out var __jsonCaptureDescription) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CaptureDescription.FromJson(__jsonCaptureDescription) : CaptureDescription;} - {_retentionDescription = If( json?.PropertyT("retentionDescription"), out var __jsonRetentionDescription) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.RetentionDescription.FromJson(__jsonRetentionDescription) : RetentionDescription;} + {_captureDescription = If( json?.PropertyT("captureDescription"), out var __jsonCaptureDescription) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CaptureDescription.FromJson(__jsonCaptureDescription) : CaptureDescription;} + {_retentionDescription = If( json?.PropertyT("retentionDescription"), out var __jsonRetentionDescription) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.RetentionDescription.FromJson(__jsonRetentionDescription) : RetentionDescription;} {_partitionId = If( json?.PropertyT("partitionIds"), out var __jsonPartitionIds) ? If( __jsonPartitionIds as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : PartitionId;} {_createdAt = If( json?.PropertyT("createdAt"), out var __jsonCreatedAt) ? global::System.DateTime.TryParse((string)__jsonCreatedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedAtValue) ? __jsonCreatedAtValue : CreatedAt : CreatedAt;} {_updatedAt = If( json?.PropertyT("updatedAt"), out var __jsonUpdatedAt) ? global::System.DateTime.TryParse((string)__jsonUpdatedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonUpdatedAtValue) ? __jsonUpdatedAtValue : UpdatedAt : UpdatedAt;} @@ -77,13 +77,13 @@ internal EventhubProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhubProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhubProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new EventhubProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.PowerShell.cs new file mode 100644 index 000000000000..4fe659fe3970 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.PowerShell.cs @@ -0,0 +1,178 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + [System.ComponentModel.TypeConverter(typeof(FailOverTypeConverter))] + public partial class FailOver + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new FailOver(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new FailOver(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal FailOver(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("PrimaryLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).PrimaryLocation = (string) content.GetValueForProperty("PrimaryLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).PrimaryLocation, global::System.Convert.ToString); + } + if (content.Contains("MaximumGracePeriodInMin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).MaximumGracePeriodInMin = (int?) content.GetValueForProperty("MaximumGracePeriodInMin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).MaximumGracePeriodInMin, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal FailOver(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("PrimaryLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).PrimaryLocation = (string) content.GetValueForProperty("PrimaryLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).PrimaryLocation, global::System.Convert.ToString); + } + if (content.Contains("MaximumGracePeriodInMin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).MaximumGracePeriodInMin = (int?) content.GetValueForProperty("MaximumGracePeriodInMin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal)this).MaximumGracePeriodInMin, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + [System.ComponentModel.TypeConverter(typeof(FailOverTypeConverter))] + public partial interface IFailOver + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.TypeConverter.cs new file mode 100644 index 000000000000..5a3651047c64 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.TypeConverter.cs @@ -0,0 +1,146 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class FailOverTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return FailOver.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return FailOver.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return FailOver.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.cs new file mode 100644 index 000000000000..7c54f8a011d0 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.cs @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class FailOver : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal + { + + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public int? MaximumGracePeriodInMin { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)Property).MaximumGracePeriodInMin; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)Property).MaximumGracePeriodInMin = value ?? default(int); } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverProperties()); set { {_property = value;} } } + + /// Query parameter for the new primary location after failover. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string PrimaryLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)Property).PrimaryLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)Property).PrimaryLocation = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties _property; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverProperties()); set => this._property = value; } + + /// Creates an new instance. + public FailOver() + { + + } + } + public partial interface IFailOver : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the replication the namespace stops accepting any new publishing requests", + SerializedName = @"maximumGracePeriodInMins", + PossibleTypes = new [] { typeof(int) })] + int? MaximumGracePeriodInMin { get; set; } + /// Query parameter for the new primary location after failover. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Query parameter for the new primary location after failover.", + SerializedName = @"primaryLocation", + PossibleTypes = new [] { typeof(string) })] + string PrimaryLocation { get; set; } + + } + internal partial interface IFailOverInternal + + { + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + int? MaximumGracePeriodInMin { get; set; } + /// Query parameter for the new primary location after failover. + string PrimaryLocation { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties Property { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.json.cs new file mode 100644 index 000000000000..d7d09317b56f --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOver.json.cs @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + public partial class FailOver + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal FailOver(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverProperties.FromJson(__jsonProperties) : Property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOver FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new FailOver(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.PowerShell.cs new file mode 100644 index 000000000000..2e2cbe10f596 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.PowerShell.cs @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + [System.ComponentModel.TypeConverter(typeof(FailOverPropertiesTypeConverter))] + public partial class FailOverProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new FailOverProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new FailOverProperties(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal FailOverProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("PrimaryLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).PrimaryLocation = (string) content.GetValueForProperty("PrimaryLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).PrimaryLocation, global::System.Convert.ToString); + } + if (content.Contains("MaximumGracePeriodInMin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).MaximumGracePeriodInMin = (int?) content.GetValueForProperty("MaximumGracePeriodInMin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).MaximumGracePeriodInMin, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal FailOverProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("PrimaryLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).PrimaryLocation = (string) content.GetValueForProperty("PrimaryLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).PrimaryLocation, global::System.Convert.ToString); + } + if (content.Contains("MaximumGracePeriodInMin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).MaximumGracePeriodInMin = (int?) content.GetValueForProperty("MaximumGracePeriodInMin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal)this).MaximumGracePeriodInMin, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + [System.ComponentModel.TypeConverter(typeof(FailOverPropertiesTypeConverter))] + public partial interface IFailOverProperties + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.TypeConverter.cs new file mode 100644 index 000000000000..9d3bda9566de --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class FailOverPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return FailOverProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return FailOverProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return FailOverProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.cs new file mode 100644 index 000000000000..3af7c0571a7e --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.cs @@ -0,0 +1,84 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class FailOverProperties : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverPropertiesInternal + { + + /// Backing field for property. + private int? _maximumGracePeriodInMin; + + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public int? MaximumGracePeriodInMin { get => this._maximumGracePeriodInMin; set => this._maximumGracePeriodInMin = value; } + + /// Backing field for property. + private string _primaryLocation; + + /// Query parameter for the new primary location after failover. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string PrimaryLocation { get => this._primaryLocation; set => this._primaryLocation = value; } + + /// Creates an new instance. + public FailOverProperties() + { + + } + } + public partial interface IFailOverProperties : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the replication the namespace stops accepting any new publishing requests", + SerializedName = @"maximumGracePeriodInMins", + PossibleTypes = new [] { typeof(int) })] + int? MaximumGracePeriodInMin { get; set; } + /// Query parameter for the new primary location after failover. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Query parameter for the new primary location after failover.", + SerializedName = @"primaryLocation", + PossibleTypes = new [] { typeof(string) })] + string PrimaryLocation { get; set; } + + } + internal partial interface IFailOverPropertiesInternal + + { + /// + /// Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For + /// Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being + /// replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating + /// data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the + /// replication the namespace stops accepting any new publishing requests + /// + int? MaximumGracePeriodInMin { get; set; } + /// Query parameter for the new primary location after failover. + string PrimaryLocation { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.json.cs new file mode 100644 index 000000000000..66574245a484 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/FailOverProperties.json.cs @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + public partial class FailOverProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal FailOverProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_primaryLocation = If( json?.PropertyT("primaryLocation"), out var __jsonPrimaryLocation) ? (string)__jsonPrimaryLocation : (string)PrimaryLocation;} + {_maximumGracePeriodInMin = If( json?.PropertyT("maximumGracePeriodInMins"), out var __jsonMaximumGracePeriodInMins) ? (int?)__jsonMaximumGracePeriodInMins : MaximumGracePeriodInMin;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IFailOverProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new FailOverProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._primaryLocation)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._primaryLocation.ToString()) : null, "primaryLocation" ,container.Add ); + AddIf( null != this._maximumGracePeriodInMin ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNumber((int)this._maximumGracePeriodInMin) : null, "maximumGracePeriodInMins" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.PowerShell.cs new file mode 100644 index 000000000000..c6c2d2a3c6c4 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.PowerShell.cs @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// GeoDR Replication properties + [System.ComponentModel.TypeConverter(typeof(GeoDataReplicationPropertiesTypeConverter))] + public partial class GeoDataReplicationProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new GeoDataReplicationProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new GeoDataReplicationProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal GeoDataReplicationProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("MaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).MaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("MaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).MaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).Location = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal GeoDataReplicationProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("MaxReplicationLagDurationInSecond")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).MaxReplicationLagDurationInSecond = (int?) content.GetValueForProperty("MaxReplicationLagDurationInSecond",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).MaxReplicationLagDurationInSecond, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).Location = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// GeoDR Replication properties + [System.ComponentModel.TypeConverter(typeof(GeoDataReplicationPropertiesTypeConverter))] + public partial interface IGeoDataReplicationProperties + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.TypeConverter.cs new file mode 100644 index 000000000000..a94f25a1cf60 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class GeoDataReplicationPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return GeoDataReplicationProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return GeoDataReplicationProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return GeoDataReplicationProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.cs new file mode 100644 index 000000000000..387d2e9eb18d --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.cs @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// GeoDR Replication properties + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class GeoDataReplicationProperties : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationPropertiesInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] _location; + + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] Location { get => this._location; set => this._location = value; } + + /// Backing field for property. + private int? _maxReplicationLagDurationInSecond; + + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public int? MaxReplicationLagDurationInSecond { get => this._maxReplicationLagDurationInSecond; set => this._maxReplicationLagDurationInSecond = value; } + + /// Creates an new instance. + public GeoDataReplicationProperties() + { + + } + } + /// GeoDR Replication properties + public partial interface IGeoDataReplicationProperties : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// A list of regions where replicas of the namespace are maintained. + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A list of regions where replicas of the namespace are maintained.", + SerializedName = @"locations", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] Location { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.", + SerializedName = @"maxReplicationLagDurationInSeconds", + PossibleTypes = new [] { typeof(int) })] + int? MaxReplicationLagDurationInSecond { get; set; } + + } + /// GeoDR Replication properties + internal partial interface IGeoDataReplicationPropertiesInternal + + { + /// A list of regions where replicas of the namespace are maintained. + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] Location { get; set; } + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + int? MaxReplicationLagDurationInSecond { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.json.cs new file mode 100644 index 000000000000..290b8bb67bcf --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/GeoDataReplicationProperties.json.cs @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// GeoDR Replication properties + public partial class GeoDataReplicationProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IGeoDataReplicationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new GeoDataReplicationProperties(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal GeoDataReplicationProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_maxReplicationLagDurationInSecond = If( json?.PropertyT("maxReplicationLagDurationInSeconds"), out var __jsonMaxReplicationLagDurationInSeconds) ? (int?)__jsonMaxReplicationLagDurationInSeconds : MaxReplicationLagDurationInSecond;} + {_location = If( json?.PropertyT("locations"), out var __jsonLocations) ? If( __jsonLocations as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocation.FromJson(__u) )) ))() : null : Location;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._maxReplicationLagDurationInSecond ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNumber((int)this._maxReplicationLagDurationInSecond) : null, "maxReplicationLagDurationInSeconds" ,container.Add ); + if (null != this._location) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.XNodeArray(); + foreach( var __x in this._location ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("locations",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.PowerShell.cs similarity index 71% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.PowerShell.cs index d26d0606b33d..592578e6d89d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class Identity partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Identity(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Identity(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,25 +111,25 @@ internal Identity(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -144,19 +144,19 @@ internal Identity(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType.CreateFrom); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.TypeConverter.cs index 0258bd58d97a..a8bddc207ae1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.cs index 9b2694e18f2e..764480ce6dd5 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties to configure Identity for Bring your Own Keys [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Identity : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal { /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } /// Backing field for property. private string _principalId; @@ -42,11 +42,11 @@ public partial class Identity : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType? Type { get => this._type; set => this._type = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities _userAssignedIdentity; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities _userAssignedIdentity; /// Properties for User Assigned Identities [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => (this._userAssignedIdentity = this._userAssignedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentities()); set => this._userAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => (this._userAssignedIdentity = this._userAssignedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentities()); set => this._userAssignedIdentity = value; } /// Creates an new instance. public Identity() @@ -88,8 +88,8 @@ public partial interface IIdentity : ReadOnly = false, Description = @"Properties for User Assigned Identities", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } } /// Properties to configure Identity for Bring your Own Keys @@ -103,7 +103,7 @@ internal partial interface IIdentityInternal /// Type of managed service identity. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType? Type { get; set; } /// Properties for User Assigned Identities - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.json.cs index 113a65390f3f..4fd3d373e1e2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Identity.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Identity.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class Identity partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Identity(json) : null; } @@ -80,7 +80,7 @@ internal Identity(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonO {_principalId = If( json?.PropertyT("principalId"), out var __jsonPrincipalId) ? (string)__jsonPrincipalId : (string)PrincipalId;} {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)TenantId;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentities"), out var __jsonUserAssignedIdentities) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentities.FromJson(__jsonUserAssignedIdentities) : UserAssignedIdentity;} + {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentities"), out var __jsonUserAssignedIdentities) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentities.FromJson(__jsonUserAssignedIdentities) : UserAssignedIdentity;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.PowerShell.cs similarity index 88% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.PowerShell.cs index e0956e5b1b0e..13c3deaaafda 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class IdentityUserAssignedIdentities partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new IdentityUserAssignedIdentities(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new IdentityUserAssignedIdentities(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -117,7 +117,7 @@ internal IdentityUserAssignedIdentities(global::System.Collections.IDictionary c } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.TypeConverter.cs index ca88b086a6df..c908fa84f1a9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.cs index d30e17ae8ef5..95c36ef9e86f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties for User Assigned Identities public partial class IdentityUserAssignedIdentities : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentitiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentitiesInternal { /// Creates an new instance. @@ -22,7 +22,7 @@ public IdentityUserAssignedIdentities() /// Properties for User Assigned Identities public partial interface IIdentityUserAssignedIdentities : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray { } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.dictionary.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.dictionary.cs similarity index 66% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.dictionary.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.dictionary.cs index 8e44dacca551..20d12f65b5b0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.dictionary.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.dictionary.cs @@ -3,28 +3,28 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; public partial class IdentityUserAssignedIdentities : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray { - protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); + protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); - global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } + global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } - int Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } + int Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } /// /// - public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity value) => __additionalProperties.Add( key, value); + public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity value) => __additionalProperties.Add( key, value); public void Clear() => __additionalProperties.Clear(); @@ -40,7 +40,7 @@ public void CopyFrom(global::System.Collections.IDictionary source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -55,7 +55,7 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -66,10 +66,10 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// /// - public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity value) => __additionalProperties.TryGetValue( key, out value); + public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity value) => __additionalProperties.TryGetValue( key, out value); /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IdentityUserAssignedIdentities source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IdentityUserAssignedIdentities source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.json.cs index 636bf3d1df71..6ed81d252da8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/IdentityUserAssignedIdentities.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/IdentityUserAssignedIdentities.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class IdentityUserAssignedIdentities partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new IdentityUserAssignedIdentities(json) : null; } @@ -78,7 +78,7 @@ internal IdentityUserAssignedIdentities(Microsoft.Azure.PowerShell.Cmdlets.Event { return; } - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentity.FromJson(j) ,exclusions ); + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentity.FromJson(j) ,exclusions ); AfterFromJson(json); } @@ -101,7 +101,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson( { return container; } - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray)this).AdditionalProperties, container); + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IAssociativeArray)this).AdditionalProperties, container); AfterToJson(ref container); return container; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.PowerShell.cs similarity index 69% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.PowerShell.cs index 97771aac84de..aa7c4f09f3ca 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class KeyVaultProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KeyVaultProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KeyVaultProperties(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,29 +111,29 @@ internal KeyVaultProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentityPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentityPropertiesTypeConverter.ConvertFrom); } if (content.Contains("KeyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); } if (content.Contains("KeyVaultUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); } if (content.Contains("KeyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -148,23 +148,23 @@ internal KeyVaultProperties(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentityPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentityPropertiesTypeConverter.ConvertFrom); } if (content.Contains("KeyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); } if (content.Contains("KeyVaultUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); } if (content.Contains("KeyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.TypeConverter.cs index 63396118be57..5e15b089b769 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.cs similarity index 81% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.cs index dfa483a997ee..eb3958479855 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties to configure keyVault Properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class KeyVaultProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties _identity; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties _identity; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentityProperties()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentityProperties()); set => this._identity = value; } /// Backing field for property. private string _keyName; @@ -42,11 +42,11 @@ public partial class KeyVaultProperties : public string KeyVersion { get => this._keyVersion; set => this._keyVersion = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentityProperties()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentityProperties()); set { {_identity = value;} } } /// ARM ID of user Identity selected for encryption [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string UserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)Identity).UserAssignedIdentity = value ?? null; } + public string UserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)Identity).UserAssignedIdentity = value ?? null; } /// Creates an new instance. public KeyVaultProperties() @@ -96,7 +96,7 @@ public partial interface IKeyVaultProperties : internal partial interface IKeyVaultPropertiesInternal { - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties Identity { get; set; } /// Name of the Key from KeyVault string KeyName { get; set; } /// Uri of KeyVault diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.json.cs index e88a0cd44569..7fc7d5c6430c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/KeyVaultProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/KeyVaultProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KeyVaultProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new KeyVaultProperties(json) : null; } @@ -77,7 +77,7 @@ internal KeyVaultProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime. { return; } - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.UserAssignedIdentityProperties.FromJson(__jsonIdentity) : Identity;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.UserAssignedIdentityProperties.FromJson(__jsonIdentity) : Identity;} {_keyName = If( json?.PropertyT("keyName"), out var __jsonKeyName) ? (string)__jsonKeyName : (string)KeyName;} {_keyVaultUri = If( json?.PropertyT("keyVaultUri"), out var __jsonKeyVaultUri) ? (string)__jsonKeyVaultUri : (string)KeyVaultUri;} {_keyVersion = If( json?.PropertyT("keyVersion"), out var __jsonKeyVersion) ? (string)__jsonKeyVersion : (string)KeyVersion;} diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.PowerShell.cs new file mode 100644 index 000000000000..d8249658a920 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.PowerShell.cs @@ -0,0 +1,182 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Namespace replication properties + [System.ComponentModel.TypeConverter(typeof(NamespaceReplicaLocationTypeConverter))] + public partial class NamespaceReplicaLocation + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new NamespaceReplicaLocation(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new NamespaceReplicaLocation(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal NamespaceReplicaLocation(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LocationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).LocationName = (string) content.GetValueForProperty("LocationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).LocationName, global::System.Convert.ToString); + } + if (content.Contains("RoleType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).RoleType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType?) content.GetValueForProperty("RoleType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).RoleType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType.CreateFrom); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).ClusterArmId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal NamespaceReplicaLocation(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LocationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).LocationName = (string) content.GetValueForProperty("LocationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).LocationName, global::System.Convert.ToString); + } + if (content.Contains("RoleType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).RoleType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType?) content.GetValueForProperty("RoleType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).RoleType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType.CreateFrom); + } + if (content.Contains("ClusterArmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).ClusterArmId = (string) content.GetValueForProperty("ClusterArmId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal)this).ClusterArmId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Namespace replication properties + [System.ComponentModel.TypeConverter(typeof(NamespaceReplicaLocationTypeConverter))] + public partial interface INamespaceReplicaLocation + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.TypeConverter.cs new file mode 100644 index 000000000000..dcb24519f784 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class NamespaceReplicaLocationTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return NamespaceReplicaLocation.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return NamespaceReplicaLocation.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return NamespaceReplicaLocation.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.cs new file mode 100644 index 000000000000..b17b5be82fcc --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.cs @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// Namespace replication properties + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class NamespaceReplicaLocation : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocationInternal + { + + /// Backing field for property. + private string _clusterArmId; + + /// + /// Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in + /// a Dedicated Event Hub Cluster + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string ClusterArmId { get => this._clusterArmId; set => this._clusterArmId = value; } + + /// Backing field for property. + private string _locationName; + + /// Azure regions where a replica of the namespace is maintained + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string LocationName { get => this._locationName; set => this._locationName = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType? _roleType; + + /// GeoDR Role Types + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType? RoleType { get => this._roleType; set => this._roleType = value; } + + /// Creates an new instance. + public NamespaceReplicaLocation() + { + + } + } + /// Namespace replication properties + public partial interface INamespaceReplicaLocation : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable + { + /// + /// Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in + /// a Dedicated Event Hub Cluster + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster", + SerializedName = @"clusterArmId", + PossibleTypes = new [] { typeof(string) })] + string ClusterArmId { get; set; } + /// Azure regions where a replica of the namespace is maintained + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure regions where a replica of the namespace is maintained", + SerializedName = @"locationName", + PossibleTypes = new [] { typeof(string) })] + string LocationName { get; set; } + /// GeoDR Role Types + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"GeoDR Role Types", + SerializedName = @"roleType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType? RoleType { get; set; } + + } + /// Namespace replication properties + internal partial interface INamespaceReplicaLocationInternal + + { + /// + /// Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in + /// a Dedicated Event Hub Cluster + /// + string ClusterArmId { get; set; } + /// Azure regions where a replica of the namespace is maintained + string LocationName { get; set; } + /// GeoDR Role Types + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType? RoleType { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.json.cs new file mode 100644 index 000000000000..ee9b28260dac --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NamespaceReplicaLocation.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + /// Namespace replication properties + public partial class NamespaceReplicaLocation + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NamespaceReplicaLocation(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal NamespaceReplicaLocation(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_locationName = If( json?.PropertyT("locationName"), out var __jsonLocationName) ? (string)__jsonLocationName : (string)LocationName;} + {_roleType = If( json?.PropertyT("roleType"), out var __jsonRoleType) ? (string)__jsonRoleType : (string)RoleType;} + {_clusterArmId = If( json?.PropertyT("clusterArmId"), out var __jsonClusterArmId) ? (string)__jsonClusterArmId : (string)ClusterArmId;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._locationName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._locationName.ToString()) : null, "locationName" ,container.Add ); + AddIf( null != (((object)this._roleType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._roleType.ToString()) : null, "roleType" ,container.Add ); + AddIf( null != (((object)this._clusterArmId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._clusterArmId.ToString()) : null, "clusterArmId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.PowerShell.cs new file mode 100644 index 000000000000..ac6eb67821e1 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.PowerShell.cs @@ -0,0 +1,292 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Description of topic resource. + [System.ComponentModel.TypeConverter(typeof(NetworkRuleSetTypeConverter))] + public partial class NetworkRuleSet + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new NetworkRuleSet(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new NetworkRuleSet(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal NetworkRuleSet(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("DefaultAction")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("TrustedServiceAccessEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("VirtualNetworkRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + } + if (content.Contains("IPRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal NetworkRuleSet(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("DefaultAction")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("TrustedServiceAccessEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("VirtualNetworkRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + } + if (content.Contains("IPRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + } + if (content.Contains("PublicNetworkAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Description of topic resource. + [System.ComponentModel.TypeConverter(typeof(NetworkRuleSetTypeConverter))] + public partial interface INetworkRuleSet + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.TypeConverter.cs index 4570f92176cc..f00d54c68669 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.cs similarity index 86% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.cs index 04e41e12f279..3f36f1586b6b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Description of topic resource. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkRuleSet : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,11 +22,11 @@ public partial class NetworkRuleSet : /// Default Action for Network Rule Set [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction? DefaultAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).DefaultAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).DefaultAction = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction? DefaultAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).DefaultAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).DefaultAction = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction)""); } /// List of IpRules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).IPRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).IPRule = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).IPRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).IPRule = value ?? null /* arrayOf */; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -51,28 +51,28 @@ public partial class NetworkRuleSet : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetProperties()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties _property; /// NetworkRuleSet properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetProperties()); set => this._property = value; } /// /// This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then /// Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag)""); } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -111,7 +111,7 @@ public partial class NetworkRuleSet : /// Value that indicates whether Trusted Service Access is Enabled or not. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public bool? TrustedServiceAccessEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).TrustedServiceAccessEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).TrustedServiceAccessEnabled = value ?? default(bool); } + public bool? TrustedServiceAccessEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).TrustedServiceAccessEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).TrustedServiceAccessEnabled = value ?? default(bool); } /// /// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" @@ -121,7 +121,7 @@ public partial class NetworkRuleSet : /// List VirtualNetwork Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).VirtualNetworkRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)Property).VirtualNetworkRule = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).VirtualNetworkRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)Property).VirtualNetworkRule = value ?? null /* arrayOf */; } /// Creates an new instance. public NetworkRuleSet() @@ -160,8 +160,8 @@ public partial interface INetworkRuleSet : ReadOnly = false, Description = @"List of IpRules", SerializedName = @"ipRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get; set; } /// /// This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then /// Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. @@ -235,8 +235,8 @@ public partial interface INetworkRuleSet : ReadOnly = false, Description = @"List VirtualNetwork Rules", SerializedName = @"virtualNetworkRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } } /// Description of topic resource. @@ -246,9 +246,9 @@ internal partial interface INetworkRuleSetInternal : /// Default Action for Network Rule Set Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction? DefaultAction { get; set; } /// List of IpRules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get; set; } /// NetworkRuleSet properties - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties Property { get; set; } /// /// This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then /// Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. @@ -271,7 +271,7 @@ internal partial interface INetworkRuleSetInternal : /// Value that indicates whether Trusted Service Access is Enabled or not. bool? TrustedServiceAccessEnabled { get; set; } /// List VirtualNetwork Rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.json.cs index 6e21cefaf27b..70b0b898829f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSet.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSet.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkRuleSet partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkRuleSet(json) : null; } @@ -78,7 +78,7 @@ internal NetworkRuleSet(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.PowerShell.cs similarity index 75% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.PowerShell.cs index c07ec521aea5..c8241eb9f889 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkRuleSetListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkRuleSetListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkRuleSetListResult(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal NetworkRuleSetListResult(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal NetworkRuleSetListResult(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSetTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSetTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.TypeConverter.cs index 2e0e214982b8..75e1d8efaf05 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.cs index a61685a588d5..b980053fa798 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response of the List NetworkRuleSet operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkRuleSetListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class NetworkRuleSetListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[] _value; /// Result of the List NetworkRuleSet operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public NetworkRuleSetListResult() @@ -56,8 +56,8 @@ public partial interface INetworkRuleSetListResult : ReadOnly = false, Description = @"Result of the List NetworkRuleSet operation", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[] Value { get; set; } } /// The response of the List NetworkRuleSet operation @@ -69,7 +69,7 @@ internal partial interface INetworkRuleSetListResultInternal /// string NextLink { get; set; } /// Result of the List NetworkRuleSet operation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.json.cs index 9bbcc0de2083..7ed6178638db 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkRuleSetListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkRuleSetListResult(json) : null; } @@ -77,7 +77,7 @@ internal NetworkRuleSetListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Ru { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSet.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSet.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.PowerShell.cs similarity index 61% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.PowerShell.cs index 1692cd4df5f1..ea6552b75adb 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkRuleSetProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkRuleSetProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkRuleSetProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,29 +113,29 @@ internal NetworkRuleSetProperties(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("TrustedServiceAccessEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("DefaultAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); } if (content.Contains("VirtualNetworkRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); } if (content.Contains("IPRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); } if (content.Contains("PublicNetworkAccess")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,23 +150,23 @@ internal NetworkRuleSetProperties(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("TrustedServiceAccessEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled = (bool?) content.GetValueForProperty("TrustedServiceAccessEnabled",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).TrustedServiceAccessEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("DefaultAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction?) content.GetValueForProperty("DefaultAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).DefaultAction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction.CreateFrom); } if (content.Contains("VirtualNetworkRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]) content.GetValueForProperty("VirtualNetworkRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).VirtualNetworkRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetVirtualNetworkRulesTypeConverter.ConvertFrom)); } if (content.Contains("IPRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).IPRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]) content.GetValueForProperty("IPRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).IPRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetIPRulesTypeConverter.ConvertFrom)); } if (content.Contains("PublicNetworkAccess")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag?) content.GetValueForProperty("PublicNetworkAccess",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal)this).PublicNetworkAccess, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.TypeConverter.cs index 580f0b4af6ab..d4ec065cfa68 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.cs index 5ca8ac56dda0..e089e5d94200 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// NetworkRuleSet properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkRuleSetProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetPropertiesInternal { /// Backing field for property. @@ -22,11 +22,11 @@ public partial class NetworkRuleSetProperties : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction? DefaultAction { get => this._defaultAction; set => this._defaultAction = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] _iPRule; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] _iPRule; /// List of IpRules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get => this._iPRule; set => this._iPRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get => this._iPRule; set => this._iPRule = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PublicNetworkAccessFlag? _publicNetworkAccess; @@ -46,11 +46,11 @@ public partial class NetworkRuleSetProperties : public bool? TrustedServiceAccessEnabled { get => this._trustedServiceAccessEnabled; set => this._trustedServiceAccessEnabled = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] _virtualNetworkRule; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] _virtualNetworkRule; /// List VirtualNetwork Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => this._virtualNetworkRule; set => this._virtualNetworkRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => this._virtualNetworkRule; set => this._virtualNetworkRule = value; } /// Creates an new instance. public NetworkRuleSetProperties() @@ -76,8 +76,8 @@ public partial interface INetworkRuleSetProperties : ReadOnly = false, Description = @"List of IpRules", SerializedName = @"ipRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get; set; } /// /// This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then /// Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. @@ -103,8 +103,8 @@ public partial interface INetworkRuleSetProperties : ReadOnly = false, Description = @"List VirtualNetwork Rules", SerializedName = @"virtualNetworkRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } } /// NetworkRuleSet properties @@ -114,7 +114,7 @@ internal partial interface INetworkRuleSetPropertiesInternal /// Default Action for Network Rule Set Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.DefaultAction? DefaultAction { get; set; } /// List of IpRules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get; set; } /// /// This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then /// Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. @@ -123,7 +123,7 @@ internal partial interface INetworkRuleSetPropertiesInternal /// Value that indicates whether Trusted Service Access is Enabled or not. bool? TrustedServiceAccessEnabled { get; set; } /// List VirtualNetwork Rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.json.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.json.cs index 01bf42f11d4f..616bc52bf6c8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkRuleSetProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkRuleSetProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkRuleSetProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkRuleSetProperties(json) : null; } @@ -79,8 +79,8 @@ internal NetworkRuleSetProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Ru } {_trustedServiceAccessEnabled = If( json?.PropertyT("trustedServiceAccessEnabled"), out var __jsonTrustedServiceAccessEnabled) ? (bool?)__jsonTrustedServiceAccessEnabled : TrustedServiceAccessEnabled;} {_defaultAction = If( json?.PropertyT("defaultAction"), out var __jsonDefaultAction) ? (string)__jsonDefaultAction : (string)DefaultAction;} - {_virtualNetworkRule = If( json?.PropertyT("virtualNetworkRules"), out var __jsonVirtualNetworkRules) ? If( __jsonVirtualNetworkRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetVirtualNetworkRules.FromJson(__u) )) ))() : null : VirtualNetworkRule;} - {_iPRule = If( json?.PropertyT("ipRules"), out var __jsonIPRules) ? If( __jsonIPRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NwRuleSetIPRules.FromJson(__p) )) ))() : null : IPRule;} + {_virtualNetworkRule = If( json?.PropertyT("virtualNetworkRules"), out var __jsonVirtualNetworkRules) ? If( __jsonVirtualNetworkRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetVirtualNetworkRules.FromJson(__u) )) ))() : null : VirtualNetworkRule;} + {_iPRule = If( json?.PropertyT("ipRules"), out var __jsonIPRules) ? If( __jsonIPRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NwRuleSetIPRules.FromJson(__p) )) ))() : null : IPRule;} {_publicNetworkAccess = If( json?.PropertyT("publicNetworkAccess"), out var __jsonPublicNetworkAccess) ? (string)__jsonPublicNetworkAccess : (string)PublicNetworkAccess;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.PowerShell.cs index 13ef49ef5f05..0dd9a9db1539 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkSecurityPerimeter partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkSecurityPerimeter(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkSecurityPerimeter(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +113,21 @@ internal NetworkSecurityPerimeter(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("PerimeterGuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid = (string) content.GetValueForProperty("PerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid = (string) content.GetValueForProperty("PerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Location, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +142,15 @@ internal NetworkSecurityPerimeter(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("PerimeterGuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid = (string) content.GetValueForProperty("PerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid = (string) content.GetValueForProperty("PerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).PerimeterGuid, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)this).Location, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.TypeConverter.cs index 9091e876fc4e..b99a61c7b3e2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.cs index 6d06a3034987..cc2a16b35d1d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// NetworkSecurityPerimeter related information [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeter : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.json.cs index b2da1b1bc14b..13be8f9a6d56 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeter.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeter.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeter partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeter(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs new file mode 100644 index 000000000000..d872fe6badfd --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.PowerShell.cs @@ -0,0 +1,337 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Network Security Perimeter related configurations of a given namespace + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationTypeConverter))] + public partial class NetworkSecurityPerimeterConfiguration + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new NetworkSecurityPerimeterConfiguration(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new NetworkSecurityPerimeterConfiguration(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal NetworkSecurityPerimeterConfiguration(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeter")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceAssociation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); + } + if (content.Contains("Profile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); + } + if (content.Contains("ProvisioningIssue")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueTypeConverter.ConvertFrom)); + } + if (content.Contains("IsBackingResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).IsBackingResource = (bool?) content.GetValueForProperty("IsBackingResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).IsBackingResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApplicableFeature")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ApplicableFeature = (string[]) content.GetValueForProperty("ApplicableFeature",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ApplicableFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ParentAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ParentAssociationName = (string) content.GetValueForProperty("ParentAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ParentAssociationName, global::System.Convert.ToString); + } + if (content.Contains("SourceResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationAccessMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + } + if (content.Contains("NetworkSecurityPerimeterGuid")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName, global::System.Convert.ToString); + } + if (content.Contains("ProfileName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRulesVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal NetworkSecurityPerimeterConfiguration(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeter")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceAssociation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); + } + if (content.Contains("Profile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); + } + if (content.Contains("ProvisioningIssue")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueTypeConverter.ConvertFrom)); + } + if (content.Contains("IsBackingResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).IsBackingResource = (bool?) content.GetValueForProperty("IsBackingResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).IsBackingResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApplicableFeature")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ApplicableFeature = (string[]) content.GetValueForProperty("ApplicableFeature",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ApplicableFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ParentAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ParentAssociationName = (string) content.GetValueForProperty("ParentAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ParentAssociationName, global::System.Convert.ToString); + } + if (content.Contains("SourceResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationAccessMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + } + if (content.Contains("NetworkSecurityPerimeterGuid")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ResourceAssociationName, global::System.Convert.ToString); + } + if (content.Contains("ProfileName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileName, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRulesVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Network Security Perimeter related configurations of a given namespace + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationTypeConverter))] + public partial interface INetworkSecurityPerimeterConfiguration + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs index c6bc5f0e4576..37551044aca0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -109,14 +109,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.cs similarity index 56% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.cs index 94c597dddba1..8478af03e9e4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Network Security Perimeter related configurations of a given namespace [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeterConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -20,12 +20,25 @@ public partial class NetworkSecurityPerimeterConfiguration : /// private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResource __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(); + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string[] ApplicableFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ApplicableFeature; } + /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Id; } + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public bool? IsBackingResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).IsBackingResource; } + /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Location; } @@ -42,17 +55,29 @@ public partial class NetworkSecurityPerimeterConfiguration : /// Internal Acessors for Type string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } + /// Internal Acessors for ApplicableFeature + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.ApplicableFeature { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ApplicableFeature; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ApplicableFeature = value; } + + /// Internal Acessors for IsBackingResource + bool? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.IsBackingResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).IsBackingResource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).IsBackingResource = value; } + /// Internal Acessors for NetworkSecurityPerimeter - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeter = value; } + + /// Internal Acessors for ParentAssociationName + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.ParentAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ParentAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ParentAssociationName = value; } /// Internal Acessors for Profile - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.Profile { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).Profile = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationProperties()); set { {_property = value;} } } /// Internal Acessors for ResourceAssociation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.ResourceAssociation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociation = value; } + + /// Internal Acessors for SourceResourceId + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationInternal.SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).SourceResourceId = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -60,50 +85,58 @@ public partial class NetworkSecurityPerimeterConfiguration : /// Guid of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value ?? null; } + public string NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterGuid = value ?? null; } /// Fully qualified identifier of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value ?? null; } + public string NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterId = value ?? null; } /// Location of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value ?? null; } + public string NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).NetworkSecurityPerimeterLocation = value ?? null; } + + /// Source Resource Association name + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string ParentAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ParentAssociationName; } /// List of Access Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRule = value ?? null /* arrayOf */; } /// Current access rules version [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value ?? null; } + public string ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileAccessRulesVersion = value ?? null; } /// Name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value ?? null; } + public string ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProfileName = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties _property; /// Properties of the Network Security Perimeter Configuration [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationProperties()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationProperties()); } /// List of Provisioning Issues if any [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningIssue = value ?? null /* arrayOf */; } /// Provisioning state of NetworkSecurityPerimeter configuration propagation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ProvisioningState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState)""); } /// Access Mode of the resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationAccessMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode)""); } /// Name of the resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value ?? null; } + public string ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).ResourceAssociationName = value ?? null; } + + /// ARM Id of source resource + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)Property).SourceResourceId; } /// /// The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" @@ -134,6 +167,27 @@ public partial interface INetworkSecurityPerimeterConfiguration : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResource { + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.", + SerializedName = @"applicableFeatures", + PossibleTypes = new [] { typeof(string) })] + string[] ApplicableFeature { get; } + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"True if the EventHub namespace is backed by another Azure resource and not visible to end users.", + SerializedName = @"isBackingResource", + PossibleTypes = new [] { typeof(bool) })] + bool? IsBackingResource { get; } /// Guid of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -158,14 +212,22 @@ public partial interface INetworkSecurityPerimeterConfiguration : SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] string NetworkSecurityPerimeterLocation { get; set; } + /// Source Resource Association name + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Source Resource Association name", + SerializedName = @"parentAssociationName", + PossibleTypes = new [] { typeof(string) })] + string ParentAssociationName { get; } /// List of Access Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, Description = @"List of Access Rules", SerializedName = @"accessRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get; set; } /// Current access rules version [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -188,8 +250,8 @@ public partial interface INetworkSecurityPerimeterConfiguration : ReadOnly = false, Description = @"List of Provisioning Issues if any", SerializedName = @"provisioningIssues", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } /// Provisioning state of NetworkSecurityPerimeter configuration propagation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -214,40 +276,61 @@ public partial interface INetworkSecurityPerimeterConfiguration : SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string ResourceAssociationName { get; set; } + /// ARM Id of source resource + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"ARM Id of source resource", + SerializedName = @"sourceResourceId", + PossibleTypes = new [] { typeof(string) })] + string SourceResourceId { get; } } /// Network Security Perimeter related configurations of a given namespace internal partial interface INetworkSecurityPerimeterConfigurationInternal : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal { + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + string[] ApplicableFeature { get; set; } + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + bool? IsBackingResource { get; set; } /// NetworkSecurityPerimeter related information - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get; set; } /// Guid of the resource string NetworkSecurityPerimeterGuid { get; set; } /// Fully qualified identifier of the resource string NetworkSecurityPerimeterId { get; set; } /// Location of the resource string NetworkSecurityPerimeterLocation { get; set; } + /// Source Resource Association name + string ParentAssociationName { get; set; } /// Information about current network profile - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get; set; } /// List of Access Rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get; set; } /// Current access rules version string ProfileAccessRulesVersion { get; set; } /// Name of the resource string ProfileName { get; set; } /// Properties of the Network Security Perimeter Configuration - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties Property { get; set; } /// List of Provisioning Issues if any - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } /// Provisioning state of NetworkSecurityPerimeter configuration propagation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? ProvisioningState { get; set; } /// Information about resource association - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get; set; } /// Access Mode of the resource association Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get; set; } /// Name of the resource association string ResourceAssociationName { get; set; } + /// ARM Id of source resource + string SourceResourceId { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.json.cs similarity index 93% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.json.cs index 9bd617a47c17..90e47c4c224e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfiguration.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfiguration.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeterConfiguration partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfiguration(json) : null; } @@ -78,7 +78,7 @@ internal NetworkSecurityPerimeterConfiguration(Microsoft.Azure.PowerShell.Cmdlet return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs similarity index 77% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs index fdf49b9cfe15..097f013f7308 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkSecurityPerimeterConfigurationList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkSecurityPerimeterConfigurationList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkSecurityPerimeterConfigurationList(content); } @@ -98,10 +98,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -116,13 +116,13 @@ internal NetworkSecurityPerimeterConfigurationList(global::System.Collections.ID // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -137,7 +137,7 @@ internal NetworkSecurityPerimeterConfigurationList(global::System.Management.Aut // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs index fcd097a71b75..4c12b588862d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.cs similarity index 77% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.cs index 0bdad5f3239e..7b233d3c7d2d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.cs @@ -3,26 +3,26 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Result of the List NetworkSecurityPerimeterConfiguration operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeterConfigurationList : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal { /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[] _value; /// A collection of NetworkSecurityPerimeterConfigurations [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[] Value { get => this._value; } /// /// Creates an new instance. @@ -42,8 +42,8 @@ public partial interface INetworkSecurityPerimeterConfigurationList : ReadOnly = true, Description = @"A collection of NetworkSecurityPerimeterConfigurations", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[] Value { get; } } /// Result of the List NetworkSecurityPerimeterConfiguration operation. @@ -51,7 +51,7 @@ internal partial interface INetworkSecurityPerimeterConfigurationListInternal { /// A collection of NetworkSecurityPerimeterConfigurations - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.json.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.json.cs index 48eae5b1a2f8..3a16f24dc51f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationList.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeterConfigurationList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationList FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationList FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfigurationList(json) : null; } @@ -77,7 +77,7 @@ internal NetworkSecurityPerimeterConfigurationList(Microsoft.Azure.PowerShell.Cm { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfiguration) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfiguration.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfiguration) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfiguration.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs new file mode 100644 index 000000000000..23bb15cd6da0 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.PowerShell.cs @@ -0,0 +1,297 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Properties of NetworkSecurityPerimeterConfiguration + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationPropertiesTypeConverter))] + public partial class NetworkSecurityPerimeterConfigurationProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new NetworkSecurityPerimeterConfigurationProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new NetworkSecurityPerimeterConfigurationProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from + /// a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal NetworkSecurityPerimeterConfigurationProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("NetworkSecurityPerimeter")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceAssociation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); + } + if (content.Contains("Profile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); + } + if (content.Contains("ProvisioningIssue")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueTypeConverter.ConvertFrom)); + } + if (content.Contains("IsBackingResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).IsBackingResource = (bool?) content.GetValueForProperty("IsBackingResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).IsBackingResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApplicableFeature")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ApplicableFeature = (string[]) content.GetValueForProperty("ApplicableFeature",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ApplicableFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ParentAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ParentAssociationName = (string) content.GetValueForProperty("ParentAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ParentAssociationName, global::System.Convert.ToString); + } + if (content.Contains("SourceResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationAccessMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + } + if (content.Contains("NetworkSecurityPerimeterGuid")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName, global::System.Convert.ToString); + } + if (content.Contains("ProfileName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRulesVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal NetworkSecurityPerimeterConfigurationProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("NetworkSecurityPerimeter")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeter, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceAssociation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) content.GetValueForProperty("ResourceAssociation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociation, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociationTypeConverter.ConvertFrom); + } + if (content.Contains("Profile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile) content.GetValueForProperty("Profile",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).Profile, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ProvisioningState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState.CreateFrom); + } + if (content.Contains("ProvisioningIssue")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[]) content.GetValueForProperty("ProvisioningIssue",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProvisioningIssue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueTypeConverter.ConvertFrom)); + } + if (content.Contains("IsBackingResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).IsBackingResource = (bool?) content.GetValueForProperty("IsBackingResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).IsBackingResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApplicableFeature")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ApplicableFeature = (string[]) content.GetValueForProperty("ApplicableFeature",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ApplicableFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ParentAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ParentAssociationName = (string) content.GetValueForProperty("ParentAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ParentAssociationName, global::System.Convert.ToString); + } + if (content.Contains("SourceResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId = (string) content.GetValueForProperty("NetworkSecurityPerimeterId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterId, global::System.Convert.ToString); + } + if (content.Contains("NetworkSecurityPerimeterLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation = (string) content.GetValueForProperty("NetworkSecurityPerimeterLocation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterLocation, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationAccessMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("ResourceAssociationAccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationAccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + } + if (content.Contains("NetworkSecurityPerimeterGuid")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid = (string) content.GetValueForProperty("NetworkSecurityPerimeterGuid",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).NetworkSecurityPerimeterGuid, global::System.Convert.ToString); + } + if (content.Contains("ResourceAssociationName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName = (string) content.GetValueForProperty("ResourceAssociationName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ResourceAssociationName, global::System.Convert.ToString); + } + if (content.Contains("ProfileName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName = (string) content.GetValueForProperty("ProfileName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileName, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRulesVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion = (string) content.GetValueForProperty("ProfileAccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRulesVersion, global::System.Convert.ToString); + } + if (content.Contains("ProfileAccessRule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("ProfileAccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal)this).ProfileAccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of NetworkSecurityPerimeterConfiguration + [System.ComponentModel.TypeConverter(typeof(NetworkSecurityPerimeterConfigurationPropertiesTypeConverter))] + public partial interface INetworkSecurityPerimeterConfigurationProperties + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs index ab7f116997f1..372339dbcce3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.cs similarity index 51% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.cs index 9868356d0041..35e8c162cea9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.cs @@ -3,70 +3,108 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of NetworkSecurityPerimeterConfiguration [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeterConfigurationProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal { + /// Backing field for property. + private string[] _applicableFeature; + + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string[] ApplicableFeature { get => this._applicableFeature; } + + /// Backing field for property. + private bool? _isBackingResource; + + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public bool? IsBackingResource { get => this._isBackingResource; } + + /// Internal Acessors for ApplicableFeature + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.ApplicableFeature { get => this._applicableFeature; set { {_applicableFeature = value;} } } + + /// Internal Acessors for IsBackingResource + bool? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.IsBackingResource { get => this._isBackingResource; set { {_isBackingResource = value;} } } + /// Internal Acessors for NetworkSecurityPerimeter - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeter()); set { {_networkSecurityPerimeter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeter()); set { {_networkSecurityPerimeter = value;} } } + + /// Internal Acessors for ParentAssociationName + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.ParentAssociationName { get => this._parentAssociationName; set { {_parentAssociationName = value;} } } /// Internal Acessors for Profile - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile()); set { {_profile = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile()); set { {_profile = value;} } } /// Internal Acessors for ResourceAssociation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation()); set { {_resourceAssociation = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation()); set { {_resourceAssociation = value;} } } + + /// Internal Acessors for SourceResourceId + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesInternal.SourceResourceId { get => this._sourceResourceId; set { {_sourceResourceId = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter _networkSecurityPerimeter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter _networkSecurityPerimeter; /// NetworkSecurityPerimeter related information [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeter()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get => (this._networkSecurityPerimeter = this._networkSecurityPerimeter ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeter()); } /// Guid of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value ?? null; } + public string NetworkSecurityPerimeterGuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).PerimeterGuid = value ?? null; } /// Fully qualified identifier of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value ?? null; } + public string NetworkSecurityPerimeterId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Id = value ?? null; } /// Location of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value ?? null; } + public string NetworkSecurityPerimeterLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterInternal)NetworkSecurityPerimeter).Location = value ?? null; } + + /// Backing field for property. + private string _parentAssociationName; + + /// Source Resource Association name + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string ParentAssociationName { get => this._parentAssociationName; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile _profile; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile _profile; /// Information about current network profile [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get => (this._profile = this._profile ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile()); } /// List of Access Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRule = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRule = value ?? null /* arrayOf */; } /// Current access rules version [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRulesVersion = value ?? null; } + public string ProfileAccessRulesVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRulesVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).AccessRulesVersion = value ?? null; } /// Name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).Name = value ?? null; } + public string ProfileName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)Profile).Name = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] _provisioningIssue; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] _provisioningIssue; /// List of Provisioning Issues if any [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get => this._provisioningIssue; set => this._provisioningIssue = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get => this._provisioningIssue; set => this._provisioningIssue = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? _provisioningState; @@ -76,19 +114,26 @@ public partial class NetworkSecurityPerimeterConfigurationProperties : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? ProvisioningState { get => this._provisioningState; set => this._provisioningState = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation _resourceAssociation; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation _resourceAssociation; /// Information about resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get => (this._resourceAssociation = this._resourceAssociation ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation()); } /// Access Mode of the resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).AccessMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).AccessMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).AccessMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode)""); } /// Name of the resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).Name = value ?? null; } + public string ResourceAssociationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)ResourceAssociation).Name = value ?? null; } + + /// Backing field for property. + private string _sourceResourceId; + + /// ARM Id of source resource + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string SourceResourceId { get => this._sourceResourceId; } /// /// Creates an new instance. @@ -102,6 +147,27 @@ public NetworkSecurityPerimeterConfigurationProperties() public partial interface INetworkSecurityPerimeterConfigurationProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable { + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.", + SerializedName = @"applicableFeatures", + PossibleTypes = new [] { typeof(string) })] + string[] ApplicableFeature { get; } + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"True if the EventHub namespace is backed by another Azure resource and not visible to end users.", + SerializedName = @"isBackingResource", + PossibleTypes = new [] { typeof(bool) })] + bool? IsBackingResource { get; } /// Guid of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -126,14 +192,22 @@ public partial interface INetworkSecurityPerimeterConfigurationProperties : SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] string NetworkSecurityPerimeterLocation { get; set; } + /// Source Resource Association name + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Source Resource Association name", + SerializedName = @"parentAssociationName", + PossibleTypes = new [] { typeof(string) })] + string ParentAssociationName { get; } /// List of Access Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, Description = @"List of Access Rules", SerializedName = @"accessRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get; set; } /// Current access rules version [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -156,8 +230,8 @@ public partial interface INetworkSecurityPerimeterConfigurationProperties : ReadOnly = false, Description = @"List of Provisioning Issues if any", SerializedName = @"provisioningIssues", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } /// Provisioning state of NetworkSecurityPerimeter configuration propagation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -182,38 +256,59 @@ public partial interface INetworkSecurityPerimeterConfigurationProperties : SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string ResourceAssociationName { get; set; } + /// ARM Id of source resource + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"ARM Id of source resource", + SerializedName = @"sourceResourceId", + PossibleTypes = new [] { typeof(string) })] + string SourceResourceId { get; } } /// Properties of NetworkSecurityPerimeterConfiguration internal partial interface INetworkSecurityPerimeterConfigurationPropertiesInternal { + /// + /// Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's + /// data plane. + /// + string[] ApplicableFeature { get; set; } + /// + /// True if the EventHub namespace is backed by another Azure resource and not visible to end users. + /// + bool? IsBackingResource { get; set; } /// NetworkSecurityPerimeter related information - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter NetworkSecurityPerimeter { get; set; } /// Guid of the resource string NetworkSecurityPerimeterGuid { get; set; } /// Fully qualified identifier of the resource string NetworkSecurityPerimeterId { get; set; } /// Location of the resource string NetworkSecurityPerimeterLocation { get; set; } + /// Source Resource Association name + string ParentAssociationName { get; set; } /// Information about current network profile - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile Profile { get; set; } /// List of Access Rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] ProfileAccessRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] ProfileAccessRule { get; set; } /// Current access rules version string ProfileAccessRulesVersion { get; set; } /// Name of the resource string ProfileName { get; set; } /// List of Provisioning Issues if any - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue[] ProvisioningIssue { get; set; } /// Provisioning state of NetworkSecurityPerimeter configuration propagation Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkSecurityPerimeterConfigurationProvisioningState? ProvisioningState { get; set; } /// Information about resource association - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ResourceAssociation { get; set; } /// Access Mode of the resource association Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode? ResourceAssociationAccessMode { get; set; } /// Name of the resource association string ResourceAssociationName { get; set; } + /// ARM Id of source resource + string SourceResourceId { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs similarity index 67% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs index a4a806e652b2..cd3fea4469f2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeterConfigurationProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfigurationProperties(json) : null; } @@ -78,11 +78,15 @@ internal NetworkSecurityPerimeterConfigurationProperties(Microsoft.Azure.PowerSh { return; } - {_networkSecurityPerimeter = If( json?.PropertyT("networkSecurityPerimeter"), out var __jsonNetworkSecurityPerimeter) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeter.FromJson(__jsonNetworkSecurityPerimeter) : NetworkSecurityPerimeter;} - {_resourceAssociation = If( json?.PropertyT("resourceAssociation"), out var __jsonResourceAssociation) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.FromJson(__jsonResourceAssociation) : ResourceAssociation;} - {_profile = If( json?.PropertyT("profile"), out var __jsonProfile) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile.FromJson(__jsonProfile) : Profile;} + {_networkSecurityPerimeter = If( json?.PropertyT("networkSecurityPerimeter"), out var __jsonNetworkSecurityPerimeter) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeter.FromJson(__jsonNetworkSecurityPerimeter) : NetworkSecurityPerimeter;} + {_resourceAssociation = If( json?.PropertyT("resourceAssociation"), out var __jsonResourceAssociation) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.FromJson(__jsonResourceAssociation) : ResourceAssociation;} + {_profile = If( json?.PropertyT("profile"), out var __jsonProfile) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterConfigurationPropertiesProfile.FromJson(__jsonProfile) : Profile;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} - {_provisioningIssue = If( json?.PropertyT("provisioningIssues"), out var __jsonProvisioningIssues) ? If( __jsonProvisioningIssues as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssue.FromJson(__u) )) ))() : null : ProvisioningIssue;} + {_provisioningIssue = If( json?.PropertyT("provisioningIssues"), out var __jsonProvisioningIssues) ? If( __jsonProvisioningIssues as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssue.FromJson(__u) )) ))() : null : ProvisioningIssue;} + {_isBackingResource = If( json?.PropertyT("isBackingResource"), out var __jsonIsBackingResource) ? (bool?)__jsonIsBackingResource : IsBackingResource;} + {_applicableFeature = If( json?.PropertyT("applicableFeatures"), out var __jsonApplicableFeatures) ? If( __jsonApplicableFeatures as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : ApplicableFeature;} + {_parentAssociationName = If( json?.PropertyT("parentAssociationName"), out var __jsonParentAssociationName) ? (string)__jsonParentAssociationName : (string)ParentAssociationName;} + {_sourceResourceId = If( json?.PropertyT("sourceResourceId"), out var __jsonSourceResourceId) ? (string)__jsonSourceResourceId : (string)SourceResourceId;} AfterFromJson(json); } @@ -129,6 +133,30 @@ public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson( } container.Add("provisioningIssues",__w); } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != this._isBackingResource ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonBoolean((bool)this._isBackingResource) : null, "isBackingResource" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._applicableFeature) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.XNodeArray(); + foreach( var __s in this._applicableFeature ) + { + AddIf(null != (((object)__s)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(__s.ToString()) : null ,__r.Add); + } + container.Add("applicableFeatures",__r); + } + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._parentAssociationName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._parentAssociationName.ToString()) : null, "parentAssociationName" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._sourceResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString(this._sourceResourceId.ToString()) : null, "sourceResourceId" ,container.Add ); + } AfterToJson(ref container); return container; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs similarity index 69% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs index 69110f9f45f8..f430b4e4fc92 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkSecurityPerimeterConfigurationPropertiesProfile partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkSecurityPerimeterConfigurationPropertiesProfile(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkSecurityPerimeterConfigurationPropertiesProfile(content); } @@ -98,10 +98,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -116,21 +116,21 @@ internal NetworkSecurityPerimeterConfigurationPropertiesProfile(global::System.C // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("AccessRulesVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion = (string) content.GetValueForProperty("AccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion = (string) content.GetValueForProperty("AccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion, global::System.Convert.ToString); } if (content.Contains("AccessRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("AccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("AccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -145,15 +145,15 @@ internal NetworkSecurityPerimeterConfigurationPropertiesProfile(global::System.M // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("AccessRulesVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion = (string) content.GetValueForProperty("AccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion = (string) content.GetValueForProperty("AccessRulesVersion",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRulesVersion, global::System.Convert.ToString); } if (content.Contains("AccessRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[]) content.GetValueForProperty("AccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[]) content.GetValueForProperty("AccessRule",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal)this).AccessRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs index 93343d9bdd01..5ecaa9acbe3a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs similarity index 88% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs index c1667dffb9dd..4d700b1352ff 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.cs @@ -3,23 +3,23 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Information about current network profile [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeterConfigurationPropertiesProfile : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfileInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] _accessRule; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] _accessRule; /// List of Access Rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] AccessRule { get => this._accessRule; set => this._accessRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] AccessRule { get => this._accessRule; set => this._accessRule = value; } /// Backing field for property. private string _accessRulesVersion; @@ -53,8 +53,8 @@ public partial interface INetworkSecurityPerimeterConfigurationPropertiesProfile ReadOnly = false, Description = @"List of Access Rules", SerializedName = @"accessRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] AccessRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] AccessRule { get; set; } /// Current access rules version [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -78,7 +78,7 @@ internal partial interface INetworkSecurityPerimeterConfigurationPropertiesProfi { /// List of Access Rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule[] AccessRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule[] AccessRule { get; set; } /// Current access rules version string AccessRulesVersion { get; set; } /// Name of the resource diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs index 23a5f0df69fe..653828656f8c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesProfile.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeterConfigurationPropertiesProfile partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfigurationPropertiesProfile(json) : null; } @@ -80,7 +80,7 @@ internal NetworkSecurityPerimeterConfigurationPropertiesProfile(Microsoft.Azure. } {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_accessRulesVersion = If( json?.PropertyT("accessRulesVersion"), out var __jsonAccessRulesVersion) ? (string)__jsonAccessRulesVersion : (string)AccessRulesVersion;} - {_accessRule = If( json?.PropertyT("accessRules"), out var __jsonAccessRules) ? If( __jsonAccessRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRule.FromJson(__u) )) ))() : null : AccessRule;} + {_accessRule = If( json?.PropertyT("accessRules"), out var __jsonAccessRules) ? If( __jsonAccessRules as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRule.FromJson(__u) )) ))() : null : AccessRule;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs similarity index 74% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs index 8c44f67f0cd8..01e6a94e6885 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NetworkSecurityPerimeterConfigurationPropertiesResourceAsso partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(content); } @@ -98,10 +98,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -116,17 +116,17 @@ internal NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(glob // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("AccessMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("AccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("AccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -141,11 +141,11 @@ internal NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(glob // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("AccessMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("AccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode?) content.GetValueForProperty("AccessMode",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal)this).AccessMode, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ResourceAssociationAccessMode.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs index 587225a32354..d4af24e5ccb0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there /// is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs index 56308e8d78e0..fa7d3c691214 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Information about resource association [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociationInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs index aa6d0710f626..ae14223e8aef 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NetworkSecurityPerimeterConfigurationPropertiesResourceAsso partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeterConfigurationPropertiesResourceAssociation FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.PowerShell.cs similarity index 56% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.PowerShell.cs index a70d63c712cb..b6d113a61ce3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class NspAccessRule partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NspAccessRule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NspAccessRule(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,45 +111,45 @@ internal NspAccessRule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Direction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); } if (content.Contains("AddressPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Subscription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); } if (content.Contains("NetworkSecurityPerimeter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); } if (content.Contains("FullyQualifiedDomainName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -164,39 +164,39 @@ internal NspAccessRule(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Direction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); } if (content.Contains("AddressPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Subscription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); } if (content.Contains("NetworkSecurityPerimeter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); } if (content.Contains("FullyQualifiedDomainName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.TypeConverter.cs index c559f4c1b36a..90814427d3fc 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.cs similarity index 71% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.cs index b08d625b14b9..6fa36e16dd18 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.cs @@ -3,28 +3,28 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Information of Access Rule in Network Profile [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NspAccessRule : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal { /// Address prefixes in the CIDR format for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string[] AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).AddressPrefix = value ?? null /* arrayOf */; } + public string[] AddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).AddressPrefix = value ?? null /* arrayOf */; } /// Direction of Access Rule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection? Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).Direction = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection? Direction { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).Direction; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).Direction = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection)""); } /// FQDN for outbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string[] FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName; } + public string[] FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName; } /// Backing field for property. private string _id; @@ -34,13 +34,13 @@ public partial class NspAccessRule : public string Id { get => this._id; set => this._id = value; } /// Internal Acessors for FullyQualifiedDomainName - string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal.FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName = value; } + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal.FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).FullyQualifiedDomainName = value; } /// Internal Acessors for NetworkSecurityPerimeter - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal.NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleProperties()); set { {_property = value;} } } /// Backing field for property. private string _name; @@ -51,18 +51,18 @@ public partial class NspAccessRule : /// NetworkSecurityPerimeters for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).NetworkSecurityPerimeter; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties _property; /// Properties of Access Rule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleProperties()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleProperties()); } /// Subscriptions for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)Property).Subscription = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).Subscription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)Property).Subscription = value ?? null /* arrayOf */; } /// Backing field for property. private string _type; @@ -127,16 +127,16 @@ public partial interface INspAccessRule : ReadOnly = true, Description = @"NetworkSecurityPerimeters for inbound rules", SerializedName = @"networkSecurityPerimeters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; } /// Subscriptions for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, Description = @"Subscriptions for inbound rules", SerializedName = @"subscriptions", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } /// Type of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -162,11 +162,11 @@ internal partial interface INspAccessRuleInternal /// Name of the resource string Name { get; set; } /// NetworkSecurityPerimeters for inbound rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; set; } /// Properties of Access Rule - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties Property { get; set; } /// Subscriptions for inbound rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } /// Type of the resource string Type { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.json.cs index cef62295cf14..019c23eb7723 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRule.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NspAccessRule partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NspAccessRule(json) : null; } @@ -77,7 +77,7 @@ internal NspAccessRule(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json. { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRuleProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRuleProperties.FromJson(__jsonProperties) : Property;} {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.PowerShell.cs similarity index 61% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.PowerShell.cs index 2a102ea114d6..dc730a51fa18 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NspAccessRuleProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NspAccessRuleProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NspAccessRuleProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,29 +113,29 @@ internal NspAccessRuleProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Direction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); } if (content.Contains("AddressPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Subscription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); } if (content.Contains("NetworkSecurityPerimeter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); } if (content.Contains("FullyQualifiedDomainName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,23 +150,23 @@ internal NspAccessRuleProperties(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Direction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Direction = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection?) content.GetValueForProperty("Direction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Direction, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NspAccessRuleDirection.CreateFrom); } if (content.Contains("AddressPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).AddressPrefix = (string[]) content.GetValueForProperty("AddressPrefix",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).AddressPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Subscription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Subscription = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[]) content.GetValueForProperty("Subscription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).Subscription, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesSubscriptionsItemTypeConverter.ConvertFrom)); } if (content.Contains("NetworkSecurityPerimeter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[]) content.GetValueForProperty("NetworkSecurityPerimeter",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).NetworkSecurityPerimeter, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeterTypeConverter.ConvertFrom)); } if (content.Contains("FullyQualifiedDomainName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName = (string[]) content.GetValueForProperty("FullyQualifiedDomainName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal)this).FullyQualifiedDomainName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.TypeConverter.cs index 2a826e7d2046..f2a958dbc54a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.cs similarity index 81% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.cs index ba4bc3896e07..3a45b2f40f02 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of Access Rule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NspAccessRuleProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal { /// Backing field for property. @@ -36,24 +36,24 @@ public partial class NspAccessRuleProperties : public string[] FullyQualifiedDomainName { get => this._fullyQualifiedDomainName; } /// Internal Acessors for FullyQualifiedDomainName - string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal.FullyQualifiedDomainName { get => this._fullyQualifiedDomainName; set { {_fullyQualifiedDomainName = value;} } } + string[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal.FullyQualifiedDomainName { get => this._fullyQualifiedDomainName; set { {_fullyQualifiedDomainName = value;} } } /// Internal Acessors for NetworkSecurityPerimeter - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesInternal.NetworkSecurityPerimeter { get => this._networkSecurityPerimeter; set { {_networkSecurityPerimeter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesInternal.NetworkSecurityPerimeter { get => this._networkSecurityPerimeter; set { {_networkSecurityPerimeter = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] _networkSecurityPerimeter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] _networkSecurityPerimeter; /// NetworkSecurityPerimeters for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get => this._networkSecurityPerimeter; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get => this._networkSecurityPerimeter; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] _subscription; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] _subscription; /// Subscriptions for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get => this._subscription; set => this._subscription = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get => this._subscription; set => this._subscription = value; } /// Creates an new instance. public NspAccessRuleProperties() @@ -95,16 +95,16 @@ public partial interface INspAccessRuleProperties : ReadOnly = true, Description = @"NetworkSecurityPerimeters for inbound rules", SerializedName = @"networkSecurityPerimeters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; } /// Subscriptions for inbound rules [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, Description = @"Subscriptions for inbound rules", SerializedName = @"subscriptions", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } } /// Properties of Access Rule @@ -118,9 +118,9 @@ internal partial interface INspAccessRulePropertiesInternal /// FQDN for outbound rules string[] FullyQualifiedDomainName { get; set; } /// NetworkSecurityPerimeters for inbound rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter[] NetworkSecurityPerimeter { get; set; } /// Subscriptions for inbound rules - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem[] Subscription { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.json.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.json.cs index 4d869fd4cd08..2fa5277c8a38 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRuleProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRuleProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NspAccessRuleProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRuleProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NspAccessRuleProperties(json) : null; } @@ -79,8 +79,8 @@ internal NspAccessRuleProperties(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Run } {_direction = If( json?.PropertyT("direction"), out var __jsonDirection) ? (string)__jsonDirection : (string)Direction;} {_addressPrefix = If( json?.PropertyT("addressPrefixes"), out var __jsonAddressPrefixes) ? If( __jsonAddressPrefixes as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : AddressPrefix;} - {_subscription = If( json?.PropertyT("subscriptions"), out var __jsonSubscriptions) ? If( __jsonSubscriptions as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NspAccessRulePropertiesSubscriptionsItem.FromJson(__p) )) ))() : null : Subscription;} - {_networkSecurityPerimeter = If( json?.PropertyT("networkSecurityPerimeters"), out var __jsonNetworkSecurityPerimeters) ? If( __jsonNetworkSecurityPerimeters as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkSecurityPerimeter) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkSecurityPerimeter.FromJson(__k) )) ))() : null : NetworkSecurityPerimeter;} + {_subscription = If( json?.PropertyT("subscriptions"), out var __jsonSubscriptions) ? If( __jsonSubscriptions as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesSubscriptionsItem.FromJson(__p) )) ))() : null : Subscription;} + {_networkSecurityPerimeter = If( json?.PropertyT("networkSecurityPerimeters"), out var __jsonNetworkSecurityPerimeters) ? If( __jsonNetworkSecurityPerimeters as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkSecurityPerimeter) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkSecurityPerimeter.FromJson(__k) )) ))() : null : NetworkSecurityPerimeter;} {_fullyQualifiedDomainName = If( json?.PropertyT("fullyQualifiedDomainNames"), out var __jsonFullyQualifiedDomainNames) ? If( __jsonFullyQualifiedDomainNames as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __g) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__g, (__f)=>(string) (__f is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonString __e ? (string)(__e.ToString()) : null)) ))() : null : FullyQualifiedDomainName;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs similarity index 83% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs index 1c5a84e2c1d4..9d7e1cb9063a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NspAccessRulePropertiesSubscriptionsItem partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NspAccessRulePropertiesSubscriptionsItem(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NspAccessRulePropertiesSubscriptionsItem(content); } @@ -98,10 +98,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -116,13 +116,13 @@ internal NspAccessRulePropertiesSubscriptionsItem(global::System.Collections.IDi // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -137,7 +137,7 @@ internal NspAccessRulePropertiesSubscriptionsItem(global::System.Management.Auto // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItemInternal)this).Id, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs index a1c7e6544865..0f6a86106e35 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.cs index 44a76223a652..b51b05b06c69 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Subscription for inbound rule [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NspAccessRulePropertiesSubscriptionsItem : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItemInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItemInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs index ded1c936b4cf..e220f862625c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NspAccessRulePropertiesSubscriptionsItem.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NspAccessRulePropertiesSubscriptionsItem partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INspAccessRulePropertiesSubscriptionsItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRulePropertiesSubscriptionsItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NspAccessRulePropertiesSubscriptionsItem(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.PowerShell.cs similarity index 79% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.PowerShell.cs index 059dc52da5a2..ee5b36b1d9c7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class NwRuleSetIPRules partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NwRuleSetIPRules(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NwRuleSetIPRules(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal NwRuleSetIPRules(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("IPMask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).IPMask = (string) content.GetValueForProperty("IPMask",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).IPMask, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).IPMask = (string) content.GetValueForProperty("IPMask",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).IPMask, global::System.Convert.ToString); } if (content.Contains("Action")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).Action = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction?) content.GetValueForProperty("Action",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).Action, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).Action = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction?) content.GetValueForProperty("Action",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).Action, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal NwRuleSetIPRules(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("IPMask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).IPMask = (string) content.GetValueForProperty("IPMask",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).IPMask, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).IPMask = (string) content.GetValueForProperty("IPMask",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).IPMask, global::System.Convert.ToString); } if (content.Contains("Action")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).Action = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction?) content.GetValueForProperty("Action",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal)this).Action, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).Action = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction?) content.GetValueForProperty("Action",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal)this).Action, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.NetworkRuleIPAction.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.TypeConverter.cs index f02d08978a1a..4b8cac3bf5b7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.cs index c47da7d2b270..e749bdbdee72 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response from the List namespace operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NwRuleSetIPRules : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRulesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRulesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.json.cs index 53e0d21ce0c9..170b70e51a1a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetIPRules.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetIPRules.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NwRuleSetIPRules partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NwRuleSetIPRules(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs similarity index 73% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs index 87bf2d032f7a..9c4f8ddf6634 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NwRuleSetVirtualNetworkRules partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NwRuleSetVirtualNetworkRules(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NwRuleSetVirtualNetworkRules(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +113,21 @@ internal NwRuleSetVirtualNetworkRules(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Subnet")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet) content.GetValueForProperty("Subnet",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SubnetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet) content.GetValueForProperty("Subnet",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SubnetTypeConverter.ConvertFrom); } if (content.Contains("IgnoreMissingVnetServiceEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint = (bool?) content.GetValueForProperty("IgnoreMissingVnetServiceEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint = (bool?) content.GetValueForProperty("IgnoreMissingVnetServiceEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubnetId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +142,15 @@ internal NwRuleSetVirtualNetworkRules(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Subnet")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet) content.GetValueForProperty("Subnet",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SubnetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet) content.GetValueForProperty("Subnet",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).Subnet, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SubnetTypeConverter.ConvertFrom); } if (content.Contains("IgnoreMissingVnetServiceEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint = (bool?) content.GetValueForProperty("IgnoreMissingVnetServiceEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint = (bool?) content.GetValueForProperty("IgnoreMissingVnetServiceEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).IgnoreMissingVnetServiceEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubnetId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal)this).SubnetId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs index 6f99b14965bc..03bf5d3a60d3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.cs similarity index 81% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.cs index b9bfbc7adbea..87eaa14c86f3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The response from the List namespace operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class NwRuleSetVirtualNetworkRules : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal { /// Backing field for property. @@ -22,18 +22,18 @@ public partial class NwRuleSetVirtualNetworkRules : public bool? IgnoreMissingVnetServiceEndpoint { get => this._ignoreMissingVnetServiceEndpoint; set => this._ignoreMissingVnetServiceEndpoint = value; } /// Internal Acessors for Subnet - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRulesInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Subnet()); set { {_subnet = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRulesInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Subnet()); set { {_subnet = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet _subnet; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet _subnet; /// Subnet properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Subnet()); set => this._subnet = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Subnet()); set => this._subnet = value; } /// Resource ID of Virtual Network Subnet [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string SubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)Subnet).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)Subnet).Id = value ?? null; } + public string SubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)Subnet).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)Subnet).Id = value ?? null; } /// Creates an new instance. public NwRuleSetVirtualNetworkRules() @@ -70,7 +70,7 @@ internal partial interface INwRuleSetVirtualNetworkRulesInternal /// Value that indicates whether to ignore missing Vnet Service Endpoint bool? IgnoreMissingVnetServiceEndpoint { get; set; } /// Subnet properties - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet Subnet { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet Subnet { get; set; } /// Resource ID of Virtual Network Subnet string SubnetId { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.json.cs index 5b82eba55cb6..d212080d0ab1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/NwRuleSetVirtualNetworkRules.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/NwRuleSetVirtualNetworkRules.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NwRuleSetVirtualNetworkRules partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NwRuleSetVirtualNetworkRules(json) : null; } @@ -77,7 +77,7 @@ internal NwRuleSetVirtualNetworkRules(Microsoft.Azure.PowerShell.Cmdlets.EventHu { return; } - {_subnet = If( json?.PropertyT("subnet"), out var __jsonSubnet) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Subnet.FromJson(__jsonSubnet) : Subnet;} + {_subnet = If( json?.PropertyT("subnet"), out var __jsonSubnet) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Subnet.FromJson(__jsonSubnet) : Subnet;} {_ignoreMissingVnetServiceEndpoint = If( json?.PropertyT("ignoreMissingVnetServiceEndpoint"), out var __jsonIgnoreMissingVnetServiceEndpoint) ? (bool?)__jsonIgnoreMissingVnetServiceEndpoint : IgnoreMissingVnetServiceEndpoint;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.PowerShell.cs similarity index 62% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.PowerShell.cs index 4ddb23f18c6f..76a68530ceaa 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class Operation partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Operation(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Operation(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,45 +111,45 @@ internal Operation(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Display")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationDisplayTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -164,39 +164,39 @@ internal Operation(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Display")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationDisplayTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.TypeConverter.cs index ff4d006490fe..697b5eaa5a20 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.cs similarity index 79% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.cs index 1ed7cd497c61..8faff6d38b82 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.cs @@ -3,39 +3,39 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// A Event Hub REST API operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Operation : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay _display; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay _display; /// Display of the operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationDisplay()); set => this._display = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationDisplay()); set => this._display = value; } /// Localized friendly description for the operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Description; } + public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Description; } /// Localized friendly name for the operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Operation; } + public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Operation; } /// Resource provider of the operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Provider; } + public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Provider; } /// Resource of the operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Resource; } + public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Resource; } /// Backing field for property. private bool? _isDataAction; @@ -45,22 +45,22 @@ public partial class Operation : public bool? IsDataAction { get => this._isDataAction; set => this._isDataAction = value; } /// Internal Acessors for Display - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationDisplay()); set { {_display = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationDisplay()); set { {_display = value;} } } /// Internal Acessors for DisplayDescription - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Description = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Description = value; } /// Internal Acessors for DisplayOperation - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Operation = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Operation = value; } /// Internal Acessors for DisplayProvider - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Provider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Provider = value; } /// Internal Acessors for DisplayResource - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)Display).Resource = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)Display).Resource = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationInternal.Name { get => this._name; set { {_name = value;} } } /// Backing field for property. private string _name; @@ -164,7 +164,7 @@ internal partial interface IOperationInternal { /// Display of the operation - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay Display { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay Display { get; set; } /// Localized friendly description for the operation string DisplayDescription { get; set; } /// Localized friendly name for the operation diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.json.cs index 824d3da6efb1..c55cbf945bac 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Operation.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Operation.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class Operation partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Operation(json) : null; } @@ -77,7 +77,7 @@ internal Operation(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Json { return; } - {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationDisplay.FromJson(__jsonDisplay) : Display;} + {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationDisplay.FromJson(__jsonDisplay) : Display;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_isDataAction = If( json?.PropertyT("isDataAction"), out var __jsonIsDataAction) ? (bool?)__jsonIsDataAction : IsDataAction;} {_origin = If( json?.PropertyT("origin"), out var __jsonOrigin) ? (string)__jsonOrigin : (string)Origin;} diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.PowerShell.cs similarity index 74% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.PowerShell.cs index f1c943300140..9c653c4ceb4f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class OperationDisplay partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationDisplay(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationDisplay(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,25 +111,25 @@ internal OperationDisplay(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -144,19 +144,19 @@ internal OperationDisplay(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.TypeConverter.cs index 5181ba2fab9f..cdc8375b1bfe 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.cs index 035a3009a383..8852269b62e9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Operation display payload [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class OperationDisplay : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal { /// Backing field for property. @@ -22,16 +22,16 @@ public partial class OperationDisplay : public string Description { get => this._description; } /// Internal Acessors for Description - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal.Description { get => this._description; set { {_description = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal.Description { get => this._description; set { {_description = value;} } } /// Internal Acessors for Operation - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal.Operation { get => this._operation; set { {_operation = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal.Operation { get => this._operation; set { {_operation = value;} } } /// Internal Acessors for Provider - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal.Provider { get => this._provider; set { {_provider = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal.Provider { get => this._provider; set { {_provider = value;} } } /// Internal Acessors for Resource - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplayInternal.Resource { get => this._resource; set { {_resource = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplayInternal.Resource { get => this._resource; set { {_resource = value;} } } /// Backing field for property. private string _operation; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.json.cs index c8c62b07e54e..6c42eb915359 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationDisplay.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationDisplay.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class OperationDisplay partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new OperationDisplay(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.PowerShell.cs index 55ebc480b0e6..323a7caf697a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -66,29 +66,27 @@ public partial class OperationListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationListResult(content); } @@ -98,10 +96,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -116,17 +114,17 @@ internal OperationListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -141,11 +139,11 @@ internal OperationListResult(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.OperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.OperationTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.TypeConverter.cs index 717912636c3a..06eb5f386fe6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.cs index 013de9fd6c90..e79887bfdad6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -13,15 +13,15 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class OperationListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResultInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[] Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResultInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,13 +31,13 @@ public partial class OperationListResult : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[] _value; /// /// List of Event Hub operations supported by the Microsoft.EventHub resource provider. /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[] Value { get => this._value; } /// Creates an new instance. public OperationListResult() @@ -66,8 +66,8 @@ public partial interface IOperationListResult : ReadOnly = true, Description = @"List of Event Hub operations supported by the Microsoft.EventHub resource provider.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[] Value { get; } } /// Result of the request to list Event Hub operations. It contains a list of operations and a URL link to get the next set @@ -80,7 +80,7 @@ internal partial interface IOperationListResultInternal /// /// List of Event Hub operations supported by the Microsoft.EventHub resource provider. /// - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.json.cs index cb86e078da1a..d44c60d098ac 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/OperationListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/OperationListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -57,13 +57,13 @@ public partial class OperationListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new OperationListResult(json) : null; } @@ -80,7 +80,7 @@ internal OperationListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Operation.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Operation.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.PowerShell.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.PowerShell.cs index 3e8229413102..284b4eaebd8c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class PrivateEndpoint partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateEndpoint(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateEndpoint(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,13 +111,13 @@ internal PrivateEndpoint(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)this).Id, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +132,7 @@ internal PrivateEndpoint(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)this).Id, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.TypeConverter.cs index 2a56f099381e..f972407c2a55 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.cs index 58632a398414..24e79a46e53a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// PrivateEndpoint information. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateEndpoint : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.json.cs index dc9a41dfc212..0444e684313f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpoint.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpoint.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateEndpoint partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateEndpoint(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.PowerShell.cs similarity index 54% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.PowerShell.cs index 1d0fce3505aa..3bcc7aeb4424 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class PrivateEndpointConnection partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateEndpointConnection(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateEndpointConnection(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,11 +113,11 @@ internal PrivateEndpointConnection(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -137,57 +137,57 @@ internal PrivateEndpointConnection(global::System.Collections.IDictionary conten } if (content.Contains("PrivateEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("PrivateLinkServiceConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionStateTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionStateTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); } if (content.Contains("PrivateEndpointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("ConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("ConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -202,11 +202,11 @@ internal PrivateEndpointConnection(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("Id")) { @@ -226,51 +226,51 @@ internal PrivateEndpointConnection(global::System.Management.Automation.PSObject } if (content.Contains("PrivateEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("PrivateLinkServiceConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionStateTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionStateTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); } if (content.Contains("PrivateEndpointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).PrivateEndpointId, global::System.Convert.ToString); } if (content.Contains("SystemDataCreatedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedBy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); } if (content.Contains("SystemDataLastModifiedByType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); } if (content.Contains("SystemDataLastModifiedAt")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("ConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).ConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("ConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).ConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.TypeConverter.cs index cdc5fcc5b086..5a96eee326f8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.cs similarity index 84% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.cs index b886def7e34e..bddcb7029d99 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of the PrivateEndpointConnection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateEndpointConnection : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,11 +22,11 @@ public partial class PrivateEndpointConnection : /// Status of the connection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus? ConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus? ConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus)""); } /// Description of the connection state. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -51,16 +51,16 @@ public partial class PrivateEndpointConnection : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for PrivateEndpoint - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal.PrivateEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpoint = value; } /// Internal Acessors for PrivateLinkServiceConnectionState - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal.PrivateLinkServiceConnectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionState = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionProperties()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] @@ -68,18 +68,18 @@ public partial class PrivateEndpointConnection : /// The ARM identifier for Private Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; } + public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties _property; /// Properties of the PrivateEndpointConnection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionProperties()); set => this._property = value; } /// Provisioning state of the Private Endpoint Connection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)Property).ProvisioningState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState)""); } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] @@ -236,13 +236,13 @@ internal partial interface IPrivateEndpointConnectionInternal : /// Description of the connection state. string Description { get; set; } /// The Private Endpoint resource for this Connection. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint PrivateEndpoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint PrivateEndpoint { get; set; } /// The ARM identifier for Private Endpoint. string PrivateEndpointId { get; set; } /// Details about the state of the connection. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState PrivateLinkServiceConnectionState { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState PrivateLinkServiceConnectionState { get; set; } /// Properties of the PrivateEndpointConnection. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties Property { get; set; } /// Provisioning state of the Private Endpoint Connection. Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState? ProvisioningState { get; set; } /// The system meta data relating to this resource. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.json.cs index cc4903d606b4..af3690ef3d94 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnection.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnection.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateEndpointConnection partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateEndpointConnection(json) : null; } @@ -78,7 +78,7 @@ internal PrivateEndpointConnection(Microsoft.Azure.PowerShell.Cmdlets.EventHub.R return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionProperties.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.PowerShell.cs similarity index 74% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.PowerShell.cs index 8f4a8ba5cc07..d7afda6bb163 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class PrivateEndpointConnectionListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateEndpointConnectionListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateEndpointConnectionListResult(content); } @@ -97,10 +97,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -115,17 +115,17 @@ internal PrivateEndpointConnectionListResult(global::System.Collections.IDiction // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,11 +140,11 @@ internal PrivateEndpointConnectionListResult(global::System.Management.Automatio // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnectionTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.TypeConverter.cs index 6b8c7d339ff4..71069f341210 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -108,14 +108,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.cs similarity index 87% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.cs index 40adeccd6197..8acddd23100b 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Result of the list of all private endpoint connections operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateEndpointConnectionListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResultInternal { /// Backing field for property. @@ -22,11 +22,11 @@ public partial class PrivateEndpointConnectionListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] _value; /// A collection of private endpoint connection resources. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public PrivateEndpointConnectionListResult() @@ -52,8 +52,8 @@ public partial interface IPrivateEndpointConnectionListResult : ReadOnly = false, Description = @"A collection of private endpoint connection resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] Value { get; set; } } /// Result of the list of all private endpoint connections operation. @@ -63,7 +63,7 @@ internal partial interface IPrivateEndpointConnectionListResultInternal /// A link for the next page of private endpoint connection resources. string NextLink { get; set; } /// A collection of private endpoint connection resources. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.json.cs index 24186be5072c..ddfdb3cbdf12 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateEndpointConnectionListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateEndpointConnectionListResult(json) : null; } @@ -77,7 +77,7 @@ internal PrivateEndpointConnectionListResult(Microsoft.Azure.PowerShell.Cmdlets. { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.PowerShell.cs similarity index 60% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.PowerShell.cs index f64415eae034..4647282feba0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class PrivateEndpointConnectionProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateEndpointConnectionProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateEndpointConnectionProperties(content); } @@ -97,10 +97,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -115,33 +115,33 @@ internal PrivateEndpointConnectionProperties(global::System.Collections.IDiction // actually deserialize if (content.Contains("PrivateEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointTypeConverter.ConvertFrom); } if (content.Contains("PrivateLinkServiceConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionStateTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionStateTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); } if (content.Contains("PrivateEndpointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId, global::System.Convert.ToString); } if (content.Contains("PrivateLinkServiceConnectionStateStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("PrivateLinkServiceConnectionStateStatus",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("PrivateLinkServiceConnectionStateStatus",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("PrivateLinkServiceConnectionStateDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription = (string) content.GetValueForProperty("PrivateLinkServiceConnectionStateDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription = (string) content.GetValueForProperty("PrivateLinkServiceConnectionStateDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -156,27 +156,27 @@ internal PrivateEndpointConnectionProperties(global::System.Management.Automatio // actually deserialize if (content.Contains("PrivateEndpoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint) content.GetValueForProperty("PrivateEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpoint, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointTypeConverter.ConvertFrom); } if (content.Contains("PrivateLinkServiceConnectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionStateTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState) content.GetValueForProperty("PrivateLinkServiceConnectionState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionStateTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState.CreateFrom); } if (content.Contains("PrivateEndpointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId = (string) content.GetValueForProperty("PrivateEndpointId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateEndpointId, global::System.Convert.ToString); } if (content.Contains("PrivateLinkServiceConnectionStateStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("PrivateLinkServiceConnectionStateStatus",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus?) content.GetValueForProperty("PrivateLinkServiceConnectionStateStatus",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateStatus, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus.CreateFrom); } if (content.Contains("PrivateLinkServiceConnectionStateDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription = (string) content.GetValueForProperty("PrivateLinkServiceConnectionStateDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription = (string) content.GetValueForProperty("PrivateLinkServiceConnectionStateDescription",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal)this).PrivateLinkServiceConnectionStateDescription, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.TypeConverter.cs index 4c35822e1a00..ea087fd62ee6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -108,14 +108,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.cs index aa00392d0bd2..965d7bb3b356 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.cs @@ -3,48 +3,48 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of the private endpoint connection resource. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateEndpointConnectionProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal { /// Internal Acessors for PrivateEndpoint - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpoint()); set { {_privateEndpoint = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal.PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpoint()); set { {_privateEndpoint = value;} } } /// Internal Acessors for PrivateLinkServiceConnectionState - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionState()); set { {_privateLinkServiceConnectionState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionPropertiesInternal.PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionState()); set { {_privateLinkServiceConnectionState = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint _privateEndpoint; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint _privateEndpoint; /// The Private Endpoint resource for this Connection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpoint()); set => this._privateEndpoint = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint PrivateEndpoint { get => (this._privateEndpoint = this._privateEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpoint()); set => this._privateEndpoint = value; } /// The ARM identifier for Private Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointInternal)PrivateEndpoint).Id = value ?? null; } + public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointInternal)PrivateEndpoint).Id = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState _privateLinkServiceConnectionState; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState _privateLinkServiceConnectionState; /// Details about the state of the connection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionState()); set => this._privateLinkServiceConnectionState = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState PrivateLinkServiceConnectionState { get => (this._privateLinkServiceConnectionState = this._privateLinkServiceConnectionState ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionState()); set => this._privateLinkServiceConnectionState = value; } /// Description of the connection state. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Description = value ?? null; } + public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Description = value ?? null; } /// Status of the connection. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus? PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Status = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus? PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionStateInternal)PrivateLinkServiceConnectionState).Status = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.PrivateLinkConnectionStatus)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.EndPointProvisioningState? _provisioningState; @@ -102,11 +102,11 @@ internal partial interface IPrivateEndpointConnectionPropertiesInternal { /// The Private Endpoint resource for this Connection. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpoint PrivateEndpoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpoint PrivateEndpoint { get; set; } /// The ARM identifier for Private Endpoint. string PrivateEndpointId { get; set; } /// Details about the state of the connection. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConnectionState PrivateLinkServiceConnectionState { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConnectionState PrivateLinkServiceConnectionState { get; set; } /// Description of the connection state. string PrivateLinkServiceConnectionStateDescription { get; set; } /// Status of the connection. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.json.cs index 59981d22a6d1..9de05ae08943 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateEndpointConnectionProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateEndpointConnectionProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateEndpointConnectionProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateEndpointConnectionProperties(json) : null; } @@ -77,8 +77,8 @@ internal PrivateEndpointConnectionProperties(Microsoft.Azure.PowerShell.Cmdlets. { return; } - {_privateEndpoint = If( json?.PropertyT("privateEndpoint"), out var __jsonPrivateEndpoint) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpoint.FromJson(__jsonPrivateEndpoint) : PrivateEndpoint;} - {_privateLinkServiceConnectionState = If( json?.PropertyT("privateLinkServiceConnectionState"), out var __jsonPrivateLinkServiceConnectionState) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConnectionState.FromJson(__jsonPrivateLinkServiceConnectionState) : PrivateLinkServiceConnectionState;} + {_privateEndpoint = If( json?.PropertyT("privateEndpoint"), out var __jsonPrivateEndpoint) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpoint.FromJson(__jsonPrivateEndpoint) : PrivateEndpoint;} + {_privateLinkServiceConnectionState = If( json?.PropertyT("privateLinkServiceConnectionState"), out var __jsonPrivateLinkServiceConnectionState) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConnectionState.FromJson(__jsonPrivateLinkServiceConnectionState) : PrivateLinkServiceConnectionState;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.PowerShell.cs similarity index 64% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.PowerShell.cs index c9598352adad..b0dc0b0c31fb 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,27 @@ public partial class PrivateLinkResource partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateLinkResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateLinkResource(content); } @@ -95,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,37 +111,37 @@ internal PrivateLinkResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("GroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).GroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).GroupId, global::System.Convert.ToString); } if (content.Contains("RequiredMember")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RequiredZoneName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -158,31 +156,31 @@ internal PrivateLinkResource(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("GroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).GroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).GroupId, global::System.Convert.ToString); } if (content.Contains("RequiredMember")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RequiredZoneName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.TypeConverter.cs index 80e4a7de8782..fcc9713d96e1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.cs similarity index 80% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.cs index 666d256792ac..bce9fb9c0e8e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.cs @@ -3,20 +3,20 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Information of the private link resource. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateLinkResource : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal { /// The private link resource group id. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; } + public string GroupId { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).GroupId; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).GroupId = value ?? null; } /// Backing field for property. private string _id; @@ -26,7 +26,7 @@ public partial class PrivateLinkResource : public string Id { get => this._id; set => this._id = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourceProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourceProperties()); set { {_property = value;} } } /// Backing field for property. private string _name; @@ -36,19 +36,19 @@ public partial class PrivateLinkResource : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties _property; /// Properties of the private link resource. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourceProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourceProperties()); set => this._property = value; } /// The private link resource required member names. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string[] RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; } + public string[] RequiredMember { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredMember = value ?? null /* arrayOf */; } /// The private link resource Private link DNS zone name. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string[] RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value ?? null /* arrayOf */; } + public string[] RequiredZoneName { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)Property).RequiredZoneName = value ?? null /* arrayOf */; } /// Backing field for property. private string _type; @@ -128,7 +128,7 @@ internal partial interface IPrivateLinkResourceInternal /// Name of the resource string Name { get; set; } /// Properties of the private link resource. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties Property { get; set; } /// The private link resource required member names. string[] RequiredMember { get; set; } /// The private link resource Private link DNS zone name. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.json.cs index d9291a9193b1..decda62c06df 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResource.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateLinkResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateLinkResource(json) : null; } @@ -77,7 +77,7 @@ internal PrivateLinkResource(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourceProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourceProperties.FromJson(__jsonProperties) : Property;} {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.PowerShell.cs similarity index 73% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.PowerShell.cs index 6208db2fb9a2..7ee010493461 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class PrivateLinkResourceProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateLinkResourceProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateLinkResourceProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +113,21 @@ internal PrivateLinkResourceProperties(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("GroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId, global::System.Convert.ToString); } if (content.Contains("RequiredMember")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RequiredZoneName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +142,15 @@ internal PrivateLinkResourceProperties(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("GroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId = (string) content.GetValueForProperty("GroupId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).GroupId, global::System.Convert.ToString); } if (content.Contains("RequiredMember")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember = (string[]) content.GetValueForProperty("RequiredMember",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredMember, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RequiredZoneName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName = (string[]) content.GetValueForProperty("RequiredZoneName",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal)this).RequiredZoneName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.TypeConverter.cs index 05e0d3fb54df..07e128f212b3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.cs index 18560cb4bf56..c5c23e2d67a6 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of PrivateLinkResource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateLinkResourceProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcePropertiesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.json.cs index 55712b629d34..5e2911cce234 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourceProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourceProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateLinkResourceProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateLinkResourceProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.PowerShell.cs similarity index 75% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.PowerShell.cs index ecc852a8dab5..9d0f2ea4f874 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class PrivateLinkResourcesListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PrivateLinkResourcesListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PrivateLinkResourcesListResult(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal PrivateLinkResourcesListResult(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal PrivateLinkResourcesListResult(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.TypeConverter.cs index d69b4e4850e8..7a1b992e19d9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.cs similarity index 87% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.cs index becc7b0ae520..399f22dd222c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Result of the List private link resources operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class PrivateLinkResourcesListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResultInternal { /// Backing field for property. @@ -22,11 +22,11 @@ public partial class PrivateLinkResourcesListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[] _value; /// A collection of private link resources [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public PrivateLinkResourcesListResult() @@ -52,8 +52,8 @@ public partial interface IPrivateLinkResourcesListResult : ReadOnly = false, Description = @"A collection of private link resources", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[] Value { get; set; } } /// Result of the List private link resources operation. @@ -63,7 +63,7 @@ internal partial interface IPrivateLinkResourcesListResultInternal /// A link for the next page of private link resources. string NextLink { get; set; } /// A collection of private link resources - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.json.cs similarity index 91% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.json.cs index 9e987bc4efaf..8580bc5239a9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/PrivateLinkResourcesListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/PrivateLinkResourcesListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PrivateLinkResourcesListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new PrivateLinkResourcesListResult(json) : null; } @@ -77,7 +77,7 @@ internal PrivateLinkResourcesListResult(Microsoft.Azure.PowerShell.Cmdlets.Event { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResource) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateLinkResource.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResource) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateLinkResource.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.PowerShell.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.PowerShell.cs index 5a0da564bbf1..f7b9369c23f0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class ProvisioningIssue partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProvisioningIssue(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProvisioningIssue(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,25 +111,25 @@ internal ProvisioningIssue(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssuePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssuePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IssueType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).IssueType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).IssueType, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -144,19 +144,19 @@ internal ProvisioningIssue(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssuePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssuePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IssueType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).IssueType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).IssueType, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.TypeConverter.cs index a6b2f833e5bc..6558e45ef428 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.cs index 2e94266b5f91..c2c4bce2841d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.cs @@ -3,27 +3,27 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Describes Provisioning issue for given NetworkSecurityPerimeterConfiguration [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ProvisioningIssue : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal { /// Description of the issue [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)Property).Description = value ?? null; } /// Type of Issue [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string IssueType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)Property).IssueType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)Property).IssueType = value ?? null; } + public string IssueType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)Property).IssueType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)Property).IssueType = value ?? null; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueProperties()); set { {_property = value;} } } /// Backing field for property. private string _name; @@ -33,11 +33,11 @@ public partial class ProvisioningIssue : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties _property; /// Properties of Provisioning Issue [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueProperties()); } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueProperties()); } /// Creates an new instance. public ProvisioningIssue() @@ -86,7 +86,7 @@ internal partial interface IProvisioningIssueInternal /// Name of the issue string Name { get; set; } /// Properties of Provisioning Issue - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties Property { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.json.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.json.cs index 735fca4a10f0..e77359776f92 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssue.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssue.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProvisioningIssue partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssue FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssue FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ProvisioningIssue(json) : null; } @@ -77,7 +77,7 @@ internal ProvisioningIssue(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.J { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ProvisioningIssueProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ProvisioningIssueProperties.FromJson(__jsonProperties) : Property;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.PowerShell.cs similarity index 79% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.PowerShell.cs index 39720278cde3..c1b864e1ec75 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class ProvisioningIssueProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProvisioningIssueProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProvisioningIssueProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal ProvisioningIssueProperties(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("IssueType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).IssueType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).IssueType, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal ProvisioningIssueProperties(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("IssueType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).IssueType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).IssueType = (string) content.GetValueForProperty("IssueType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).IssueType, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.TypeConverter.cs index 2eb5c759b3fb..9dc5db81fd23 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.cs index 2f9c88ba854c..17c3d2ebe097 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of Provisioning Issue [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ProvisioningIssueProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssuePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssuePropertiesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.json.cs index 5629c65f592b..e096dfe7146d 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ProvisioningIssueProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ProvisioningIssueProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProvisioningIssueProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IProvisioningIssueProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IProvisioningIssueProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ProvisioningIssueProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.PowerShell.cs similarity index 78% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.PowerShell.cs index 2a70f9d14f59..c5d81d5198dd 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -65,29 +65,29 @@ public partial class RegenerateAccessKeyParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RegenerateAccessKeyParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RegenerateAccessKeyParameters(content); } @@ -97,10 +97,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -115,17 +115,17 @@ internal RegenerateAccessKeyParameters(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("KeyType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).KeyType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType) content.GetValueForProperty("KeyType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).KeyType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).KeyType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType) content.GetValueForProperty("KeyType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).KeyType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType.CreateFrom); } if (content.Contains("Key")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).Key = (string) content.GetValueForProperty("Key",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).Key, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).Key = (string) content.GetValueForProperty("Key",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).Key, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,11 +140,11 @@ internal RegenerateAccessKeyParameters(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("KeyType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).KeyType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType) content.GetValueForProperty("KeyType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).KeyType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).KeyType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType) content.GetValueForProperty("KeyType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).KeyType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.KeyType.CreateFrom); } if (content.Contains("Key")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).Key = (string) content.GetValueForProperty("Key",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal)this).Key, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).Key = (string) content.GetValueForProperty("Key",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal)this).Key, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.TypeConverter.cs index 40d9c46daad1..bbe7f2020c7f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.cs index 220fd82fac67..55aeeccb5629 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class RegenerateAccessKeyParameters : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParametersInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.json.cs index 90ede152f782..b74949f9f2e8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RegenerateAccessKeyParameters.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RegenerateAccessKeyParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class RegenerateAccessKeyParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new RegenerateAccessKeyParameters(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.PowerShell.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.PowerShell.cs index eba750262adc..5c0b70dab326 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,27 @@ public partial class RetentionDescription partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RetentionDescription(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RetentionDescription(content); } @@ -95,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +111,21 @@ internal RetentionDescription(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("CleanupPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); } if (content.Contains("RetentionTimeInHour")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TombstoneRetentionTimeInHour")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +140,15 @@ internal RetentionDescription(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("CleanupPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).CleanupPolicy = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription?) content.GetValueForProperty("CleanupPolicy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).CleanupPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription.CreateFrom); } if (content.Contains("RetentionTimeInHour")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour = (long?) content.GetValueForProperty("RetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).RetentionTimeInHour, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TombstoneRetentionTimeInHour")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour = (int?) content.GetValueForProperty("TombstoneRetentionTimeInHour",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal)this).TombstoneRetentionTimeInHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.TypeConverter.cs index 6b176fee12fa..27fbbc472db5 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.cs similarity index 77% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.cs index d19101f0ad3d..03cad8cdaf54 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties to configure retention settings for the eventhub [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class RetentionDescription : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescriptionInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescriptionInternal { /// Backing field for property. @@ -26,7 +26,7 @@ public partial class RetentionDescription : /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] public long? RetentionTimeInHour { get => this._retentionTimeInHour; set => this._retentionTimeInHour = value; } @@ -36,9 +36,9 @@ public partial class RetentionDescription : /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] public int? TombstoneRetentionTimeInHour { get => this._tombstoneRetentionTimeInHour; set => this._tombstoneRetentionTimeInHour = value; } @@ -63,25 +63,25 @@ public partial interface IRetentionDescription : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? CleanupPolicy { get; set; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue ", + Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ", SerializedName = @"retentionTimeInHours", PossibleTypes = new [] { typeof(long) })] long? RetentionTimeInHour { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", + Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", SerializedName = @"tombstoneRetentionTimeInHours", PossibleTypes = new [] { typeof(int) })] int? TombstoneRetentionTimeInHour { get; set; } @@ -95,14 +95,14 @@ internal partial interface IRetentionDescriptionInternal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription? CleanupPolicy { get; set; } /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// long? RetentionTimeInHour { get; set; } /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// int? TombstoneRetentionTimeInHour { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.json.cs index 73e9d66d3acc..5cf2ae2f04a7 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/RetentionDescription.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/RetentionDescription.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RetentionDescription partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRetentionDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRetentionDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new RetentionDescription(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.PowerShell.cs new file mode 100644 index 000000000000..913d023fc61d --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.PowerShell.cs @@ -0,0 +1,300 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// Single item in List or Get Schema Group operation + [System.ComponentModel.TypeConverter(typeof(SchemaGroupTypeConverter))] + public partial class SchemaGroup + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new SchemaGroup(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new SchemaGroup(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal SchemaGroup(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties1TypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("SchemaCompatibility")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); + } + if (content.Contains("SchemaType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAtUtc")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("CreatedAtUtc")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ETag")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).ETag, global::System.Convert.ToString); + } + if (content.Contains("GroupProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal SchemaGroup(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties1TypeConverter.ConvertFrom); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)this).Location, global::System.Convert.ToString); + } + if (content.Contains("SchemaCompatibility")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); + } + if (content.Contains("SchemaType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpdatedAtUtc")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("CreatedAtUtc")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("ETag")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).ETag, global::System.Convert.ToString); + } + if (content.Contains("GroupProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CreatedByType.CreateFrom); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Single item in List or Get Schema Group operation + [System.ComponentModel.TypeConverter(typeof(SchemaGroupTypeConverter))] + public partial interface ISchemaGroup + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.TypeConverter.cs index 3844dfa493c1..46a4f714df4f 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.cs similarity index 85% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.cs index d1034162b14e..206187f4e97c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Single item in List or Get Schema Group operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class SchemaGroup : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// @@ -22,15 +22,15 @@ public partial class SchemaGroup : /// Exact time the Schema Group was created. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? CreatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc; } + public global::System.DateTime? CreatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc; } /// The ETag value. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).ETag; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).ETag; } /// dictionary object for SchemaGroup group properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).GroupProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).GroupProperty = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).GroupProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).GroupProperty = value ?? null /* model class */; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -55,39 +55,39 @@ public partial class SchemaGroup : string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Type = value; } /// Internal Acessors for CreatedAtUtc - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal.CreatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal.CreatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).CreatedAtUtc = value; } /// Internal Acessors for ETag - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal.ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).ETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal.ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).ETag = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties1()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties1()); set { {_property = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for UpdatedAtUtc - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupInternal.UpdatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupInternal.UpdatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.IProxyResourceInternal)__proxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 _property; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 _property; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties1()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties1()); set => this._property = value; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility? SchemaCompatibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).SchemaCompatibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).SchemaCompatibility = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility? SchemaCompatibility { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).SchemaCompatibility; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).SchemaCompatibility = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility)""); } [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType? SchemaType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).SchemaType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).SchemaType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType)""); } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType? SchemaType { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).SchemaType; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).SchemaType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.ISystemData _systemData; @@ -128,7 +128,7 @@ public partial class SchemaGroup : /// Exact time the Schema Group was updated [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inlined)] - public global::System.DateTime? UpdatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc; } + public global::System.DateTime? UpdatedAtUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)Property).UpdatedAtUtc; } /// Creates an new instance. public SchemaGroup() @@ -175,8 +175,8 @@ public partial interface ISchemaGroup : ReadOnly = false, Description = @"dictionary object for SchemaGroup group properties", SerializedName = @"groupProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -260,9 +260,9 @@ internal partial interface ISchemaGroupInternal : /// The ETag value. string ETag { get; set; } /// dictionary object for SchemaGroup group properties - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 Property { get; set; } Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility? SchemaCompatibility { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.json.cs index 8ffc21196254..cc586f62e06e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroup.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroup.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SchemaGroup partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new SchemaGroup(json) : null; } @@ -78,7 +78,7 @@ internal SchemaGroup(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.Js return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties1.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties1.FromJson(__jsonProperties) : Property;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.PowerShell.cs index 8cd0a7fca679..e5ca51717b21 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class SchemaGroupListResult partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SchemaGroupListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SchemaGroupListResult(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal SchemaGroupListResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal SchemaGroupListResult(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.TypeConverter.cs index 73002c0e3913..e3d2dd6ecd85 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.cs index 0da706aa20bb..bb0ceed39be2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// The result of the List SchemaGroup operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class SchemaGroupListResult : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResultInternal { /// Backing field for property. @@ -24,11 +24,11 @@ public partial class SchemaGroupListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[] _value; /// Result of the List SchemaGroups operation. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public SchemaGroupListResult() @@ -56,8 +56,8 @@ public partial interface ISchemaGroupListResult : ReadOnly = false, Description = @"Result of the List SchemaGroups operation.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[] Value { get; set; } } /// The result of the List SchemaGroup operation. @@ -69,7 +69,7 @@ internal partial interface ISchemaGroupListResultInternal /// string NextLink { get; set; } /// Result of the List SchemaGroups operation. - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup[] Value { get; set; } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.json.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.json.cs index 27eb4174e04d..7e2cc9168039 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupListResult.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupListResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SchemaGroupListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new SchemaGroupListResult(json) : null; } @@ -77,7 +77,7 @@ internal SchemaGroupListResult(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runti { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroup.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup) (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroup.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.PowerShell.cs similarity index 89% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.PowerShell.cs index 62a81d6a1815..5f3ca37af1a1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class SchemaGroupProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SchemaGroupProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SchemaGroupProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -117,7 +117,7 @@ internal SchemaGroupProperties(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.TypeConverter.cs index cac5aeb2bc4d..285fb67d6433 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.cs similarity index 92% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.cs index 1b220560b80f..575860133ed9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// dictionary object for SchemaGroup group properties public partial class SchemaGroupProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupPropertiesInternal { /// Creates an new instance. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.dictionary.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.dictionary.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.dictionary.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.dictionary.cs index 39d6bc526555..8af0d342b047 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.dictionary.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.json.cs index 556c233f5ad8..dfdada1efa5a 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SchemaGroupProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new SchemaGroupProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.PowerShell.cs similarity index 61% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.PowerShell.cs index 3615b0ba6291..0b406e585da4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -62,29 +62,29 @@ public partial class SchemaGroupProperties1 partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SchemaGroupProperties1(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SchemaGroupProperties1(content); } @@ -94,10 +94,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -112,33 +112,33 @@ internal SchemaGroupProperties1(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("UpdatedAtUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("CreatedAtUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).ETag, global::System.Convert.ToString); } if (content.Contains("GroupProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SchemaCompatibility")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); } if (content.Contains("SchemaType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -153,27 +153,27 @@ internal SchemaGroupProperties1(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("UpdatedAtUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("UpdatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).UpdatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("CreatedAtUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc = (global::System.DateTime?) content.GetValueForProperty("CreatedAtUtc",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).CreatedAtUtc, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).ETag, global::System.Convert.ToString); } if (content.Contains("GroupProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).GroupProperty = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) content.GetValueForProperty("GroupProperty",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).GroupProperty, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SchemaCompatibility")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility?) content.GetValueForProperty("SchemaCompatibility",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaCompatibility, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility.CreateFrom); } if (content.Contains("SchemaType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaType = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType?) content.GetValueForProperty("SchemaType",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal)this).SchemaType, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaType.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.TypeConverter.cs index 1d031e0e8d6f..03f51d95ef06 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.cs similarity index 87% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.cs index 34dd54de5368..a761ffb98261 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class SchemaGroupProperties1 : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal { /// Backing field for property. @@ -28,20 +28,20 @@ public partial class SchemaGroupProperties1 : public string ETag { get => this._eTag; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties _groupProperty; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties _groupProperty; /// dictionary object for SchemaGroup group properties [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get => (this._groupProperty = this._groupProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties()); set => this._groupProperty = value; } + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get => (this._groupProperty = this._groupProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties()); set => this._groupProperty = value; } /// Internal Acessors for CreatedAtUtc - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal.CreatedAtUtc { get => this._createdAtUtc; set { {_createdAtUtc = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal.CreatedAtUtc { get => this._createdAtUtc; set { {_createdAtUtc = value;} } } /// Internal Acessors for ETag - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal.ETag { get => this._eTag; set { {_eTag = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal.ETag { get => this._eTag; set { {_eTag = value;} } } /// Internal Acessors for UpdatedAtUtc - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1Internal.UpdatedAtUtc { get => this._updatedAtUtc; set { {_updatedAtUtc = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1Internal.UpdatedAtUtc { get => this._updatedAtUtc; set { {_updatedAtUtc = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility? _schemaCompatibility; @@ -93,8 +93,8 @@ public partial interface ISchemaGroupProperties1 : ReadOnly = false, Description = @"dictionary object for SchemaGroup group properties", SerializedName = @"groupProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, @@ -129,7 +129,7 @@ internal partial interface ISchemaGroupProperties1Internal /// The ETag value. string ETag { get; set; } /// dictionary object for SchemaGroup group properties - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get; set; } Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SchemaCompatibility? SchemaCompatibility { get; set; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.json.cs index 182ced51f9ee..f51068404bc2 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/SchemaGroupProperties1.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/SchemaGroupProperties1.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class SchemaGroupProperties1 partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties1 FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties1 FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new SchemaGroupProperties1(json) : null; } @@ -79,7 +79,7 @@ internal SchemaGroupProperties1(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runt {_updatedAtUtc = If( json?.PropertyT("updatedAtUtc"), out var __jsonUpdatedAtUtc) ? global::System.DateTime.TryParse((string)__jsonUpdatedAtUtc, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonUpdatedAtUtcValue) ? __jsonUpdatedAtUtcValue : UpdatedAtUtc : UpdatedAtUtc;} {_createdAtUtc = If( json?.PropertyT("createdAtUtc"), out var __jsonCreatedAtUtc) ? global::System.DateTime.TryParse((string)__jsonCreatedAtUtc, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedAtUtcValue) ? __jsonCreatedAtUtcValue : CreatedAtUtc : CreatedAtUtc;} {_eTag = If( json?.PropertyT("eTag"), out var __jsonETag) ? (string)__jsonETag : (string)ETag;} - {_groupProperty = If( json?.PropertyT("groupProperties"), out var __jsonGroupProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroupProperties.FromJson(__jsonGroupProperties) : GroupProperty;} + {_groupProperty = If( json?.PropertyT("groupProperties"), out var __jsonGroupProperties) ? Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroupProperties.FromJson(__jsonGroupProperties) : GroupProperty;} {_schemaCompatibility = If( json?.PropertyT("schemaCompatibility"), out var __jsonSchemaCompatibility) ? (string)__jsonSchemaCompatibility : (string)SchemaCompatibility;} {_schemaType = If( json?.PropertyT("schemaType"), out var __jsonSchemaType) ? (string)__jsonSchemaType : (string)SchemaType;} AfterFromJson(json); diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.PowerShell.cs similarity index 76% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.PowerShell.cs index 05220142e69d..8efc22f8003c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class Sku partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Sku(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Sku(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,21 +111,21 @@ internal Sku(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); } if (content.Contains("Tier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,15 +140,15 @@ internal Sku(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuName.CreateFrom); } if (content.Contains("Tier")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier?) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.SkuTier.CreateFrom); } if (content.Contains("Capacity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.TypeConverter.cs similarity index 98% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.TypeConverter.cs index 66bc69fc192c..6c25e0ebe601 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.cs similarity index 98% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.cs index fb2102dbce49..6efd6f8cea32 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// SKU parameters supplied to the create namespace operation [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Sku : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISkuInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISkuInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.json.cs index 6ed344a64d6b..282439ae4704 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Sku.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Sku.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class Sku partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISku FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISku FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Sku(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.PowerShell.cs similarity index 86% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.PowerShell.cs index 65590e1fb956..92235b4f63ff 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class Subnet partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Subnet(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Subnet(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,13 +111,13 @@ internal Subnet(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)this).Id, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +132,7 @@ internal Subnet(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal)this).Id, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.TypeConverter.cs index 445db13d0236..2570798b45d8 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.cs index 5527975f344a..12d4f848d116 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties supplied for Subnet [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class Subnet : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnetInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnetInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.json.cs index 52a699d59aa2..4e8b7cdbafe0 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/Subnet.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/Subnet.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class Subnet partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISubnet FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISubnet FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new Subnet(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.PowerShell.cs similarity index 72% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.PowerShell.cs index bf9289c13f63..32e7c88fa4f3 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class ThrottlingPolicy partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ThrottlingPolicy(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ThrottlingPolicy(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,25 +111,25 @@ internal ThrottlingPolicy(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("RateLimitThreshold")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).RateLimitThreshold = (long) content.GetValueForProperty("RateLimitThreshold",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).RateLimitThreshold, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).RateLimitThreshold = (long) content.GetValueForProperty("RateLimitThreshold",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).RateLimitThreshold, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).MetricId = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).MetricId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).MetricId = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).MetricId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId.CreateFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -144,19 +144,19 @@ internal ThrottlingPolicy(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("RateLimitThreshold")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).RateLimitThreshold = (long) content.GetValueForProperty("RateLimitThreshold",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).RateLimitThreshold, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).RateLimitThreshold = (long) content.GetValueForProperty("RateLimitThreshold",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).RateLimitThreshold, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("MetricId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).MetricId = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal)this).MetricId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).MetricId = (Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId) content.GetValueForProperty("MetricId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal)this).MetricId, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId.CreateFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.TypeConverter.cs index ee598af79b65..3d2b0c61b0b1 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.cs similarity index 84% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.cs index f90ee9a03fdd..d393db53bd30 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Properties of the throttling policy [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class ThrottlingPolicy : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicyInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicyInternal, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy __applicationGroupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicy(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy __applicationGroupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicy(); /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId _metricId; @@ -31,11 +31,11 @@ public partial class ThrottlingPolicy : public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.MetricId MetricId { get => this._metricId; set => this._metricId = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type = value; } /// The Name of this policy [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Name = value ; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Name = value ; } /// Backing field for property. private long _rateLimitThreshold; @@ -48,7 +48,7 @@ public partial class ThrottlingPolicy : /// Application Group Policy types [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal)__applicationGroupPolicy).Type; } /// Creates an new instance. public ThrottlingPolicy() @@ -71,7 +71,7 @@ public ThrottlingPolicy() /// Properties of the throttling policy public partial interface IThrottlingPolicy : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy { /// /// Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics @@ -98,7 +98,7 @@ public partial interface IThrottlingPolicy : } /// Properties of the throttling policy internal partial interface IThrottlingPolicyInternal : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicyInternal { /// /// Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.json.cs index 7eeaede2af61..5fdc7adaa477 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/ThrottlingPolicy.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/ThrottlingPolicy.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ThrottlingPolicy partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new ThrottlingPolicy(json) : null; } @@ -77,7 +77,7 @@ internal ThrottlingPolicy(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Js { return; } - __applicationGroupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroupPolicy(json); + __applicationGroupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroupPolicy(json); {_rateLimitThreshold = If( json?.PropertyT("rateLimitThreshold"), out var __jsonRateLimitThreshold) ? (long)__jsonRateLimitThreshold : RateLimitThreshold;} {_metricId = If( json?.PropertyT("metricId"), out var __jsonMetricId) ? (string)__jsonMetricId : (string)MetricId;} AfterFromJson(json); diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.PowerShell.cs similarity index 80% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.PowerShell.cs index 3eaf1bc6a120..8ed4525b9c46 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -63,29 +63,27 @@ public partial class UserAssignedIdentity partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UserAssignedIdentity(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserAssignedIdentity(content); } @@ -95,7 +93,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -115,7 +113,7 @@ public override string ToString() } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -130,17 +128,17 @@ internal UserAssignedIdentity(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("ClientId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).ClientId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).ClientId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -155,11 +153,11 @@ internal UserAssignedIdentity(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("ClientId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal)this).ClientId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal)this).ClientId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.TypeConverter.cs index f598251b552e..374f5500a469 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.cs similarity index 90% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.cs index 45b21d8abd29..306272a6ce86 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; /// Recognized Dictionary value. [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class UserAssignedIdentity : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal { /// Backing field for property. @@ -22,10 +22,10 @@ public partial class UserAssignedIdentity : public string ClientId { get => this._clientId; } /// Internal Acessors for ClientId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal.ClientId { get => this._clientId; set { {_clientId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal.ClientId { get => this._clientId; set { {_clientId = value;} } } /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Backing field for property. private string _principalId; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.json.cs similarity index 96% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.json.cs index 370c763c323e..1965588acfe5 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentity.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentity.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class UserAssignedIdentity partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new UserAssignedIdentity(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.PowerShell.cs similarity index 82% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.PowerShell.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.PowerShell.cs index 5d69d380a0d9..affd8ae8029e 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.PowerShell.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -62,29 +62,29 @@ public partial class UserAssignedIdentityProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UserAssignedIdentityProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserAssignedIdentityProperties(content); } @@ -94,7 +94,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Prev /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -114,7 +114,7 @@ public override string ToString() } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -129,13 +129,13 @@ internal UserAssignedIdentityProperties(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,7 +150,7 @@ internal UserAssignedIdentityProperties(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity = (string) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal)this).UserAssignedIdentity, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.TypeConverter.cs similarity index 97% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.TypeConverter.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.TypeConverter.cs index b45c5d9d994e..3948843d78b4 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.TypeConverter.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.cs similarity index 94% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.cs index abe9a03117a7..eabcc6a52b8c 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] public partial class UserAssignedIdentityProperties : - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties, - Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityPropertiesInternal { /// Backing field for property. diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.json.cs similarity index 95% rename from src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.json.cs rename to src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.json.cs index 75833ca89489..e546396eeb07 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Models/Api20221001Preview/UserAssignedIdentityProperties.json.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/Api202301Preview/UserAssignedIdentityProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview { using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class UserAssignedIdentityProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IUserAssignedIdentityProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IUserAssignedIdentityProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new UserAssignedIdentityProperties(json) : null; } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.PowerShell.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.PowerShell.cs new file mode 100644 index 000000000000..50625493f296 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.PowerShell.cs @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + [System.ComponentModel.TypeConverter(typeof(NamespacesFailoverAcceptedResponseHeadersTypeConverter))] + public partial class NamespacesFailoverAcceptedResponseHeaders + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new NamespacesFailoverAcceptedResponseHeaders(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new NamespacesFailoverAcceptedResponseHeaders(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal NamespacesFailoverAcceptedResponseHeaders(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("AzureAsyncOperation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).AzureAsyncOperation = (string) content.GetValueForProperty("AzureAsyncOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).AzureAsyncOperation, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal NamespacesFailoverAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("AzureAsyncOperation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).AzureAsyncOperation = (string) content.GetValueForProperty("AzureAsyncOperation",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).AzureAsyncOperation, global::System.Convert.ToString); + } + if (content.Contains("Location")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + [System.ComponentModel.TypeConverter(typeof(NamespacesFailoverAcceptedResponseHeadersTypeConverter))] + public partial interface INamespacesFailoverAcceptedResponseHeaders + + { + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.TypeConverter.cs new file mode 100644 index 000000000000..8c79018845a9 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class NamespacesFailoverAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return NamespacesFailoverAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return NamespacesFailoverAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return NamespacesFailoverAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.cs new file mode 100644 index 000000000000..0e23667e6644 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.cs @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat] + public partial class NamespacesFailoverAcceptedResponseHeaders : + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal, + Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IHeaderSerializable + { + + /// Backing field for property. + private string _azureAsyncOperation; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string AzureAsyncOperation { get => this._azureAsyncOperation; set => this._azureAsyncOperation = value; } + + /// Backing field for property. + private string _location; + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Origin(Microsoft.Azure.PowerShell.Cmdlets.EventHub.PropertyOrigin.Owned)] + public string Location { get => this._location; set => this._location = value; } + + /// + void Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IHeaderSerializable.ReadHeaders(global::System.Net.Http.Headers.HttpResponseHeaders headers) + { + if (headers.TryGetValues("azure-AsyncOperation", out var __azureAsyncOperationHeader0)) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).AzureAsyncOperation = System.Linq.Enumerable.FirstOrDefault(__azureAsyncOperationHeader0) is string __headerAzureAsyncOperationHeader0 ? __headerAzureAsyncOperationHeader0 : (string)null; + } + if (headers.TryGetValues("location", out var __locationHeader1)) + { + ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader1) is string __headerLocationHeader1 ? __headerLocationHeader1 : (string)null; + } + } + + /// + /// Creates an new instance. + /// + public NamespacesFailoverAcceptedResponseHeaders() + { + + } + } + public partial interface INamespacesFailoverAcceptedResponseHeaders + + { + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"", + SerializedName = @"azure-AsyncOperation", + PossibleTypes = new [] { typeof(string) })] + string AzureAsyncOperation { get; set; } + + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + string Location { get; set; } + + } + internal partial interface INamespacesFailoverAcceptedResponseHeadersInternal + + { + string AzureAsyncOperation { get; set; } + + string Location { get; set; } + + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.json.cs b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.json.cs new file mode 100644 index 000000000000..509d9e4dab25 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Models/NamespacesFailoverAcceptedResponseHeaders.json.cs @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Extensions; + + public partial class NamespacesFailoverAcceptedResponseHeaders + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.INamespacesFailoverAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json ? new NamespacesFailoverAcceptedResponseHeaders(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject instance to deserialize from. + internal NamespacesFailoverAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.Completer.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.Completer.cs new file mode 100644 index 000000000000..ab8de0a97acc --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.Completer.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Type of Azure Active Directory Managed Identity. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityTypeTypeConverter))] + public partial struct CaptureIdentityType : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "SystemAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'SystemAssigned'", "SystemAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "SystemAssigned"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "UserAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'UserAssigned'", "UserAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "UserAssigned"); + } + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.TypeConverter.cs new file mode 100644 index 000000000000..410338c0b34c --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Type of Azure Active Directory Managed Identity. + public partial class CaptureIdentityTypeTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => CaptureIdentityType.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.cs new file mode 100644 index 000000000000..d2779268db21 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/CaptureIdentityType.cs @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Type of Azure Active Directory Managed Identity. + public partial struct CaptureIdentityType : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType SystemAssigned = @"SystemAssigned"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType UserAssigned = @"UserAssigned"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private CaptureIdentityType(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Conversion from arbitrary object to CaptureIdentityType + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new CaptureIdentityType(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type CaptureIdentityType + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type CaptureIdentityType (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is CaptureIdentityType && Equals((CaptureIdentityType)obj); + } + + /// Returns hashCode for enum CaptureIdentityType + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for CaptureIdentityType + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to CaptureIdentityType + /// the value to convert to an instance of . + + public static implicit operator CaptureIdentityType(string value) + { + return new CaptureIdentityType(value); + } + + /// Implicit operator to convert CaptureIdentityType to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e) + { + return e._value; + } + + /// Overriding != operator for enum CaptureIdentityType + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum CaptureIdentityType + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.Completer.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.Completer.cs index 77aed3ea1e83..e8e910ecd5cd 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.Completer.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.Completer.cs @@ -30,9 +30,9 @@ public partial struct CleanupPolicyRetentionDescription : { yield return new global::System.Management.Automation.CompletionResult("'Delete'", "Delete", global::System.Management.Automation.CompletionResultType.ParameterValue, "Delete"); } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "Compaction".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Compact".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { - yield return new global::System.Management.Automation.CompletionResult("'Compaction'", "Compaction", global::System.Management.Automation.CompletionResultType.ParameterValue, "Compaction"); + yield return new global::System.Management.Automation.CompletionResult("'Compact'", "Compact", global::System.Management.Automation.CompletionResultType.ParameterValue, "Compact"); } } } diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.cs index 6bc18a69a880..4068c45be9a9 100644 --- a/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.cs +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/CleanupPolicyRetentionDescription.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support public partial struct CleanupPolicyRetentionDescription : System.IEquatable { - public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription Compaction = @"Compaction"; + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription Compact = @"Compact"; public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CleanupPolicyRetentionDescription Delete = @"Delete"; diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.Completer.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.Completer.cs new file mode 100644 index 000000000000..f7dad3f2ef6d --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.Completer.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// GeoDR Role Types + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleTypeTypeConverter))] + public partial struct GeoDrRoleType : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Primary".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Primary'", "Primary", global::System.Management.Automation.CompletionResultType.ParameterValue, "Primary"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Secondary".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Secondary'", "Secondary", global::System.Management.Automation.CompletionResultType.ParameterValue, "Secondary"); + } + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.TypeConverter.cs new file mode 100644 index 000000000000..441482279cbf --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// GeoDR Role Types + public partial class GeoDrRoleTypeTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => GeoDrRoleType.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.cs new file mode 100644 index 000000000000..2663999c8c58 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/GeoDrRoleType.cs @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// GeoDR Role Types + public partial struct GeoDrRoleType : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType Primary = @"Primary"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType Secondary = @"Secondary"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to GeoDrRoleType + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new GeoDrRoleType(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type GeoDrRoleType + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type GeoDrRoleType (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is GeoDrRoleType && Equals((GeoDrRoleType)obj); + } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private GeoDrRoleType(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns hashCode for enum GeoDrRoleType + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for GeoDrRoleType + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to GeoDrRoleType + /// the value to convert to an instance of . + + public static implicit operator GeoDrRoleType(string value) + { + return new GeoDrRoleType(value); + } + + /// Implicit operator to convert GeoDrRoleType to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e) + { + return e._value; + } + + /// Overriding != operator for enum GeoDrRoleType + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum GeoDrRoleType + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.GeoDrRoleType e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.Completer.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.Completer.cs new file mode 100644 index 000000000000..898531ac8341 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.Completer.cs @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Provisioning state of the Cluster. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningStateTypeConverter))] + public partial struct ProvisioningState : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Unknown".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Unknown'", "Unknown", global::System.Management.Automation.CompletionResultType.ParameterValue, "Unknown"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Creating".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Creating'", "Creating", global::System.Management.Automation.CompletionResultType.ParameterValue, "Creating"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Deleting".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Deleting'", "Deleting", global::System.Management.Automation.CompletionResultType.ParameterValue, "Deleting"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Scaling".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Scaling'", "Scaling", global::System.Management.Automation.CompletionResultType.ParameterValue, "Scaling"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Active".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Active'", "Active", global::System.Management.Automation.CompletionResultType.ParameterValue, "Active"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Failed".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Failed'", "Failed", global::System.Management.Automation.CompletionResultType.ParameterValue, "Failed"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Succeeded".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Succeeded'", "Succeeded", global::System.Management.Automation.CompletionResultType.ParameterValue, "Succeeded"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Canceled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Canceled'", "Canceled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Canceled"); + } + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs new file mode 100644 index 000000000000..35c1256b40a3 --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Provisioning state of the Cluster. + public partial class ProvisioningStateTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ProvisioningState.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.cs b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.cs new file mode 100644 index 000000000000..14591117565c --- /dev/null +++ b/src/EventHub/EventHub.Autorest/generated/api/Support/ProvisioningState.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support +{ + + /// Provisioning state of the Cluster. + public partial struct ProvisioningState : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Active = @"Active"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Canceled = @"Canceled"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Creating = @"Creating"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Deleting = @"Deleting"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Failed = @"Failed"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Scaling = @"Scaling"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Succeeded = @"Succeeded"; + + public static Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState Unknown = @"Unknown"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to ProvisioningState + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new ProvisioningState(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type ProvisioningState + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type ProvisioningState (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is ProvisioningState && Equals((ProvisioningState)obj); + } + + /// Returns hashCode for enum ProvisioningState + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private ProvisioningState(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for ProvisioningState + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to ProvisioningState + /// the value to convert to an instance of . + + public static implicit operator ProvisioningState(string value) + { + return new ProvisioningState(value); + } + + /// Implicit operator to convert ProvisioningState to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e) + { + return e._value; + } + + /// Overriding != operator for enum ProvisioningState + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum ProvisioningState + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ProvisioningState e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_Get.cs index da5c4b07f7f9..882f15982b61 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups/{applicationGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubApplicationGroup_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an ApplicationGroup for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubApplicationGroup_Get : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHubApplicationGroup_Get : global::System.Manageme /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -414,7 +414,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_GetViaIdentity.cs index 68b8465417c3..7077a81cd94e 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups/{applicationGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubApplicationGroup_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an ApplicationGroup for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubApplicationGroup_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubApplicationGroup_GetViaIdentity : global::Syst /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -362,12 +362,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +379,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_List.cs index fec41e3be21c..6921cc93656b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubApplicationGroup_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListByNamespace=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubApplicationGroup_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a list of application groups for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubApplicationGroup_List : global::System.Management.Automation.PSCmdlet, @@ -167,12 +167,12 @@ public partial class GetAzEventHubApplicationGroup_List : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -388,12 +388,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_Get.cs index 7e11e39a04a7..cc32121d087f 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_Get.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubAuthorizationRule_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for an Event Hub by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubAuthorizationRule_Get : global::System.Management.Automation.PSCmdlet, @@ -190,12 +190,12 @@ public partial class GetAzEventHubAuthorizationRule_Get : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -411,12 +411,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +428,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_GetViaIdentity.cs index bada667b8569..6fe1f9cb2e6b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_GetViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubAuthorizationRule_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for an Event Hub by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubAuthorizationRule_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -121,12 +121,12 @@ public partial class GetAzEventHubAuthorizationRule_GetViaIdentity : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -367,12 +367,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -384,7 +384,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_List.cs index 10943e3b6020..72ce9bed9ee8 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubAuthorizationRule_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubAuthorizationRule_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the authorization rules for an Event Hub.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubAuthorizationRule_List : global::System.Management.Automation.PSCmdlet, @@ -182,12 +182,12 @@ public partial class GetAzEventHubAuthorizationRule_List : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -403,12 +403,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClusterNamespace_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClusterNamespace_List.cs index a5e17f921682..57865d378a90 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClusterNamespace_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClusterNamespace_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListNamespaces=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}/namespaces" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubClusterNamespace_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubClusterNamespace_List : global::System.Management.Automation.PSCmdlet, @@ -161,12 +161,12 @@ public partial class GetAzEventHubClusterNamespace_List : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -382,12 +382,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_Get.cs index 4fd999d283bf..d4c9e71d8fdc 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubCluster_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the resource description of the specified Event Hubs Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubCluster_Get : global::System.Management.Automation.PSCmdlet, @@ -162,12 +162,12 @@ public partial class GetAzEventHubCluster_Get : global::System.Management.Automa /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -383,12 +383,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -400,7 +400,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_GetViaIdentity.cs index 460392448beb..c9714798f031 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubCluster_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the resource description of the specified Event Hubs Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubCluster_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubCluster_GetViaIdentity : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -358,12 +358,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +375,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List.cs index 27efe637db7c..02d27901585b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListBySubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/clusters" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubCluster_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Lists the available Event Hubs Clusters within an ARM resource group")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubCluster_List : global::System.Management.Automation.PSCmdlet, @@ -139,12 +139,12 @@ public partial class GetAzEventHubCluster_List : global::System.Management.Autom /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -360,12 +360,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List1.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List1.cs index 99b3e7e2bb15..9dbd0363d928 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List1.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubCluster_List1.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubCluster_List1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Lists the available Event Hubs Clusters within an ARM resource group")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubCluster_List1 : global::System.Management.Automation.PSCmdlet, @@ -153,12 +153,12 @@ public partial class GetAzEventHubCluster_List1 : global::System.Management.Auto /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -374,12 +374,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IClusterListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IClusterListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClustersAvailableRegion_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClustersAvailableRegion_List.cs index fd2ca17a34e6..61f47c981a23 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClustersAvailableRegion_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubClustersAvailableRegion_List.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListAvailableClusterRegion=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/availableClusterRegions" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubClustersAvailableRegion_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubClustersAvailableRegion_List : global::System.Management.Automation.PSCmdlet, @@ -135,12 +135,12 @@ public partial class GetAzEventHubClustersAvailableRegion_List : global::System. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -356,12 +356,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableClustersList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableClustersList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_Get.cs index b51c55a81810..077e7f420c4a 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubConsumerGroup_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a description for the specified consumer group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubConsumerGroup_Get : global::System.Management.Automation.PSCmdlet, @@ -190,12 +190,12 @@ public partial class GetAzEventHubConsumerGroup_Get : global::System.Management. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -411,12 +411,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +428,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_GetViaIdentity.cs index 6cf155321777..97e833e55e92 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubConsumerGroup_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a description for the specified consumer group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubConsumerGroup_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubConsumerGroup_GetViaIdentity : global::System. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -366,12 +366,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -383,7 +383,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_List.cs index ce60e0fc6dff..b25060b43035 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubConsumerGroup_List.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListByEventHub=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubConsumerGroup_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubConsumerGroup_List : global::System.Management.Automation.PSCmdlet, @@ -215,12 +215,12 @@ public partial class GetAzEventHubConsumerGroup_List : global::System.Management /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -436,12 +436,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroupListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get.cs index dd01000610fb..1b57a4cfbebc 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubDisasterRecoveryConfigAuthorizationRule_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for a Namespace by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get : global::System.Management.Automation.PSCmdlet, @@ -190,12 +190,12 @@ public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_Get : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -411,12 +411,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +428,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity.cs index 727eacf31ab4..dc41c8a083fa 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for a Namespace by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -121,12 +121,12 @@ public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_GetVia /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -368,12 +368,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -385,7 +385,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List.cs index 2f484feb4ff9..7e218a3b6331 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubDisasterRecoveryConfigAuthorizationRule_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a list of authorization rules for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List : global::System.Management.Automation.PSCmdlet, @@ -182,12 +182,12 @@ public partial class GetAzEventHubDisasterRecoveryConfigAuthorizationRule_List : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -403,12 +403,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigKey_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigKey_List.cs index 306e8e5dfc94..2e562a157254 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigKey_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubDisasterRecoveryConfigKey_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubDisasterRecoveryConfigKey_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the primary and secondary connection strings for the Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubDisasterRecoveryConfigKey_List : global::System.Management.Automation.PSCmdlet, @@ -190,12 +190,12 @@ public partial class GetAzEventHubDisasterRecoveryConfigKey_List : global::Syste /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -414,12 +414,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -431,7 +431,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_Get.cs index 3508544750d3..8464e0dbe3df 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_Get.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubGeoDRConfiguration_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubGeoDRConfiguration_Get : global::System.Management.Automation.PSCmdlet, @@ -177,12 +177,12 @@ public partial class GetAzEventHubGeoDRConfiguration_Get : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -398,12 +398,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -415,7 +415,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_GetViaIdentity.cs index 86f60454c88e..f7e5414d4401 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_GetViaIdentity.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubGeoDRConfiguration_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubGeoDRConfiguration_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -122,12 +122,12 @@ public partial class GetAzEventHubGeoDRConfiguration_GetViaIdentity : global::Sy /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -364,12 +364,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -381,7 +381,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_List.cs index 2924959e4392..32c3b43663ef 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubGeoDRConfiguration_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubGeoDRConfiguration_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets all Alias(Disaster Recovery configurations)")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubGeoDRConfiguration_List : global::System.Management.Automation.PSCmdlet, @@ -167,12 +167,12 @@ public partial class GetAzEventHubGeoDRConfiguration_List : global::System.Manag /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -388,12 +388,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecoveryListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecoveryListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubKey_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubKey_List.cs index 482bf3a6e41a..c78a8afa7dbf 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubKey_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubKey_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubKey_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the ACS and SAS connection strings for the Event Hub.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubKey_List : global::System.Management.Automation.PSCmdlet, @@ -190,12 +190,12 @@ public partial class GetAzEventHubKey_List : global::System.Management.Automatio /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -414,12 +414,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -431,7 +431,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_Get.cs index 095db4351156..cb7fdaa4967c 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_Get.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespaceAuthorizationRule_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for a Namespace by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespaceAuthorizationRule_Get : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHubNamespaceAuthorizationRule_Get : global::Syste /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -414,7 +414,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity.cs index 6ea98257b08e..dab8c61e6edb 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespaceAuthorizationRule_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an AuthorizationRule for a Namespace by rule name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -121,12 +121,12 @@ public partial class GetAzEventHubNamespaceAuthorizationRule_GetViaIdentity : gl /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -363,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -380,7 +380,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_List.cs index 0255eefdc74c..a747ae7cb453 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceAuthorizationRule_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespaceAuthorizationRule_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a list of authorization rules for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespaceAuthorizationRule_List : global::System.Management.Automation.PSCmdlet, @@ -168,12 +168,12 @@ public partial class GetAzEventHubNamespaceAuthorizationRule_List : global::Syst /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -389,12 +389,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRuleListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRuleListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceKey_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceKey_List.cs index a8a7a15c53be..c2bb7b9fe074 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceKey_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespaceKey_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespaceKey_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the primary and secondary connection strings for the Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespaceKey_List : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHubNamespaceKey_List : global::System.Management. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -400,12 +400,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -417,7 +417,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_Get.cs index c9b006dd4c2d..d153164296aa 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_Get.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespace_Get")] [global::System.Management.Automation.Alias("Get-AzEventHubNamespaceV2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the description of the specified namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespace_Get : global::System.Management.Automation.PSCmdlet, @@ -163,12 +163,12 @@ public partial class GetAzEventHubNamespace_Get : global::System.Management.Auto /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -384,12 +384,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -401,7 +401,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_GetViaIdentity.cs index 62f057ae370d..7942b47b2239 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_GetViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespace_GetViaIdentity")] [global::System.Management.Automation.Alias("Get-AzEventHubNamespaceV2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the description of the specified namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespace_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -121,12 +121,12 @@ public partial class GetAzEventHubNamespace_GetViaIdentity : global::System.Mana /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -359,12 +359,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -376,7 +376,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List.cs index 12cfa9420ac7..74326e7f6b20 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespace_List")] [global::System.Management.Automation.Alias("Get-AzEventHubNamespaceV2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Lists all the available Namespaces within a subscription, irrespective of the resource groups.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespace_List : global::System.Management.Automation.PSCmdlet, @@ -142,12 +142,12 @@ public partial class GetAzEventHubNamespace_List : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -363,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List1.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List1.cs index 7c554ca2ecb5..03568b1dae1b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List1.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNamespace_List1.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNamespace_List1")] [global::System.Management.Automation.Alias("Get-AzEventHubNamespaceV2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Lists the available Namespaces within a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNamespace_List1 : global::System.Management.Automation.PSCmdlet, @@ -154,12 +154,12 @@ public partial class GetAzEventHubNamespace_List1 : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -375,12 +375,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_Get.cs index 3a501cc02fd6..9cd318d489d2 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] GetNetworkRuleSet=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNetworkRuleSet_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets NetworkRuleSet for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNetworkRuleSet_Get : global::System.Management.Automation.PSCmdlet, @@ -161,12 +161,12 @@ public partial class GetAzEventHubNetworkRuleSet_Get : global::System.Management /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -382,12 +382,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -399,7 +399,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_GetViaIdentity.cs index 83eb6cf4dc66..0b90e1b91ec8 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] GetNetworkRuleSet=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNetworkRuleSet_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets NetworkRuleSet for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNetworkRuleSet_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubNetworkRuleSet_GetViaIdentity : global::System /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -358,12 +358,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +375,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_List.cs index 193dd708ccdf..7953d9724f3e 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubNetworkRuleSet_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListNetworkRuleSet=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubNetworkRuleSet_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets NetworkRuleSet for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubNetworkRuleSet_List : global::System.Management.Automation.PSCmdlet, @@ -167,12 +167,12 @@ public partial class GetAzEventHubNetworkRuleSet_List : global::System.Managemen /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -388,12 +388,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubOperation_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubOperation_List.cs index e0fbc8c45448..13d8b4a8d6bc 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubOperation_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubOperation_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubOperation_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Lists all of the available Event Hub REST API operations.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubOperation_List : global::System.Management.Automation.PSCmdlet, @@ -119,12 +119,12 @@ public partial class GetAzEventHubOperation_List : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -337,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperationListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperationListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_Get.cs index 74f90d5f1641..248a91512e19 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubPrivateEndpointConnection_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a description for the specified Private Endpoint Connection name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubPrivateEndpointConnection_Get : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHubPrivateEndpointConnection_Get : global::System /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -414,7 +414,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_GetViaIdentity.cs index 97b34976b31d..2510a958b63c 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubPrivateEndpointConnection_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets a description for the specified Private Endpoint Connection name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubPrivateEndpointConnection_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubPrivateEndpointConnection_GetViaIdentity : glo /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -362,12 +362,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +379,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_List.cs index 69bc5d00605f..a205d3784ace 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateEndpointConnection_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubPrivateEndpointConnection_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the available PrivateEndpointConnections within a namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubPrivateEndpointConnection_List : global::System.Management.Automation.PSCmdlet, @@ -167,12 +167,12 @@ public partial class GetAzEventHubPrivateEndpointConnection_List : global::Syste /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -388,12 +388,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnectionListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnectionListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateLink_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateLink_Get.cs index e27ff3a0e46c..d093db5e1baa 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateLink_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubPrivateLink_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateLinkResources" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubPrivateLink_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets lists of resources that supports Privatelinks.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubPrivateLink_Get : global::System.Management.Automation.PSCmdlet, @@ -167,12 +167,12 @@ public partial class GetAzEventHubPrivateLink_Get : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -388,12 +388,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_Get.cs index 190e716cda27..a29908ce4064 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubSchemaGroup_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the details of an EventHub schema group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubSchemaGroup_Get : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHubSchemaGroup_Get : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -414,7 +414,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_GetViaIdentity.cs index 5244eee41c26..6bff52d520d0 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubSchemaGroup_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets the details of an EventHub schema group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubSchemaGroup_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHubSchemaGroup_GetViaIdentity : global::System.Ma /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -362,12 +362,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +379,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_List.cs index 375d4ea793be..75caf30a05fb 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHubSchemaGroup_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListByNamespace=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHubSchemaGroup_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets all the Schema Groups in a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHubSchemaGroup_List : global::System.Management.Automation.PSCmdlet, @@ -199,12 +199,12 @@ public partial class GetAzEventHubSchemaGroup_List : global::System.Management.A /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -420,12 +420,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_Get.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_Get.cs index 02fb2542fd5c..d99015baf47b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_Get.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_Get.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHub_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an Event Hubs description for the specified Event Hub.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHub_Get : global::System.Management.Automation.PSCmdlet, @@ -176,12 +176,12 @@ public partial class GetAzEventHub_Get : global::System.Management.Automation.PS /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -395,12 +395,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_GetViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_GetViaIdentity.cs index 55a68392911b..651916825c8d 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_GetViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_GetViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHub_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets an Event Hubs description for the specified Event Hub.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHub_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -120,12 +120,12 @@ public partial class GetAzEventHub_GetViaIdentity : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -362,12 +362,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +379,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_List.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_List.cs index eab33e6aad12..97ddf2cd9a63 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_List.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/GetAzEventHub_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] ListByNamespace=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzEventHub_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Gets all the Event Hubs in a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class GetAzEventHub_List : global::System.Management.Automation.PSCmdlet, @@ -199,12 +199,12 @@ public partial class GetAzEventHub_List : global::System.Management.Automation.P /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -420,12 +420,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventHubListResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventHubListResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateExpanded.cs index 84dfa28c42e2..fc75996827a3 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdateApplicationGroup=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups/{applicationGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubApplicationGroup_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an ApplicationGroup for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubApplicationGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -34,7 +34,7 @@ public partial class NewAzEventHubApplicationGroup_CreateExpanded : global::Syst private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Application Group object - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ApplicationGroup(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ApplicationGroup(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -150,8 +150,8 @@ public partial class NewAzEventHubApplicationGroup_CreateExpanded : global::Syst ReadOnly = false, Description = @"List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.", SerializedName = @"policies", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] Policy { get => _parametersBody.Policy ?? null /* arrayOf */; set => _parametersBody.Policy = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Policy { get => _parametersBody.Policy ?? null /* arrayOf */; set => _parametersBody.Policy = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -221,12 +221,12 @@ public partial class NewAzEventHubApplicationGroup_CreateExpanded : global::Syst /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -442,12 +442,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -459,7 +459,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateViaIdentity.cs index 8037f9e9dfeb..06a0c3e268fc 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubApplicationGroup_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubApplicationGroup_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an ApplicationGroup for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubApplicationGroup_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubApplicationGroup_CreateViaIdentity : global::S global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup _parameter; /// The Application Group object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Application Group object", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubApplicationGroup_CreateViaIdentity : global::S ReadOnly = false, Description = @"The Application Group object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class NewAzEventHubApplicationGroup_CreateViaIdentity : global::S /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -379,12 +379,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +396,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateExpanded.cs index c11c34c56104..1bc82c861d60 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateExpanded.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubAuthorizationRule_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubAuthorizationRule_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -38,7 +38,7 @@ public partial class NewAzEventHubAuthorizationRule_CreateExpanded : global::Sys private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in a List or Get AuthorizationRule operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -209,12 +209,12 @@ public partial class NewAzEventHubAuthorizationRule_CreateExpanded : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -430,12 +430,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -447,7 +447,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateViaIdentity.cs index 3eca52ebe5a2..c11c39396aec 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubAuthorizationRule_CreateViaIdentity.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubAuthorizationRule_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubAuthorizationRule_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -87,7 +87,7 @@ public partial class NewAzEventHubAuthorizationRule_CreateViaIdentity : global:: global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule _parameter; /// Single item in a List or Get AuthorizationRule operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in a List or Get AuthorizationRule operation", ValueFromPipeline = true)] @@ -96,8 +96,8 @@ public partial class NewAzEventHubAuthorizationRule_CreateViaIdentity : global:: ReadOnly = false, Description = @"Single item in a List or Get AuthorizationRule operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -137,12 +137,12 @@ public partial class NewAzEventHubAuthorizationRule_CreateViaIdentity : global:: /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -386,12 +386,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -403,7 +403,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateExpanded.cs index ecb285ae961a..8e45f6fd3260 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubCluster_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an instance of an Event Hubs Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubCluster_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -34,7 +34,7 @@ public partial class NewAzEventHubCluster_CreateExpanded : global::System.Manage private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single Event Hubs Cluster resource in List or Get operations. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Cluster(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Cluster(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -227,12 +227,12 @@ public partial class NewAzEventHubCluster_CreateExpanded : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -502,12 +502,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -519,7 +519,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateViaIdentity.cs index d5a3bbd752ca..46938ee2327b 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubCluster_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubCluster_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an instance of an Event Hubs Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubCluster_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -97,7 +97,7 @@ public partial class NewAzEventHubCluster_CreateViaIdentity : global::System.Man public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster _parameter; /// Single Event Hubs Cluster resource in List or Get operations. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single Event Hubs Cluster resource in List or Get operations.", ValueFromPipeline = true)] @@ -106,8 +106,8 @@ public partial class NewAzEventHubCluster_CreateViaIdentity : global::System.Man ReadOnly = false, Description = @"Single Event Hubs Cluster resource in List or Get operations.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -147,12 +147,12 @@ public partial class NewAzEventHubCluster_CreateViaIdentity : global::System.Man /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -439,12 +439,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -456,7 +456,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateExpanded.cs index b03df734df98..22b5c7227596 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateExpanded.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubConsumerGroup_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubConsumerGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -36,7 +36,7 @@ public partial class NewAzEventHubConsumerGroup_CreateExpanded : global::System. private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in List or Get Consumer group operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ConsumerGroup(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ConsumerGroup(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -210,12 +210,12 @@ public partial class NewAzEventHubConsumerGroup_CreateExpanded : global::System. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -431,12 +431,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -448,7 +448,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateViaIdentity.cs index 5a004288d091..d63ed52f63f9 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubConsumerGroup_CreateViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubConsumerGroup_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubConsumerGroup_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -86,7 +86,7 @@ public partial class NewAzEventHubConsumerGroup_CreateViaIdentity : global::Syst global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup _parameter; /// Single item in List or Get Consumer group operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in List or Get Consumer group operation", ValueFromPipeline = true)] @@ -95,8 +95,8 @@ public partial class NewAzEventHubConsumerGroup_CreateViaIdentity : global::Syst ReadOnly = false, Description = @"Single item in List or Get Consumer group operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -136,12 +136,12 @@ public partial class NewAzEventHubConsumerGroup_CreateViaIdentity : global::Syst /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -385,12 +385,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -402,7 +402,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateExpanded.cs index 3b46d5b5cb52..4c8bac62a0ec 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubGeoDRConfiguration_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a new Alias(Disaster Recovery configuration)")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubGeoDRConfiguration_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -34,7 +34,7 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateExpanded : global::Sy private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in List or Get Alias(Disaster Recovery configuration) operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ArmDisasterRecovery(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ArmDisasterRecovery(); /// Alternate name specified when alias and namespace names are same. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Alternate name specified when alias and namespace names are same.")] @@ -190,12 +190,12 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateExpanded : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -214,12 +214,12 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateExpanded : global::Sy /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -393,12 +393,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -410,7 +410,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } @@ -459,12 +459,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -476,7 +476,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateViaIdentity.cs index 55814f0eedd9..f85de83976ce 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubGeoDRConfiguration_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubGeoDRConfiguration_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a new Alias(Disaster Recovery configuration)")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubGeoDRConfiguration_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateViaIdentity : global: global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery _parameter; /// Single item in List or Get Alias(Disaster Recovery configuration) operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in List or Get Alias(Disaster Recovery configuration) operation", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateViaIdentity : global: ReadOnly = false, Description = @"Single item in List or Get Alias(Disaster Recovery configuration) operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -122,12 +122,12 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateViaIdentity : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -146,12 +146,12 @@ public partial class NewAzEventHubGeoDRConfiguration_CreateViaIdentity : global: /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -349,12 +349,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -366,7 +366,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } @@ -415,12 +415,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -432,7 +432,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubKey_Regenerate.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubKey_Regenerate.cs index 3d36934fac70..8eeb7c769313 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubKey_Regenerate.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubKey_Regenerate.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubKey_Regenerate", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Regenerates the ACS and SAS connection strings for the Event Hub.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubKey_Regenerate : global::System.Management.Automation.PSCmdlet, @@ -118,7 +118,7 @@ public partial class NewAzEventHubKey_Regenerate : global::System.Management.Aut public string NamespaceName { get => this._namespaceName; set => this._namespaceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters _parameter; /// /// Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. @@ -129,8 +129,8 @@ public partial class NewAzEventHubKey_Regenerate : global::System.Management.Aut ReadOnly = false, Description = @"Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -205,12 +205,12 @@ public partial class NewAzEventHubKey_Regenerate : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -426,12 +426,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -443,7 +443,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateExpanded.cs index 6e79eb023924..b1763cc97258 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNamespaceAuthorizationRule_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an AuthorizationRule for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNamespaceAuthorizationRule_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class NewAzEventHubNamespaceAuthorizationRule_CreateExpanded : gl private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in a List or Get AuthorizationRule operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.AuthorizationRule(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRule(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -192,12 +192,12 @@ public partial class NewAzEventHubNamespaceAuthorizationRule_CreateExpanded : gl /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -413,12 +413,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -430,7 +430,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity.cs index c913a37c89e3..4ec87a12b680 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNamespaceAuthorizationRule_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates an AuthorizationRule for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity : global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule _parameter; /// Single item in a List or Get AuthorizationRule operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in a List or Get AuthorizationRule operation", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity : ReadOnly = false, Description = @"Single item in a List or Get AuthorizationRule operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class NewAzEventHubNamespaceAuthorizationRule_CreateViaIdentity : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -379,12 +379,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +396,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceKey_Regenerate.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceKey_Regenerate.cs index 2c84a13900d6..2cf8b55fc425 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceKey_Regenerate.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespaceKey_Regenerate.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNamespaceKey_Regenerate", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Regenerates the primary or secondary connection strings for the specified Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNamespaceKey_Regenerate : global::System.Management.Automation.PSCmdlet, @@ -106,7 +106,7 @@ public partial class NewAzEventHubNamespaceKey_Regenerate : global::System.Manag public string NamespaceName { get => this._namespaceName; set => this._namespaceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters _parameter; /// /// Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. @@ -117,8 +117,8 @@ public partial class NewAzEventHubNamespaceKey_Regenerate : global::System.Manag ReadOnly = false, Description = @"Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -193,12 +193,12 @@ public partial class NewAzEventHubNamespaceKey_Regenerate : global::System.Manag /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -414,12 +414,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -431,7 +431,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateExpanded.cs index 306b6039a8ee..43efafeb94c9 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateExpanded.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNamespace_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -37,7 +37,7 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single Namespace item in List or Get Operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.EhNamespace(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.EhNamespace(); /// Alternate name specified when alias and namespace names are same. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Alternate name specified when alias and namespace names are same.")] @@ -106,6 +106,33 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter EnableAutoInflate { get => _parametersBody.EnableAutoInflate ?? default(global::System.Management.Automation.SwitchParameter); set => _parametersBody.EnableAutoInflate = value; } + /// A list of regions where replicas of the namespace are maintained. + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A list of regions where replicas of the namespace are maintained.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A list of regions where replicas of the namespace are maintained.", + SerializedName = @"locations", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[] GeoDataReplicationLocation { get => _parametersBody.GeoDataReplicationLocation ?? null /* arrayOf */; set => _parametersBody.GeoDataReplicationLocation = value; } + + /// + /// The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + /// When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 + /// and 5 minutes to 1 day. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day.", + SerializedName = @"maxReplicationLagDurationInSeconds", + PossibleTypes = new [] { typeof(int) })] + public int GeoDataReplicationMaxReplicationLagDurationInSecond { get => _parametersBody.GeoDataReplicationMaxReplicationLagDurationInSecond ?? default(int); set => _parametersBody.GeoDataReplicationMaxReplicationLagDurationInSecond = value; } + /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] [global::System.Management.Automation.ValidateNotNull] @@ -165,8 +192,8 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana ReadOnly = false, Description = @"Properties of KeyVault", SerializedName = @"keyVaultProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] KeyVaultProperty { get => _parametersBody.KeyVaultProperty ?? null /* arrayOf */; set => _parametersBody.KeyVaultProperty = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] KeyVaultProperty { get => _parametersBody.KeyVaultProperty ?? null /* arrayOf */; set => _parametersBody.KeyVaultProperty = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -250,8 +277,8 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana ReadOnly = false, Description = @"List of private endpoint connections.", SerializedName = @"privateEndpointConnections", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => _parametersBody.PrivateEndpointConnection ?? null /* arrayOf */; set => _parametersBody.PrivateEndpointConnection = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[] PrivateEndpointConnection { get => _parametersBody.PrivateEndpointConnection ?? null /* arrayOf */; set => _parametersBody.PrivateEndpointConnection = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -388,8 +415,8 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana ReadOnly = false, Description = @"Properties for User Assigned Identities", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => _parametersBody.UserAssignedIdentity ?? null /* object */; set => _parametersBody.UserAssignedIdentity = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities UserAssignedIdentity { get => _parametersBody.UserAssignedIdentity ?? null /* object */; set => _parametersBody.UserAssignedIdentity = value; } /// /// Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones. @@ -421,12 +448,12 @@ public partial class NewAzEventHubNamespace_CreateExpanded : global::System.Mana /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -696,12 +723,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -713,7 +740,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateViaIdentity.cs index 77399cd248c7..50ed7cc40f49 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNamespace_CreateViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNamespace_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNamespace_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -99,7 +99,7 @@ public partial class NewAzEventHubNamespace_CreateViaIdentity : global::System.M public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace _parameter; /// Single Namespace item in List or Get Operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single Namespace item in List or Get Operation", ValueFromPipeline = true)] @@ -108,8 +108,8 @@ public partial class NewAzEventHubNamespace_CreateViaIdentity : global::System.M ReadOnly = false, Description = @"Single Namespace item in List or Get Operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -149,12 +149,12 @@ public partial class NewAzEventHubNamespace_CreateViaIdentity : global::System.M /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -441,12 +441,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +458,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateExpanded.cs index 863f6d3c12cc..a97008bb8c92 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNetworkRuleSet_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Create or update NetworkRuleSet for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNetworkRuleSet_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class NewAzEventHubNetworkRuleSet_CreateExpanded : global::System private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Description of topic resource. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.NetworkRuleSet(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NetworkRuleSet(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -88,8 +88,8 @@ public partial class NewAzEventHubNetworkRuleSet_CreateExpanded : global::System ReadOnly = false, Description = @"List of IpRules", SerializedName = @"ipRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] IPRule { get => _parametersBody.IPRule ?? null /* arrayOf */; set => _parametersBody.IPRule = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] IPRule { get => _parametersBody.IPRule ?? null /* arrayOf */; set => _parametersBody.IPRule = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -207,8 +207,8 @@ public partial class NewAzEventHubNetworkRuleSet_CreateExpanded : global::System ReadOnly = false, Description = @"List VirtualNetwork Rules", SerializedName = @"virtualNetworkRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => _parametersBody.VirtualNetworkRule ?? null /* arrayOf */; set => _parametersBody.VirtualNetworkRule = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] VirtualNetworkRule { get => _parametersBody.VirtualNetworkRule ?? null /* arrayOf */; set => _parametersBody.VirtualNetworkRule = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -227,12 +227,12 @@ public partial class NewAzEventHubNetworkRuleSet_CreateExpanded : global::System /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -448,12 +448,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -465,7 +465,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateViaIdentity.cs index 68e6fc0c99ca..c41a2b734889 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubNetworkRuleSet_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubNetworkRuleSet_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Create or update NetworkRuleSet for a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubNetworkRuleSet_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubNetworkRuleSet_CreateViaIdentity : global::Sys global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet _parameter; /// Description of topic resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Description of topic resource.", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubNetworkRuleSet_CreateViaIdentity : global::Sys ReadOnly = false, Description = @"Description of topic resource.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class NewAzEventHubNetworkRuleSet_CreateViaIdentity : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -375,12 +375,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -392,7 +392,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateExpanded.cs index 7b28bc1a37bb..5f7c6f90c835 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubPrivateEndpointConnection_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates PrivateEndpointConnections of service namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubPrivateEndpointConnection_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateExpanded : glo private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Properties of the PrivateEndpointConnection. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.PrivateEndpointConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.PrivateEndpointConnection(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -214,24 +214,24 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateExpanded : glo /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onAccepted method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -250,12 +250,12 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateExpanded : glo /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -429,12 +429,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 202 (Accepted). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -446,19 +446,19 @@ protected override void StopProcessing() return ; } // onAccepted - response for 202 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +470,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } @@ -519,12 +519,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -536,7 +536,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateViaIdentity.cs index d0e08fa225dc..9d06b1d7c3d5 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubPrivateEndpointConnection_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubPrivateEndpointConnection_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates PrivateEndpointConnections of service namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubPrivateEndpointConnection_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateViaIdentity : global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection _parameter; /// Properties of the PrivateEndpointConnection. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Properties of the PrivateEndpointConnection.", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateViaIdentity : ReadOnly = false, Description = @"Properties of the PrivateEndpointConnection.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -122,24 +122,24 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateViaIdentity : /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onAccepted method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -158,12 +158,12 @@ public partial class NewAzEventHubPrivateEndpointConnection_CreateViaIdentity : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -361,12 +361,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 202 (Accepted). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onAccepted(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -378,19 +378,19 @@ protected override void StopProcessing() return ; } // onAccepted - response for 202 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -402,7 +402,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } @@ -451,12 +451,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -468,7 +468,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateExpanded.cs index 754cb5d44f94..3a65cecf2d03 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubSchemaGroup_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or Updates an EventHub schema group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubSchemaGroup_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -34,7 +34,7 @@ public partial class NewAzEventHubSchemaGroup_CreateExpanded : global::System.Ma private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in List or Get Schema Group operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.SchemaGroup(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.SchemaGroup(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -63,8 +63,8 @@ public partial class NewAzEventHubSchemaGroup_CreateExpanded : global::System.Ma ReadOnly = false, Description = @"dictionary object for SchemaGroup group properties", SerializedName = @"groupProperties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroupProperties GroupProperty { get => _parametersBody.GroupProperty ?? null /* object */; set => _parametersBody.GroupProperty = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroupProperties GroupProperty { get => _parametersBody.GroupProperty ?? null /* object */; set => _parametersBody.GroupProperty = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -215,12 +215,12 @@ public partial class NewAzEventHubSchemaGroup_CreateExpanded : global::System.Ma /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -436,12 +436,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -453,7 +453,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateViaIdentity.cs index 92ec5f554135..f58734472c25 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHubSchemaGroup_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHubSchemaGroup_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or Updates an EventHub schema group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHubSchemaGroup_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHubSchemaGroup_CreateViaIdentity : global::System global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup _parameter; /// Single item in List or Get Schema Group operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in List or Get Schema Group operation", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHubSchemaGroup_CreateViaIdentity : global::System ReadOnly = false, Description = @"Single item in List or Get Schema Group operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class NewAzEventHubSchemaGroup_CreateViaIdentity : global::System /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -379,12 +379,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +396,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateExpanded.cs index c89c3b4784c0..7f60cd525a84 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHub_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a new Event Hub as a nested resource within a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHub_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -34,7 +34,7 @@ public partial class NewAzEventHub_CreateExpanded : global::System.Management.Au private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Single item in List or Get Event Hub operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.Eventhub(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.Eventhub(); /// /// Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. @@ -176,6 +176,18 @@ public partial class NewAzEventHub_CreateExpanded : global::System.Management.Au [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Runtime)] public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + /// Type of Azure Active Directory Managed Identity. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of Azure Active Directory Managed Identity.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Type of Azure Active Directory Managed Identity.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType))] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType IdentityType { get => _parametersBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType)""); set => _parametersBody.IdentityType = value; } + /// /// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between /// 60 to 900 seconds @@ -294,14 +306,14 @@ public partial class NewAzEventHub_CreateExpanded : global::System.Management.Au /// /// Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy - /// is Compaction the returned value of this property is Long.MaxValue + /// is Compact the returned value of this property is Long.MaxValue /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue ")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue ", + Description = @"Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ", SerializedName = @"retentionTimeInHours", PossibleTypes = new [] { typeof(long) })] public long RetentionTimeInHour { get => _parametersBody.RetentionTimeInHour ?? default(long); set => _parametersBody.RetentionTimeInHour = value; } @@ -377,20 +389,34 @@ public partial class NewAzEventHub_CreateExpanded : global::System.Management.Au /// /// Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is - /// Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins - /// from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within - /// the compacted Event Hub + /// Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from + /// starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the + /// compacted Event Hub /// - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", + Description = @"Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub", SerializedName = @"tombstoneRetentionTimeInHours", PossibleTypes = new [] { typeof(int) })] public int TombstoneRetentionTimeInHour { get => _parametersBody.TombstoneRetentionTimeInHour ?? default(int); set => _parametersBody.TombstoneRetentionTimeInHour = value; } + /// + /// ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, + /// then the System Assigned Identity Associated with the namespace will be used. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category(global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.", + SerializedName = @"userAssignedIdentity", + PossibleTypes = new [] { typeof(string) })] + public string UserAssignedIdentityId { get => _parametersBody.UserAssignedIdentityId ?? null; set => _parametersBody.UserAssignedIdentityId = value; } + /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior @@ -408,12 +434,12 @@ public partial class NewAzEventHub_CreateExpanded : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -629,12 +655,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -646,7 +672,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateViaIdentity.cs index 8c54fe22c6b8..1fa0f7e968de 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/NewAzEventHub_CreateViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzEventHub_CreateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Creates or updates a new Event Hub as a nested resource within a Namespace.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class NewAzEventHub_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class NewAzEventHub_CreateViaIdentity : global::System.Management global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub _parameter; /// Single item in List or Get Event Hub operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Single item in List or Get Event Hub operation", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class NewAzEventHub_CreateViaIdentity : global::System.Management ReadOnly = false, Description = @"Single item in List or Get Event Hub operation", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class NewAzEventHub_CreateViaIdentity : global::System.Management /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -379,12 +379,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +396,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_Check.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_Check.cs index 7b226827a3a9..b4ffcf2696e4 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_Check.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_Check.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubDisasterRecoveryConfigNameAvailability_Check", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_Check : global::System.Management.Automation.PSCmdlet, @@ -90,7 +90,7 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_Check public string NamespaceName { get => this._namespaceName; set => this._namespaceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parameter; /// Parameter supplied to check Namespace name availability operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Parameter supplied to check Namespace name availability operation ", ValueFromPipeline = true)] @@ -99,8 +99,8 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_Check ReadOnly = false, Description = @"Parameter supplied to check Namespace name availability operation ", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -175,12 +175,12 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_Check /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -396,12 +396,12 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_Check() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -413,7 +413,7 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_Check() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded.cs index f17c511db662..48b35fca2f0c 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckE private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Parameter supplied to check Namespace name availability operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityParameter(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityParameter(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -176,12 +176,12 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckE /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -398,12 +398,12 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -415,7 +415,7 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity.cs index 4beb5f7bc6df..f4357a3d6f67 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckV global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parameter; /// Parameter supplied to check Namespace name availability operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Parameter supplied to check Namespace name availability operation ", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckV ReadOnly = false, Description = @"Parameter supplied to check Namespace name availability operation ", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckV /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -376,12 +376,12 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -393,7 +393,7 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded.cs index 1e41b782a23b..cfc44002ea1f 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckV private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Parameter supplied to check Namespace name availability operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityParameter(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityParameter(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -135,12 +135,12 @@ public partial class TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckV /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -377,12 +377,12 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpa /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -394,7 +394,7 @@ public TestAzEventHubDisasterRecoveryConfigNameAvailability_CheckViaIdentityExpa return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_Check.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_Check.cs index 2148140b4ca6..99b9e11dfd84 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_Check.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_Check.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubNamespaceNameAvailability_Check", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubNamespaceNameAvailability_Check : global::System.Management.Automation.PSCmdlet, @@ -76,7 +76,7 @@ public partial class TestAzEventHubNamespaceNameAvailability_Check : global::Sys global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parameter; /// Parameter supplied to check Namespace name availability operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Parameter supplied to check Namespace name availability operation ", ValueFromPipeline = true)] @@ -85,8 +85,8 @@ public partial class TestAzEventHubNamespaceNameAvailability_Check : global::Sys ReadOnly = false, Description = @"Parameter supplied to check Namespace name availability operation ", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -147,12 +147,12 @@ public partial class TestAzEventHubNamespaceNameAvailability_Check : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -368,12 +368,12 @@ public TestAzEventHubNamespaceNameAvailability_Check() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -385,7 +385,7 @@ public TestAzEventHubNamespaceNameAvailability_Check() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckExpanded.cs index 4cfbc438922c..1414974cd84e 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubNamespaceNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubNamespaceNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckExpanded : glo private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Parameter supplied to check Namespace name availability operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityParameter(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityParameter(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -148,12 +148,12 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckExpanded : glo /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -369,12 +369,12 @@ public TestAzEventHubNamespaceNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -386,7 +386,7 @@ public TestAzEventHubNamespaceNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentity.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentity.cs index 7f72f25cfb5c..76d4564d0d60 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentity.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentity.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubNamespaceNameAvailability_CheckViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -84,7 +84,7 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentity : global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parameter; /// Parameter supplied to check Namespace name availability operation [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Parameter supplied to check Namespace name availability operation ", ValueFromPipeline = true)] @@ -93,8 +93,8 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentity : ReadOnly = false, Description = @"Parameter supplied to check Namespace name availability operation ", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter) })] - public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter) })] + public Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -134,12 +134,12 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentity : /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -367,12 +367,12 @@ public TestAzEventHubNamespaceNameAvailability_CheckViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -384,7 +384,7 @@ public TestAzEventHubNamespaceNameAvailability_CheckViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded.cs b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded.cs index ca95a79f06e3..647364c0a3d0 100644 --- a/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/EventHub/EventHub.Autorest/generated/cmdlets/TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EventHub.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Description(@"Check the give Namespace name availability.")] [global::Microsoft.Azure.PowerShell.Cmdlets.EventHub.Generated] public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -35,7 +35,7 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExp private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Parameter supplied to check Namespace name availability operation - private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.CheckNameAvailabilityParameter(); + private Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.CheckNameAvailabilityParameter(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -135,12 +135,12 @@ public partial class TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExp /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -369,12 +369,12 @@ public TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -386,7 +386,7 @@ public TestAzEventHubNamespaceNameAvailability_CheckViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult WriteObject((await response)); } } diff --git a/src/EventHub/EventHub.Autorest/generated/runtime/MessageAttribute.cs b/src/EventHub/EventHub.Autorest/generated/runtime/MessageAttribute.cs index d194b9241b13..6804f0a02cf5 100644 --- a/src/EventHub/EventHub.Autorest/generated/runtime/MessageAttribute.cs +++ b/src/EventHub/EventHub.Autorest/generated/runtime/MessageAttribute.cs @@ -21,7 +21,7 @@ public class GenericBreakingChangeAttribute : Attribute //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } - public bool DeprecateByVersionSet { get; } = false; + public string DeprecateByAzVersion { get; } //The date on which the change comes in effect public DateTime ChangeInEfectByDate { get; } @@ -32,23 +32,18 @@ public class GenericBreakingChangeAttribute : Attribute //New way fo calling the cmdlet public string NewWay { get; set; } - public GenericBreakingChangeAttribute(string message) - { - _message = message; - } - - public GenericBreakingChangeAttribute(string message, string deprecateByVersion) + public GenericBreakingChangeAttribute(string message, string deprecateByAzVersion, string deprecateByVersion) { _message = message; + this.DeprecateByAzVersion = deprecateByAzVersion; this.DeprecateByVersion = deprecateByVersion; - this.DeprecateByVersionSet = true; } - public GenericBreakingChangeAttribute(string message, string deprecateByVersion, string changeInEfectByDate) + public GenericBreakingChangeAttribute(string message, string deprecateByAzVersion, string deprecateByVersion, string changeInEfectByDate) { _message = message; this.DeprecateByVersion = deprecateByVersion; - this.DeprecateByVersionSet = true; + this.DeprecateByAzVersion = deprecateByAzVersion; if (DateTime.TryParse(changeInEfectByDate, new CultureInfo("en-US"), DateTimeStyles.None, out DateTime result)) { @@ -86,10 +81,8 @@ public void PrintCustomAttributeInfo(Action writeOutput) writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByDateMessage, this.ChangeInEfectByDate.ToString("d"))); } - if (DeprecateByVersionSet) - { - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); - } + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -114,18 +107,13 @@ public class CmdletBreakingChangeAttribute : GenericBreakingChangeAttribute public string ReplacementCmdletName { get; set; } - public CmdletBreakingChangeAttribute() : - base(string.Empty) + public CmdletBreakingChangeAttribute(string deprecateByAzVersion, string deprecateByVersion) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion) { } - public CmdletBreakingChangeAttribute(string deprecateByVersione) : - base(string.Empty, deprecateByVersione) - { - } - - public CmdletBreakingChangeAttribute(string deprecateByVersion, string changeInEfectByDate) : - base(string.Empty, deprecateByVersion, changeInEfectByDate) + public CmdletBreakingChangeAttribute(string deprecateByAzVersion, string deprecateByVersion, string changeInEfectByDate) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion, changeInEfectByDate) { } @@ -146,20 +134,15 @@ protected override string GetAttributeSpecificMessage() public class ParameterSetBreakingChangeAttribute : GenericBreakingChangeAttribute { public string[] ChangedParameterSet { set; get; } - public ParameterSetBreakingChangeAttribute(string[] changedParameterSet) : - base(string.Empty) - { - ChangedParameterSet = changedParameterSet; - } - public ParameterSetBreakingChangeAttribute(string[] changedParameterSet, string deprecateByVersione) : - base(string.Empty, deprecateByVersione) + public ParameterSetBreakingChangeAttribute(string[] changedParameterSet, string deprecateByAzVersion, string deprecateByVersion) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion) { ChangedParameterSet = changedParameterSet; } - public ParameterSetBreakingChangeAttribute(string[] changedParameterSet, string deprecateByVersion, string changeInEfectByDate) : - base(string.Empty, deprecateByVersion, changeInEfectByDate) + public ParameterSetBreakingChangeAttribute(string[] changedParameterSet, string deprecateByAzVersion, string deprecateByVersion, string changeInEfectByDate) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion, changeInEfectByDate) { ChangedParameterSet = changedParameterSet; } @@ -219,20 +202,14 @@ public class ParameterBreakingChangeAttribute : GenericBreakingChangeAttribute public String NewParameterType { get; set; } - public ParameterBreakingChangeAttribute(string nameOfParameterChanging) : - base(string.Empty) - { - this.NameOfParameterChanging = nameOfParameterChanging; - } - - public ParameterBreakingChangeAttribute(string nameOfParameterChanging, string deprecateByVersion) : - base(string.Empty, deprecateByVersion) + public ParameterBreakingChangeAttribute(string nameOfParameterChanging, string deprecateByAzVersion, string deprecateByVersion) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion) { this.NameOfParameterChanging = nameOfParameterChanging; } - public ParameterBreakingChangeAttribute(string nameOfParameterChanging, string deprecateByVersion, string changeInEfectByDate) : - base(string.Empty, deprecateByVersion, changeInEfectByDate) + public ParameterBreakingChangeAttribute(string nameOfParameterChanging, string deprecateByAzVersion, string deprecateByVersion, string changeInEfectByDate) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion, changeInEfectByDate) { this.NameOfParameterChanging = nameOfParameterChanging; } @@ -298,20 +275,14 @@ public class OutputBreakingChangeAttribute : GenericBreakingChangeAttribute public string[] NewOutputProperties { get; set; } - public OutputBreakingChangeAttribute(string deprecatedCmdletOutputType) : - base(string.Empty) - { - this.DeprecatedCmdLetOutputType = deprecatedCmdletOutputType; - } - - public OutputBreakingChangeAttribute(string deprecatedCmdletOutputType, string deprecateByVersion) : - base(string.Empty, deprecateByVersion) + public OutputBreakingChangeAttribute(string deprecatedCmdletOutputType, string deprecateByAzVersion, string deprecateByVersion) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion) { this.DeprecatedCmdLetOutputType = deprecatedCmdletOutputType; } - public OutputBreakingChangeAttribute(string deprecatedCmdletOutputType, string deprecateByVersion, string changeInEfectByDate) : - base(string.Empty, deprecateByVersion, changeInEfectByDate) + public OutputBreakingChangeAttribute(string deprecatedCmdletOutputType, string deprecateByAzVersion, string deprecateByVersion, string changeInEfectByDate) : + base(string.Empty, deprecateByAzVersion, deprecateByVersion, changeInEfectByDate) { this.DeprecatedCmdLetOutputType = deprecatedCmdletOutputType; } diff --git a/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.Designer.cs b/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.Designer.cs index 304b3803bded..987b520a06d8 100644 --- a/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.Designer.cs +++ b/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.Designer.cs @@ -734,7 +734,7 @@ public static string BreakingChangesAttributesInEffectByDateMessage } /// - /// Looks up a localized string similar to Note :The change is expected to take effect from the version : '{0}' + /// Looks up a localized string similar to Note :The change is expected to take effect from version : '{0}' /// ///. /// @@ -746,6 +746,19 @@ public static string BreakingChangesAttributesInEffectByVersion } } + /// + /// Looks up a localized string similar to Note :The change is expected to take effect from az version : '{0}' + /// + ///. + /// + public static string BreakingChangesAttributesInEffectByAzVersion + { + get + { + return ResourceManager.GetString("BreakingChangesAttributesInEffectByAzVersion", resourceCulture); + } + } + /// /// Looks up a localized string similar to ```powershell ///# Old @@ -5630,4 +5643,4 @@ public static string YesHint } } } -} +} \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.resx b/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.resx index 598cd53e958a..613700a3a418 100644 --- a/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.resx +++ b/src/EventHub/EventHub.Autorest/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from the version : '{0}' +- The change is expected to take effect from version : '{0}' ```powershell @@ -1738,4 +1738,7 @@ Note : Go to {0} for steps to suppress this breaking change warning, and other i This cmdlet is in preview. The functionality may not be available in the selected subscription. + + - The change is expected to take effect from Az version : '{0}' + \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubAuthorizationRule.ps1 index 515b12a595bf..d129c1b97618 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubauthorizationrule #> function Get-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigAuthorizationRule.ps1 index 68240daf9944..4b38e6679fc1 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Gets an AuthorizationRule for a Namespace by rule name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubdisasterrecoveryconfigauthorizationrule #> function Get-AzEventHubDisasterRecoveryConfigAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigKey.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigKey.ps1 index 3227967ae86d..d09c94e3ca3a 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigKey.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubDisasterRecoveryConfigKey.ps1 @@ -25,12 +25,12 @@ Gets the primary and secondary connection strings for the Namespace. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubdisasterrecoveryconfigkey #> function Get-AzEventHubDisasterRecoveryConfigKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubKey.ps1 index 4ffa2ff03158..efb81487196a 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubKey.ps1 @@ -25,12 +25,12 @@ Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name RootManageSharedAccessKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubkey #> function Get-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceAuthorizationRule.ps1 index 5243c56bbc10..e99fb669bac9 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceAuthorizationRule.ps1 @@ -27,7 +27,7 @@ Gets an AuthorizationRule for a Namespace by rule name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespaceauthorizationrule #> function Get-AzEventHubNamespaceAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceKey.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceKey.ps1 index 7deea573ae33..4772ea22bbe2 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceKey.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubNamespaceKey.ps1 @@ -25,12 +25,12 @@ Gets the primary and secondary connection strings for the Namespace. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespacekey #> function Get-AzEventHubNamespaceKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubOperation.ps1 b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubOperation.ps1 index d463cf2979b7..0490789bd223 100644 --- a/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubOperation.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Get-AzEventHubOperation.ps1 @@ -25,12 +25,12 @@ Lists all of the available Event Hub REST API operations. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhuboperation #> function Get-AzEventHubOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHub.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHub.ps1 index 9abefc9b6965..76fe6c66b6ab 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHub.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHub.ps1 @@ -27,11 +27,11 @@ New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace -CleanupPolicy Compact .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -62,10 +62,11 @@ PARAMETER : Single item in List or Get Event Hub operation [DataLakeSubscriptionId ]: Subscription Id of Azure Data Lake Store [DestinationName ]: Name for capture destination [Encoding ]: Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version + [IdentityType ]: Type of Azure Active Directory Managed Identity. [IntervalInSeconds ]: The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds [MessageRetentionInDay ]: Number of days to retain the events for this Event Hub, value should be 1 to 7 days [PartitionCount ]: Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. - [RetentionTimeInHour ]: Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue + [RetentionTimeInHour ]: Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue [SizeLimitInBytes ]: The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes [SkipEmptyArchive ]: A value that indicates whether to Skip Empty Archives [Status ]: Enumerates the possible values for the status of the Event Hub. @@ -76,12 +77,13 @@ PARAMETER : Single item in List or Get Event Hub operation [SystemDataLastModifiedAt ]: The type of identity that last modified the resource. [SystemDataLastModifiedBy ]: The identity that last modified the resource. [SystemDataLastModifiedByType ]: The type of identity that last modified the resource. - [TombstoneRetentionTimeInHour ]: Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub + [TombstoneRetentionTimeInHour ]: Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub + [UserAssignedIdentityId ]: ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhub #> function New-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -93,7 +95,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub] # Single item in List or Get Event Hub operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubApplicationGroup.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubApplicationGroup.ps1 index 583fd69c242e..d4ac90668344 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubApplicationGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubApplicationGroup.ps1 @@ -25,11 +25,11 @@ $t2 = New-AzEventHubThrottlingPolicyConfig -Name t2 -MetricId OutgoingBytes -Rat New-AzEventHubApplicationGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -Name myAppGroup -ClientAppGroupIdentifier NamespaceSASKeyName=a -Policy $t1,$t2 .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -65,7 +65,7 @@ PARAMETER : The Application Group object https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubapplicationgroup #> function New-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -77,7 +77,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup] # The Application Group object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubAuthorizationRule.ps1 index f9989b45ba46..cd0342c0b162 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubAuthorizationRule.ps1 @@ -27,11 +27,11 @@ New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name myAuthRule -Rights @('Manage', 'Send', 'Listen') .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -64,7 +64,7 @@ PARAMETER : Single item in a List or Get AuthorizationRule o https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubauthorizationrule #> function New-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -116,7 +116,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule] # Single item in a List or Get AuthorizationRule operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubCluster.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubCluster.ps1 index 5b1dcc0357d5..2b24f971c9d4 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubCluster.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubCluster.ps1 @@ -25,11 +25,11 @@ New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluste New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -66,7 +66,7 @@ PARAMETER : Single Event Hubs Cluster resource in List or Get operatio https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubcluster #> function New-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -78,7 +78,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster] # Single Event Hubs Cluster resource in List or Get operations. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubConsumerGroup.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubConsumerGroup.ps1 index 3c01569111a2..de7a087e9b9e 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubConsumerGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubConsumerGroup.ps1 @@ -23,11 +23,11 @@ Creates or updates an Event Hubs consumer group as a nested resource within a Na New-AzEventHubConsumerGroup -Name myConsumerGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -EventHubName myEventHub -UserMetadata "Test ConsumerGroup" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -60,7 +60,7 @@ PARAMETER : Single item in List or Get Consumer group operation https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubconsumergroup #> function New-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -72,7 +72,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup] # Single item in List or Get Consumer group operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubGeoDRConfiguration.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubGeoDRConfiguration.ps1 index 1c9e5c5a5128..f99cd6f9075d 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubGeoDRConfiguration.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubGeoDRConfiguration.ps1 @@ -23,11 +23,11 @@ Creates or updates a new Alias(Disaster Recovery configuration) New-AzEventHubGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/mySecondaryNamespace .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Notes COMPLEX PARAMETER PROPERTIES @@ -61,7 +61,7 @@ PARAMETER : Single item in List or Get Alias(Disaster Reco https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubgeodrconfiguration #> function New-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -73,7 +73,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery] # Single item in List or Get Alias(Disaster Recovery configuration) operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubKey.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubKey.ps1 index b07716777bbf..794371e0356e 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubKey.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubKey.ps1 @@ -25,9 +25,9 @@ New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name rootmanagesharedaccesskey -KeyType SecondaryKey .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ PARAMETER : Parameters supplied to the Regenerat https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubkey #> function New-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='Regenerate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -77,7 +77,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters] # Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespace.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespace.ps1 index ee665ba571f8..099fdcf3d8eb 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespace.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespace.ps1 @@ -34,16 +34,21 @@ New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -Sk New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -SkuCapacity 10 -MaximumThroughputUnit 18 -SkuName Standard -Location southcentralus -Tag @{k1='v1'; k2='v2'} -EnableAutoInflate -DisableLocalAuth .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. +GEODATAREPLICATIONLOCATION : A list of regions where replicas of the namespace are maintained. + [ClusterArmId ]: Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster + [LocationName ]: Azure regions where a replica of the namespace is maintained + [RoleType ]: GeoDR Role Types + INPUTOBJECT : Identity Parameter [Alias ]: The Disaster Recovery configuration name [ApplicationGroupName ]: The Application Group name @@ -73,6 +78,11 @@ PARAMETER : Single Namespace item in List or Get Operation [ClusterArmId ]: Cluster ARM ID of the Namespace. [DisableLocalAuth ]: This property disables SAS authentication for the Event Hubs namespace. [EnableAutoInflate ]: Value that indicates whether AutoInflate is enabled for eventhub namespace. + [GeoDataReplicationLocation ]: A list of regions where replicas of the namespace are maintained. + [ClusterArmId ]: Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster + [LocationName ]: Azure regions where a replica of the namespace is maintained + [RoleType ]: GeoDR Role Types + [GeoDataReplicationMaxReplicationLagDurationInSecond ]: The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day. [IdentityType ]: Type of managed service identity. [KafkaEnabled ]: Value that indicates whether Kafka is enabled for eventhub namespace. [KeySource ]: Enumerates the possible value of keySource for Encryption @@ -124,7 +134,7 @@ PRIVATEENDPOINTCONNECTION : List of private endpoi https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespace #> function New-AzEventHubNamespace { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -179,6 +189,22 @@ param( # Value that indicates whether AutoInflate is enabled for eventhub namespace. ${EnableAutoInflate}, + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]] + # A list of regions where replicas of the namespace are maintained. + # To construct, see NOTES section for GEODATAREPLICATIONLOCATION properties and create a hash table. + ${GeoDataReplicationLocation}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.Int32] + # The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + # When the lag exceeds the configured amount, operations on the primary replica will be failed. + # The allowed values are 0 and 5 minutes to 1 day. + ${GeoDataReplicationMaxReplicationLagDurationInSecond}, + [Parameter(ParameterSetName='CreateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType])] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] @@ -202,7 +228,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties of KeyVault # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, @@ -231,7 +257,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]] # List of private endpoint connections. # To construct, see NOTES section for PRIVATEENDPOINTCONNECTION properties and create a hash table. ${PrivateEndpointConnection}, @@ -280,7 +306,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities]))] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities]))] [System.Collections.Hashtable] # Properties for User Assigned Identities ${UserAssignedIdentity}, @@ -293,7 +319,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace] # Single Namespace item in List or Get Operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceAuthorizationRule.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceAuthorizationRule.ps1 index dac08454238a..13add15abc98 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceAuthorizationRule.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceAuthorizationRule.ps1 @@ -25,11 +25,11 @@ Creates or updates an AuthorizationRule for a Namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -62,7 +62,7 @@ PARAMETER : Single item in a List or Get AuthorizationRule o https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespaceauthorizationrule #> function New-AzEventHubNamespaceAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -108,7 +108,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule] # Single item in a List or Get AuthorizationRule operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceKey.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceKey.ps1 index 31ce6d88325e..36f09f8a2997 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceKey.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNamespaceKey.ps1 @@ -25,9 +25,9 @@ Regenerates the primary or secondary connection strings for the specified Namesp {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ PARAMETER : Parameters supplied to the Regenerat https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespacekey #> function New-AzEventHubNamespaceKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='Regenerate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -71,7 +71,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters] # Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNetworkRuleSet.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNetworkRuleSet.ps1 index 784619ddff37..e90ee4cb9641 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNetworkRuleSet.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubNetworkRuleSet.ps1 @@ -25,11 +25,11 @@ Create or update NetworkRuleSet for a Namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Notes COMPLEX PARAMETER PROPERTIES @@ -78,7 +78,7 @@ VIRTUALNETWORKRULE : List VirtualNetwork Rules https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnetworkruleset #> function New-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -118,7 +118,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]] # List of IpRules # To construct, see NOTES section for IPRULE properties and create a hash table. ${IPRule}, @@ -141,14 +141,14 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]] # List VirtualNetwork Rules # To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ${VirtualNetworkRule}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet] # Description of topic resource. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubPrivateEndpointConnection.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubPrivateEndpointConnection.ps1 index f756f7dc15ab..50d7c68ef54c 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubPrivateEndpointConnection.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubPrivateEndpointConnection.ps1 @@ -25,11 +25,11 @@ Creates or updates PrivateEndpointConnections of service namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -65,7 +65,7 @@ PARAMETER : Properties of the PrivateEndpointConnect https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubprivateendpointconnection #> function New-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -130,7 +130,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection] # Properties of the PrivateEndpointConnection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubSchemaGroup.ps1 b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubSchemaGroup.ps1 index 70a5e8058e1f..8577a8d5cdb1 100644 --- a/src/EventHub/EventHub.Autorest/internal/New-AzEventHubSchemaGroup.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/New-AzEventHubSchemaGroup.ps1 @@ -23,11 +23,11 @@ Creates or Updates an EventHub schema group. $schemaGroup = New-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name mySchemaGroup -SchemaCompatibility Backward -SchemaType Avro .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -63,7 +63,7 @@ PARAMETER : Single item in List or Get Schema Group operation https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubschemagroup #> function New-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -75,7 +75,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup] # Single item in List or Get Schema Group operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/EventHub/EventHub.Autorest/internal/ProxyCmdletDefinitions.ps1 index aa7bf9a397a4..f0627a4d39a5 100644 --- a/src/EventHub/EventHub.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -27,7 +27,7 @@ Get-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubauthorizationrule #> function Get-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -206,7 +206,7 @@ Gets an AuthorizationRule for a Namespace by rule name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -230,7 +230,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubdisasterrecoveryconfigauthorizationrule #> function Get-AzEventHubDisasterRecoveryConfigAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -383,12 +383,12 @@ Gets the primary and secondary connection strings for the Namespace. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubdisasterrecoveryconfigkey #> function Get-AzEventHubDisasterRecoveryConfigKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -528,12 +528,12 @@ Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace Get-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name RootManageSharedAccessKey .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubkey #> function Get-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -675,7 +675,7 @@ Gets an AuthorizationRule for a Namespace by rule name. .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -699,7 +699,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespaceauthorizationrule #> function Get-AzEventHubNamespaceAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -845,12 +845,12 @@ Gets the primary and secondary connection strings for the Namespace. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhubnamespacekey #> function Get-AzEventHubNamespaceKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -984,12 +984,12 @@ Lists all of the available Event Hub REST API operations. {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation .Link https://learn.microsoft.com/powershell/module/az.eventhub/get-azeventhuboperation #> function Get-AzEventHubOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IOperation])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -1442,11 +1442,11 @@ $t2 = New-AzEventHubThrottlingPolicyConfig -Name t2 -MetricId OutgoingBytes -Rat New-AzEventHubApplicationGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -Name myAppGroup -ClientAppGroupIdentifier NamespaceSASKeyName=a -Policy $t1,$t2 .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -1482,7 +1482,7 @@ PARAMETER : The Application Group object https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubapplicationgroup #> function New-AzEventHubApplicationGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -1494,7 +1494,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup] # The Application Group object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1603,11 +1603,11 @@ New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHubAuthorizationRule -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name myAuthRule -Rights @('Manage', 'Send', 'Listen') .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -1640,7 +1640,7 @@ PARAMETER : Single item in a List or Get AuthorizationRule o https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubauthorizationrule #> function New-AzEventHubAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -1692,7 +1692,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule] # Single item in a List or Get AuthorizationRule operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1803,11 +1803,11 @@ New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluste New-AzEventHubCluster -ResourceGroupName myResourceGroup -Name myEventHubsCluster -Location "eastasia" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster .Notes COMPLEX PARAMETER PROPERTIES @@ -1844,7 +1844,7 @@ PARAMETER : Single Event Hubs Cluster resource in List or Get operatio https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubcluster #> function New-AzEventHubCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -1856,7 +1856,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster] # Single Event Hubs Cluster resource in List or Get operations. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1973,11 +1973,11 @@ Creates or updates an Event Hubs consumer group as a nested resource within a Na New-AzEventHubConsumerGroup -Name myConsumerGroup -NamespaceName myNamespace -ResourceGroupName myResourceGroup -EventHubName myEventHub -UserMetadata "Test ConsumerGroup" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -2010,7 +2010,7 @@ PARAMETER : Single item in List or Get Consumer group operation https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubconsumergroup #> function New-AzEventHubConsumerGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -2022,7 +2022,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup] # Single item in List or Get Consumer group operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2127,11 +2127,11 @@ Creates or updates a new Alias(Disaster Recovery configuration) New-AzEventHubGeoDRConfiguration -Name myAlias -ResourceGroupName myResourceGroup -NamespaceName myPrimaryNamespace -PartnerNamespace /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/mySecondaryNamespace .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery .Notes COMPLEX PARAMETER PROPERTIES @@ -2165,7 +2165,7 @@ PARAMETER : Single item in List or Get Alias(Disaster Reco https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubgeodrconfiguration #> function New-AzEventHubGeoDRConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -2177,7 +2177,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery] # Single item in List or Get Alias(Disaster Recovery configuration) operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2284,9 +2284,9 @@ New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace New-AzEventHubKey -ResourceGroupName myResourceGroup -NamespaceName myNamespace -EventHubName myEventHub -Name rootmanagesharedaccesskey -KeyType SecondaryKey .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Notes COMPLEX PARAMETER PROPERTIES @@ -2299,7 +2299,7 @@ PARAMETER : Parameters supplied to the Regenerat https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubkey #> function New-AzEventHubKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='Regenerate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2336,7 +2336,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters] # Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2446,11 +2446,11 @@ Creates or updates an AuthorizationRule for a Namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule .Notes COMPLEX PARAMETER PROPERTIES @@ -2483,7 +2483,7 @@ PARAMETER : Single item in a List or Get AuthorizationRule o https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespaceauthorizationrule #> function New-AzEventHubNamespaceAuthorizationRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -2529,7 +2529,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule] # Single item in a List or Get AuthorizationRule operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2640,9 +2640,9 @@ Regenerates the primary or secondary connection strings for the specified Namesp {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys .Notes COMPLEX PARAMETER PROPERTIES @@ -2655,7 +2655,7 @@ PARAMETER : Parameters supplied to the Regenerat https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespacekey #> function New-AzEventHubNamespaceKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys])] [CmdletBinding(DefaultParameterSetName='Regenerate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2686,7 +2686,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IRegenerateAccessKeyParameters] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IRegenerateAccessKeyParameters] # Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2805,16 +2805,21 @@ New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -Sk New-AzEventHubNamespace -ResourceGroupName myResourceGroup -Name myNamespace -SkuCapacity 10 -MaximumThroughputUnit 18 -SkuName Standard -Location southcentralus -Tag @{k1='v1'; k2='v2'} -EnableAutoInflate -DisableLocalAuth .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. +GEODATAREPLICATIONLOCATION : A list of regions where replicas of the namespace are maintained. + [ClusterArmId ]: Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster + [LocationName ]: Azure regions where a replica of the namespace is maintained + [RoleType ]: GeoDR Role Types + INPUTOBJECT : Identity Parameter [Alias ]: The Disaster Recovery configuration name [ApplicationGroupName ]: The Application Group name @@ -2844,6 +2849,11 @@ PARAMETER : Single Namespace item in List or Get Operation [ClusterArmId ]: Cluster ARM ID of the Namespace. [DisableLocalAuth ]: This property disables SAS authentication for the Event Hubs namespace. [EnableAutoInflate ]: Value that indicates whether AutoInflate is enabled for eventhub namespace. + [GeoDataReplicationLocation ]: A list of regions where replicas of the namespace are maintained. + [ClusterArmId ]: Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster + [LocationName ]: Azure regions where a replica of the namespace is maintained + [RoleType ]: GeoDR Role Types + [GeoDataReplicationMaxReplicationLagDurationInSecond ]: The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day. [IdentityType ]: Type of managed service identity. [KafkaEnabled ]: Value that indicates whether Kafka is enabled for eventhub namespace. [KeySource ]: Enumerates the possible value of keySource for Encryption @@ -2895,7 +2905,7 @@ PRIVATEENDPOINTCONNECTION : List of private endpoi https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnamespace #> function New-AzEventHubNamespace { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -2950,6 +2960,22 @@ param( # Value that indicates whether AutoInflate is enabled for eventhub namespace. ${EnableAutoInflate}, + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation[]] + # A list of regions where replicas of the namespace are maintained. + # To construct, see NOTES section for GEODATAREPLICATIONLOCATION properties and create a hash table. + ${GeoDataReplicationLocation}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] + [System.Int32] + # The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. + # When the lag exceeds the configured amount, operations on the primary replica will be failed. + # The allowed values are 0 and 5 minutes to 1 day. + ${GeoDataReplicationMaxReplicationLagDurationInSecond}, + [Parameter(ParameterSetName='CreateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType])] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] @@ -2973,7 +2999,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[]] # Properties of KeyVault # To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ${KeyVaultProperty}, @@ -3002,7 +3028,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection[]] # List of private endpoint connections. # To construct, see NOTES section for PRIVATEENDPOINTCONNECTION properties and create a hash table. ${PrivateEndpointConnection}, @@ -3051,7 +3077,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IIdentityUserAssignedIdentities]))] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IIdentityUserAssignedIdentities]))] [System.Collections.Hashtable] # Properties for User Assigned Identities ${UserAssignedIdentity}, @@ -3064,7 +3090,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace] # Single Namespace item in List or Get Operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -3187,11 +3213,11 @@ Create or update NetworkRuleSet for a Namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet .Notes COMPLEX PARAMETER PROPERTIES @@ -3240,7 +3266,7 @@ VIRTUALNETWORKRULE : List VirtualNetwork Rules https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubnetworkruleset #> function New-AzEventHubNetworkRuleSet { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -3280,7 +3306,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[]] # List of IpRules # To construct, see NOTES section for IPRULE properties and create a hash table. ${IPRule}, @@ -3303,14 +3329,14 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[]] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[]] # List VirtualNetwork Rules # To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ${VirtualNetworkRule}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet] # Description of topic resource. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -3421,11 +3447,11 @@ Creates or updates PrivateEndpointConnections of service namespace. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection .Notes COMPLEX PARAMETER PROPERTIES @@ -3461,7 +3487,7 @@ PARAMETER : Properties of the PrivateEndpointConnect https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubprivateendpointconnection #> function New-AzEventHubPrivateEndpointConnection { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -3526,7 +3552,7 @@ param( [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection] # Properties of the PrivateEndpointConnection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -3635,11 +3661,11 @@ Creates or Updates an EventHub schema group. $schemaGroup = New-AzEventHubSchemaGroup -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name mySchemaGroup -SchemaCompatibility Backward -SchemaType Avro .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup .Notes COMPLEX PARAMETER PROPERTIES @@ -3675,7 +3701,7 @@ PARAMETER : Single item in List or Get Schema Group operation https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubschemagroup #> function New-AzEventHubSchemaGroup { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -3687,7 +3713,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup] # Single item in List or Get Schema Group operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -3796,11 +3822,11 @@ New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceNam New-AzEventHub -Name myEventHub -ResourceGroupName myResourceGroup -NamespaceName myNamespace -CleanupPolicy Compact .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub .Notes COMPLEX PARAMETER PROPERTIES @@ -3831,10 +3857,11 @@ PARAMETER : Single item in List or Get Event Hub operation [DataLakeSubscriptionId ]: Subscription Id of Azure Data Lake Store [DestinationName ]: Name for capture destination [Encoding ]: Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version + [IdentityType ]: Type of Azure Active Directory Managed Identity. [IntervalInSeconds ]: The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds [MessageRetentionInDay ]: Number of days to retain the events for this Event Hub, value should be 1 to 7 days [PartitionCount ]: Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. - [RetentionTimeInHour ]: Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue + [RetentionTimeInHour ]: Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue [SizeLimitInBytes ]: The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes [SkipEmptyArchive ]: A value that indicates whether to Skip Empty Archives [Status ]: Enumerates the possible values for the status of the Event Hub. @@ -3845,12 +3872,13 @@ PARAMETER : Single item in List or Get Event Hub operation [SystemDataLastModifiedAt ]: The type of identity that last modified the resource. [SystemDataLastModifiedBy ]: The identity that last modified the resource. [SystemDataLastModifiedByType ]: The type of identity that last modified the resource. - [TombstoneRetentionTimeInHour ]: Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub + [TombstoneRetentionTimeInHour ]: Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub + [UserAssignedIdentityId ]: ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. .Link https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhub #> function New-AzEventHub { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub])] [CmdletBinding(DefaultParameterSetName='CreateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -3862,7 +3890,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub] # Single item in List or Get Event Hub operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -4323,11 +4351,11 @@ Check the give Namespace name availability. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Notes COMPLEX PARAMETER PROPERTIES @@ -4354,7 +4382,7 @@ PARAMETER : Parameter supplied to check Namespa https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubdisasterrecoveryconfignameavailability #> function Test-AzEventHubDisasterRecoveryConfigNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Check', Mandatory)] @@ -4391,7 +4419,7 @@ param( [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter] # Parameter supplied to check Namespace name availability operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -4511,11 +4539,11 @@ Check the give Namespace name availability. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Notes COMPLEX PARAMETER PROPERTIES @@ -4542,7 +4570,7 @@ PARAMETER : Parameter supplied to check Namespa https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubnamespacenameavailability #> function Test-AzEventHubNamespaceNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Check')] @@ -4565,7 +4593,7 @@ param( [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter] # Parameter supplied to check Namespace name availability operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubDisasterRecoveryConfigNameAvailability.ps1 b/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubDisasterRecoveryConfigNameAvailability.ps1 index 0c3103f2ddbf..137c80bd35e3 100644 --- a/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubDisasterRecoveryConfigNameAvailability.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubDisasterRecoveryConfigNameAvailability.ps1 @@ -25,11 +25,11 @@ Check the give Namespace name availability. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ PARAMETER : Parameter supplied to check Namespa https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubdisasterrecoveryconfignameavailability #> function Test-AzEventHubDisasterRecoveryConfigNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Check', Mandatory)] @@ -93,7 +93,7 @@ param( [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter] # Parameter supplied to check Namespace name availability operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubNamespaceNameAvailability.ps1 b/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubNamespaceNameAvailability.ps1 index 00d37eb911ce..03b353060806 100644 --- a/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubNamespaceNameAvailability.ps1 +++ b/src/EventHub/EventHub.Autorest/internal/Test-AzEventHubNamespaceNameAvailability.ps1 @@ -25,11 +25,11 @@ Check the give Namespace name availability. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter .Inputs Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ PARAMETER : Parameter supplied to check Namespa https://learn.microsoft.com/powershell/module/az.eventhub/test-azeventhubnamespacenameavailability #> function Test-AzEventHubNamespaceNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Check')] @@ -79,7 +79,7 @@ param( [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityParameter] + [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityParameter] # Parameter supplied to check Namespace name availability operation # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/EventHub/EventHub.Autorest/test/Approve-AzEventHubPrivateEndpointConnection.Recording.json b/src/EventHub/EventHub.Autorest/test/Approve-AzEventHubPrivateEndpointConnection.Recording.json index 33bcacbe4def..575d3daa1d20 100644 --- a/src/EventHub/EventHub.Autorest/test/Approve-AzEventHubPrivateEndpointConnection.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Approve-AzEventHubPrivateEndpointConnection.Recording.json @@ -1,13 +1,13 @@ { - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview+1": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "a0654824-4e10-4e23-9805-5210a9cfd52e" ], + "x-ms-client-request-id": [ "bf116860-9e16-40d2-99fc-f40aa40a93c7" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7a721c6f-48c0-4588-abe0-22fdde7d82b0_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "90547d46-21ff-442f-a746-cc9bbb996eb0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054323Z:90547d46-21ff-442f-a746-cc9bbb996eb0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "79383b4a-cddc-4e73-a2f7-24a1e8b740c6" ], + "x-ms-correlation-request-id": [ "79383b4a-cddc-4e73-a2f7-24a1e8b740c6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172403Z:79383b4a-cddc-4e73-a2f7-24a1e8b740c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:23 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1415" ], + "Content-Length": [ "1413" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}]}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+1": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "cb484bd3-ce16-4765-b059-0c58df4b0f37" ], + "x-ms-client-request-id": [ "c1b1f1ae-3bc7-411c-8f88-91a851f86ef5" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,30 +63,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3f474a89-4533-40bd-b67f-e250160ce8d8_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "868ef8e3-055d-4605-984f-d785fe83bd95" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054324Z:868ef8e3-055d-4605-984f-d785fe83bd95" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-request-id": [ "0207babe-ebba-4ca0-b2ff-b6d40597faf7" ], + "x-ms-correlation-request-id": [ "0207babe-ebba-4ca0-b2ff-b6d40597faf7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172403Z:0207babe-ebba-4ca0-b2ff-b6d40597faf7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:23 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "701" ], + "Content-Length": [ "700" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+2": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Approved\",\n \"description\": \"\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Approved\",\n \"description\": \"\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -101,35 +99,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d184f49f-20ae-4e24-b235-cd9338490e16_M11SN1_M11SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview\u0026operationType=Update" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "79b5974b-ccf7-45dd-8f32-9696647d4771" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054324Z:79b5974b-ccf7-45dd-8f32-9696647d4771" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview\u0026operationType=Update" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "06a6d85b-98ae-4ef9-8987-9722e175ec4c" ], + "x-ms-correlation-request-id": [ "06a6d85b-98ae-4ef9-8987-9722e175ec4c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172404Z:06a6d85b-98ae-4ef9-8987-9722e175ec4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+3": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "baeb9acd-2c8c-46d2-bce0-bcd18beac632" ], + "x-ms-client-request-id": [ "692a6329-7a38-47c3-8b0c-278fe4ad74a8" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -144,34 +141,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4f57373e-d520-4677-8310-ef4245341a3d_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "51fb179a-b7f3-4550-b0be-73869fe24456" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054325Z:51fb179a-b7f3-4550-b0be-73869fe24456" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-request-id": [ "cbe8db2b-01b7-4eac-82c8-12f6b1eca4c5" ], + "x-ms-correlation-request-id": [ "cbe8db2b-01b7-4eac-82c8-12f6b1eca4c5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172404Z:cbe8db2b-01b7-4eac-82c8-12f6b1eca4c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+4": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "db7bbad6-9366-46f6-9825-29a363e6a962" ], + "x-ms-client-request-id": [ "89746d01-99f9-4457-894c-fe1957099e1a" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,34 +182,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c6659069-84b3-4891-89dd-e3d94054d833_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "c1d1d17d-92db-47c8-a5fa-e24c425e85c1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054335Z:c1d1d17d-92db-47c8-a5fa-e24c425e85c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-request-id": [ "1fbfd3fc-9e6e-4a6a-b1ff-2b5dcd740b9a" ], + "x-ms-correlation-request-id": [ "1fbfd3fc-9e6e-4a6a-b1ff-2b5dcd740b9a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172414Z:1fbfd3fc-9e6e-4a6a-b1ff-2b5dcd740b9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+5": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "b5b796c8-6570-4d93-96b5-64c6109b5ace" ], + "x-ms-client-request-id": [ "ab2d58f1-965d-44db-97eb-25f79e763d42" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -228,34 +223,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d72474b1-caeb-4b86-afdb-e1b5e04fb58d_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "5eb99e24-ce47-480d-8392-3466aa15cfc1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054345Z:5eb99e24-ce47-480d-8392-3466aa15cfc1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-request-id": [ "3fc7e093-e85a-47c8-ae71-4b400976ac6a" ], + "x-ms-correlation-request-id": [ "3fc7e093-e85a-47c8-ae71-4b400976ac6a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172425Z:3fc7e093-e85a-47c8-ae71-4b400976ac6a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+6": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "547923a8-7735-48b0-8226-797351d112e5" ], + "x-ms-client-request-id": [ "9fbffe32-d139-4f7f-8771-8b0468354aee" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -270,34 +264,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6903b007-f77e-4496-87d4-5c934181a0b9_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "30f2e5c0-c299-472c-bd33-aa8d7604d9d3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054355Z:30f2e5c0-c299-472c-bd33-aa8d7604d9d3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-request-id": [ "0244db48-d4ab-4abb-bc9a-2e56c08a2fd2" ], + "x-ms-correlation-request-id": [ "0244db48-d4ab-4abb-bc9a-2e56c08a2fd2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172435Z:0244db48-d4ab-4abb-bc9a-2e56c08a2fd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:43:55 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "696" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+7": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "a0241300-1175-4f79-ae40-64fbc0be9872" ], + "x-ms-client-request-id": [ "658dd906-00d2-46f0-b326-d8bde0ee7d9e" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -312,118 +305,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "80c2981d-8f73-4f41-9965-3c53ed9a7214_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "dc9b4978-4aef-48fd-ba82-747a770f994c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054406Z:dc9b4978-4aef-48fd-ba82-747a770f994c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "fa2e6696-62f1-41bd-91c8-a3da513228cd" ], + "x-ms-correlation-request-id": [ "fa2e6696-62f1-41bd-91c8-a3da513228cd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172447Z:fa2e6696-62f1-41bd-91c8-a3da513228cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "700" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+8": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "0a71b92f-1cb4-4a17-942a-53171dd961b3" ], - "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], - "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ea330c6c-4c3c-4c23-921b-f7e7a0e2784c_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "ac30c719-0142-41c4-b891-790a53069c01" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054416Z:ac30c719-0142-41c4-b891-790a53069c01" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "697" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", - "isContentBase64": false - } - }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "e5016db1-cd70-452e-89b6-c4c1453e57ba" ], - "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], - "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c7777c8a-62b6-40c3-b31f-c910933a0805_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "c9e7c205-1473-41e8-bb37-49f093f2cd81" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054426Z:c9e7c205-1473-41e8-bb37-49f093f2cd81" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:26 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "701" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", - "isContentBase64": false - } - }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "950fe135-b04b-444d-bcc8-1c54cf9ed2a3" ], + "x-ms-client-request-id": [ "290ea898-4dfe-43de-acda-e9adac341263" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -438,30 +346,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b0f673e5-9442-460a-aa8b-9951c8665e6a_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "869dab8f-c715-4466-a15d-ba5fd41c2b91" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054426Z:869dab8f-c715-4466-a15d-ba5fd41c2b91" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "c26e1c56-bb94-4994-bf3d-48fdd97cc87a" ], + "x-ms-correlation-request-id": [ "c26e1c56-bb94-4994-bf3d-48fdd97cc87a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172447Z:c26e1c56-bb94-4994-bf3d-48fdd97cc87a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "701" ], + "Content-Length": [ "700" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"Hello\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+3": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Approved\",\n \"description\": \"Bye\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Approved\",\n \"description\": \"Bye\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -475,35 +382,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cfa6529c-c517-4827-b4cd-43ee4c075044_M11SN1_M11SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview\u0026operationType=Update" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "626e7d02-b134-4291-b8fb-ada458cafa88" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054427Z:626e7d02-b134-4291-b8fb-ada458cafa88" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview\u0026operationType=Update" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "7083334c-3670-498c-8f28-e9d29ea34424" ], + "x-ms-correlation-request-id": [ "7083334c-3670-498c-8f28-e9d29ea34424" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172450Z:7083334c-3670-498c-8f28-e9d29ea34424" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:27 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+4": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "cef9d908-f8e8-4659-95dd-19360a27299e" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "93f7a6d9-6bd2-457f-b8b7-01baec6a40ff" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -518,34 +424,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cc3d8b94-92dd-4852-af55-bde3579bd69e_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "19992823-d4dd-4eb7-b11d-c6941242e6b6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054427Z:19992823-d4dd-4eb7-b11d-c6941242e6b6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-request-id": [ "6563afba-af10-4ca3-b649-987cb9fc3938" ], + "x-ms-correlation-request-id": [ "6563afba-af10-4ca3-b649-987cb9fc3938" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172450Z:6563afba-af10-4ca3-b649-987cb9fc3938" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:27 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:24:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+5": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "b1f2daa3-eefc-46d7-a099-878572be803e" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "f8754964-3d34-4359-98cc-aaa7fed7c0c1" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -560,34 +465,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d94ef233-ca3e-4a97-928e-b936895c48f5_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "b78ac2a0-87ec-432c-b512-dc6684f84651" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054438Z:b78ac2a0-87ec-432c-b512-dc6684f84651" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-request-id": [ "d3d071b3-3b86-4afd-a2a5-f3d338a14e99" ], + "x-ms-correlation-request-id": [ "d3d071b3-3b86-4afd-a2a5-f3d338a14e99" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172500Z:d3d071b3-3b86-4afd-a2a5-f3d338a14e99" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+6": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "606a1898-2757-4098-a97f-4cb10de852bc" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "7e3aec50-627c-4b73-8bb6-0f3f4b273923" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -602,34 +506,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "657b2066-c8d3-44a3-aba2-191a90f95a12_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "d7f2c0af-6e08-4235-a1ce-f1b0ad831e9f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054448Z:d7f2c0af-6e08-4235-a1ce-f1b0ad831e9f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-request-id": [ "17c77b7e-099d-4215-82f3-2733c076717b" ], + "x-ms-correlation-request-id": [ "17c77b7e-099d-4215-82f3-2733c076717b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172511Z:17c77b7e-099d-4215-82f3-2733c076717b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+7": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "2ba9bbe5-ba74-4433-a76d-c32a119fcb7e" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "79fd25eb-7402-48f7-9f1e-3f5fb686b01c" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -644,34 +547,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "442f03b7-7d45-4a6a-bc03-df91fbaf0fa5_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "9b09fdff-a731-483f-b524-dedd7ef84283" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054458Z:9b09fdff-a731-483f-b524-dedd7ef84283" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-request-id": [ "a2debb5d-66d2-41a2-8381-c7a810a1d6eb" ], + "x-ms-correlation-request-id": [ "a2debb5d-66d2-41a2-8381-c7a810a1d6eb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172521Z:a2debb5d-66d2-41a2-8381-c7a810a1d6eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:44:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+8": { + "Approve-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "af9505d1-0d20-42b1-8a6c-efacb9227653" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "61f8fee1-44a5-490e-a6d7-164ae0e8c200" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -686,22 +588,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6793e859-e773-4197-a25a-47e8197118ab_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "1a615980-fd89-4151-9ffb-360316d8840e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054508Z:1a615980-fd89-4151-9ffb-360316d8840e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-request-id": [ "68cfe1ab-c031-4b78-b5cb-c4db070f1e98" ], + "x-ms-correlation-request-id": [ "68cfe1ab-c031-4b78-b5cb-c4db070f1e98" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172531Z:68cfe1ab-c031-4b78-b5cb-c4db070f1e98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Deny-AzEventHubPrivateEndpointConnection.Recording.json b/src/EventHub/EventHub.Autorest/test/Deny-AzEventHubPrivateEndpointConnection.Recording.json index 8ad714d6e46b..837917cf5456 100644 --- a/src/EventHub/EventHub.Autorest/test/Deny-AzEventHubPrivateEndpointConnection.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Deny-AzEventHubPrivateEndpointConnection.Recording.json @@ -1,13 +1,13 @@ { - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview+1": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "1f708c14-5b8b-4275-8ba5-5de48bd9d02a" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "25259e47-d148-44ea-b780-a9f41e0cdaf8" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "622ee453-54bd-4f07-80bb-1ba48fdaa839_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "ab1f379f-0622-4d8e-8168-d73e80cd79c5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054534Z:ab1f379f-0622-4d8e-8168-d73e80cd79c5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-request-id": [ "509b9067-6b23-476b-b82b-d3cd6b045461" ], + "x-ms-correlation-request-id": [ "509b9067-6b23-476b-b82b-d3cd6b045461" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172600Z:509b9067-6b23-476b-b82b-d3cd6b045461" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1410" ], + "Content-Length": [ "1408" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", "isContentBase64": false } }, - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+1": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "cd7f0481-7512-4977-a98d-a14db948320d" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "62448096-31ee-420e-9770-94f1a71ec379" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,30 +63,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "40117fe4-ff5e-4758-84fa-78e35610b867_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "b3f402ee-4994-4840-9ec3-041fb6785b50" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054534Z:b3f402ee-4994-4840-9ec3-041fb6785b50" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-request-id": [ "63c8ce2e-76c4-487b-a838-1dad97fb88c8" ], + "x-ms-correlation-request-id": [ "63c8ce2e-76c4-487b-a838-1dad97fb88c8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172600Z:63c8ce2e-76c4-487b-a838-1dad97fb88c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "697" ], + "Content-Length": [ "696" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+2": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Rejected\",\n \"description\": \"\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Rejected\",\n \"description\": \"\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -101,35 +99,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "358b0d17-1c30-45d8-9e84-bb60594eedbf_M11SN1_M11SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview\u0026operationType=Update" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "9a282362-aa06-4bd8-97ce-d1178ceec5cf" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054535Z:9a282362-aa06-4bd8-97ce-d1178ceec5cf" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview\u0026operationType=Update" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-request-id": [ "7561df8b-8e22-4435-bddc-32f2cc985003" ], + "x-ms-correlation-request-id": [ "7561df8b-8e22-4435-bddc-32f2cc985003" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172600Z:7561df8b-8e22-4435-bddc-32f2cc985003" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:25:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "696" ], + "Content-Length": [ "695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+1": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "01f604a6-1e89-4742-b2c3-b488ea0363ea" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "db162405-bebe-47cc-a9e3-950a677d001e" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -144,34 +141,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d535f0e0-6cd9-432a-bb84-18e822699cdc_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "c1116227-c44d-49bb-beb3-eb092b678b5b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054535Z:c1116227-c44d-49bb-beb3-eb092b678b5b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-request-id": [ "abcce1ae-466b-469d-b8a8-95e47efbd556" ], + "x-ms-correlation-request-id": [ "abcce1ae-466b-469d-b8a8-95e47efbd556" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172601Z:abcce1ae-466b-469d-b8a8-95e47efbd556" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+2": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "99d5bf4e-3d0f-401c-9640-e7b148c411ce" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "a6ae5d88-d615-4279-966b-f78e619ad38a" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,30 +182,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "74c9eb12-30d5-4f89-a457-95046ad61940_M11SN1_M11SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "ee8f212f-087c-40a5-8e6f-82d88967bec5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054535Z:ee8f212f-087c-40a5-8e6f-82d88967bec5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-request-id": [ "1cdb1af7-ea32-4ec0-97f4-32f6faf81364" ], + "x-ms-correlation-request-id": [ "1cdb1af7-ea32-4ec0-97f4-32f6faf81364" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172601Z:1cdb1af7-ea32-4ec0-97f4-32f6faf81364" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+3": { + "Deny-AzEventHubPrivateEndpointConnection+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Rejected\",\n \"description\": \"Bye\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"privateEndpoint\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"\n },\n \"privateLinkServiceConnectionState\": {\n \"status\": \"Rejected\",\n \"description\": \"Bye\"\n },\n \"provisioningState\": \"Succeeded\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -223,23 +218,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cff27d99-7282-47df-804b-158caeaaff23_M11SN1_M11SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview\u0026operationType=Update" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "25957afd-9998-4256-9bb0-7d04ea5970dc" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054535Z:25957afd-9998-4256-9bb0-7d04ea5970dc" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview\u0026operationType=Update" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-request-id": [ "75ae8778-bf89-45f1-9dcf-ed7c2fcff17d" ], + "x-ms-correlation-request-id": [ "75ae8778-bf89-45f1-9dcf-ed7c2fcff17d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172601Z:75ae8778-bf89-45f1-9dcf-ed7c2fcff17d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "699" ], + "Content-Length": [ "698" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHub.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHub.Recording.json index 863d0bafead6..2c7ff2caf0c1 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHub.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHub.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHub+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs?api-version=2022-10-01-preview+1": { + "Get-AzEventHub+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "6a61aac4-f2a3-484b-96e7-ebb46b6b2536" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "122a75ff-92d9-4622-9c40-f33f76e116b2" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -24,32 +24,32 @@ "Pragma": [ "no-cache" ], "x-ms-inline-count": [ "" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-request-id": [ "bfd88c97-24d7-4475-b428-0555cd6cbc3a" ], - "x-ms-correlation-request-id": [ "bfd88c97-24d7-4475-b428-0555cd6cbc3a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054552Z:bfd88c97-24d7-4475-b428-0555cd6cbc3a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-request-id": [ "2e1007ef-9512-495b-af4d-416944a29334" ], + "x-ms-correlation-request-id": [ "2e1007ef-9512-495b-af4d-416944a29334" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172620Z:2e1007ef-9512-495b-af4d-416944a29334" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "544" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhube8fp3c\",\"name\":\"eventhube8fp3c\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:35:39.08\",\"updatedAt\":\"2023-04-17T05:35:42.033\",\"partitionIds\":[\"0\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub6mc5ow\",\"name\":\"eventhub6mc5ow\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:15:47.73\",\"updatedAt\":\"2023-08-17T17:15:50.427\",\"partitionIds\":[\"0\"]}}]}", "isContentBase64": false } }, - "Get-AzEventHub+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview+1": { + "Get-AzEventHub+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "131f0464-7c51-459d-a678-13801f569072" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "6f96083e-a4a4-46ec-94aa-ead56bfc08d7" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,32 +65,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-request-id": [ "a4c9cb4a-4784-4df4-a264-5d4855c29e7c" ], - "x-ms-correlation-request-id": [ "a4c9cb4a-4784-4df4-a264-5d4855c29e7c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054553Z:a4c9cb4a-4784-4df4-a264-5d4855c29e7c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-request-id": [ "ac804347-6fcc-4151-9206-7ab2bb2e31a8" ], + "x-ms-correlation-request-id": [ "ac804347-6fcc-4151-9206-7ab2bb2e31a8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172620Z:ac804347-6fcc-4151-9206-7ab2bb2e31a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c\",\"name\":\"eventHube8fp3c\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:35:39.08\",\"updatedAt\":\"2023-04-17T05:35:42.033\",\"partitionIds\":[\"0\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow\",\"name\":\"eventHub6mc5ow\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:15:47.73\",\"updatedAt\":\"2023-08-17T17:15:50.427\",\"partitionIds\":[\"0\"]}}", "isContentBase64": false } }, - "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview+1": { + "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "11631af0-7a32-443d-8f61-a140061967d7" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "497c72c3-6063-4944-a331-a77886997f49" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -106,32 +106,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-request-id": [ "e35e9358-3f29-4ecf-b89c-46d66b36dcbf" ], - "x-ms-correlation-request-id": [ "e35e9358-3f29-4ecf-b89c-46d66b36dcbf" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054553Z:e35e9358-3f29-4ecf-b89c-46d66b36dcbf" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-request-id": [ "a96968c7-5c4a-435b-add4-2399fb1eb78b" ], + "x-ms-correlation-request-id": [ "a96968c7-5c4a-435b-add4-2399fb1eb78b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172621Z:a96968c7-5c4a-435b-add4-2399fb1eb78b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c\",\"name\":\"eventHube8fp3c\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:35:39.08\",\"updatedAt\":\"2023-04-17T05:35:42.033\",\"partitionIds\":[\"0\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow\",\"name\":\"eventHub6mc5ow\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:15:47.73\",\"updatedAt\":\"2023-08-17T17:15:50.427\",\"partitionIds\":[\"0\"]}}", "isContentBase64": false } }, - "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview+2": { + "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "40c3dfa2-e166-4dd5-87a0-1ccd687567e6" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "bfa844b4-4c5a-455c-a659-46453e387773" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -147,32 +147,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-request-id": [ "d12930d4-85c3-44a8-9086-8bd0d7654e36" ], - "x-ms-correlation-request-id": [ "d12930d4-85c3-44a8-9086-8bd0d7654e36" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054553Z:d12930d4-85c3-44a8-9086-8bd0d7654e36" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-request-id": [ "15784a50-e55d-4967-8120-1d89854c28d4" ], + "x-ms-correlation-request-id": [ "15784a50-e55d-4967-8120-1d89854c28d4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172621Z:15784a50-e55d-4967-8120-1d89854c28d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c\",\"name\":\"eventHube8fp3c\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:35:39.08\",\"updatedAt\":\"2023-04-17T05:35:42.033\",\"partitionIds\":[\"0\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow\",\"name\":\"eventHub6mc5ow\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:15:47.73\",\"updatedAt\":\"2023-08-17T17:15:50.427\",\"partitionIds\":[\"0\"]}}", "isContentBase64": false } }, - "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview+3": { + "Get-AzEventHub+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "bfafe66a-843b-4e05-86ad-723b3cecfba8" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "07805c06-07ea-4e57-93cf-8bee71e4e345" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -188,20 +188,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-request-id": [ "27f21f28-e26a-473f-bb01-ec417ba824a1" ], - "x-ms-correlation-request-id": [ "27f21f28-e26a-473f-bb01-ec417ba824a1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054553Z:27f21f28-e26a-473f-bb01-ec417ba824a1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-request-id": [ "c782661a-a85a-4951-bd87-fea57f65cfee" ], + "x-ms-correlation-request-id": [ "c782661a-a85a-4951-bd87-fea57f65cfee" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172621Z:c782661a-a85a-4951-bd87-fea57f65cfee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:45:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c\",\"name\":\"eventHube8fp3c\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:35:39.08\",\"updatedAt\":\"2023-04-17T05:35:42.033\",\"partitionIds\":[\"0\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow\",\"name\":\"eventHub6mc5ow\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":1,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:15:47.73\",\"updatedAt\":\"2023-08-17T17:15:50.427\",\"partitionIds\":[\"0\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubApplicationGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubApplicationGroup.Recording.json index ac475b6effe6..a03e3a216b41 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubApplicationGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubApplicationGroup.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubApplicationGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups?api-version=2022-10-01-preview+1": { + "Get-AzEventHubApplicationGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "3be8b589-6bd1-4993-935b-3acb407422c0" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "983b5f2b-cbfc-44cd-b6ac-60f1a7f9518d" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "890aaecc-db32-405a-8d53-636969339f94_M8SN1_M8SN1" ], + "x-ms-request-id": [ "bafe63f4-0eda-4182-af85-6eee6f37b65d_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "fe9601f6-f51d-43ac-a4c0-d3dd19b5a95e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054613Z:fe9601f6-f51d-43ac-a4c0-d3dd19b5a95e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "b797a402-cacf-40d2-ae46-b44dab92edaf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172641Z:b797a402-cacf-40d2-ae46-b44dab92edaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "477" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw\",\"name\":\"appGroupz3jbkw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw\",\"name\":\"appGroupl6sfgw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}]}", "isContentBase64": false } }, - "Get-AzEventHubApplicationGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview+1": { + "Get-AzEventHubApplicationGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "f8f592b6-c524-42da-b9a1-1af190c18fed" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "48064bbe-5b0c-4367-9aac-0f34b0d8305b" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,34 +64,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ecdb9c87-c0f9-41a8-9632-e74468c411f9_M8SN1_M8SN1" ], + "x-ms-request-id": [ "e98573aa-88b9-45c7-836b-f2f6cd89b233_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], - "x-ms-correlation-request-id": [ "8d811896-b7d4-4e22-a93a-5badee38cead" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054615Z:8d811896-b7d4-4e22-a93a-5badee38cead" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "02bf49e7-c0f2-48ff-8e34-a84dce89dfe8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172642Z:02bf49e7-c0f2-48ff-8e34-a84dce89dfe8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "465" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw\",\"name\":\"appGroupz3jbkw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw\",\"name\":\"appGroupl6sfgw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", "isContentBase64": false } }, - "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview+1": { + "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "7fe2d7d4-771e-4550-8f85-c5bc2b97ef55" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "35c000a1-67ee-4a58-8145-7b4d0053711c" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -106,34 +106,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f4b5c2cd-9e06-4c3e-94c0-88cacd649338_M8SN1_M8SN1" ], + "x-ms-request-id": [ "d9ba76ef-5870-4b43-bef5-d32a242dd331_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "085ff557-3d88-46e9-a55d-fd851df9e43a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054617Z:085ff557-3d88-46e9-a55d-fd851df9e43a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "78c5efb7-929f-4f56-8539-dc9c03c853cc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172643Z:78c5efb7-929f-4f56-8539-dc9c03c853cc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "465" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw\",\"name\":\"appGroupz3jbkw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw\",\"name\":\"appGroupl6sfgw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", "isContentBase64": false } }, - "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview+2": { + "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "e9d1e3b7-17d7-413c-866a-223b60d4508e" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "6839bf88-9343-47c1-a0a5-20e4a4df72f7" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -148,34 +148,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "78bf6c6f-d365-4d12-bea7-8c46e2a13336_M8SN1_M8SN1" ], + "x-ms-request-id": [ "60240f30-e8f2-4e5b-8fd4-106d9b582c1c_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], - "x-ms-correlation-request-id": [ "d0779fdb-d04c-403f-9eb7-deae1c579cd6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054617Z:d0779fdb-d04c-403f-9eb7-deae1c579cd6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "db1031ca-fd7f-4266-a528-8c852fac63a0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172644Z:db1031ca-fd7f-4266-a528-8c852fac63a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:17 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "465" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw\",\"name\":\"appGroupz3jbkw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw\",\"name\":\"appGroupl6sfgw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", "isContentBase64": false } }, - "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview+3": { + "Get-AzEventHubApplicationGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "64d8f63e-9665-4175-97d9-97dddd37be27" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "5945ce9e-cbcc-4274-ae58-3854dafe1c95" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -190,22 +190,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c9b70b82-2e10-4198-831b-4c78297b19d6_M8SN1_M8SN1" ], + "x-ms-request-id": [ "4d2ec6dc-fee2-4574-be73-65cb6a585675_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], - "x-ms-correlation-request-id": [ "f478d7f6-aaf0-4cf5-9be8-2e4eb5f4393a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054618Z:f478d7f6-aaf0-4cf5-9be8-2e4eb5f4393a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "78f04136-090f-4f37-b98e-0767e52e58da" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172644Z:78f04136-090f-4f37-b98e-0767e52e58da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:17 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:26:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "465" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroupz3jbkw\",\"name\":\"appGroupz3jbkw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupl6sfgw\",\"name\":\"appGroupl6sfgw\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=RootManageSharedAccessKey\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":10234}],\"isEnabled\":true}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubAuthorizationRule.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubAuthorizationRule.Recording.json index 15128265ff75..a48478d51670 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubAuthorizationRule.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubAuthorizationRule.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview+1": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "03984bed-f9eb-45a5-bba1-aa4bce35b7c9" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "116736ad-b5e2-4e6c-a09e-7a61170f051b" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,32 +23,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], - "x-ms-request-id": [ "2bdbcafe-9a42-46a2-a76d-a5cb4c4e01ba" ], - "x-ms-correlation-request-id": [ "2bdbcafe-9a42-46a2-a76d-a5cb4c4e01ba" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054637Z:2bdbcafe-9a42-46a2-a76d-a5cb4c4e01ba" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-request-id": [ "2b1b4fcd-588a-45b1-9c3a-cbf4233ba824" ], + "x-ms-correlation-request-id": [ "2b1b4fcd-588a-45b1-9c3a-cbf4233ba824" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172703Z:2b1b4fcd-588a-45b1-9c3a-cbf4233ba824" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+2": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "2c421536-8005-4d4b-bb18-f93b1c4930a6" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "326acfee-61c6-4eed-bc6e-5e1f83cc2a6e" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,32 +64,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], - "x-ms-request-id": [ "f7093ff8-7416-4f61-a2f8-74e11ede9b66" ], - "x-ms-correlation-request-id": [ "f7093ff8-7416-4f61-a2f8-74e11ede9b66" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054637Z:f7093ff8-7416-4f61-a2f8-74e11ede9b66" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-request-id": [ "d92011f0-3279-47ce-9e94-54c348373509" ], + "x-ms-correlation-request-id": [ "d92011f0-3279-47ce-9e94-54c348373509" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172704Z:d92011f0-3279-47ce-9e94-54c348373509" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview+1": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "2d4d8c0f-01fc-448b-831a-c77282eb1517" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "e498b309-e575-4e96-9469-d0f5aec24444" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -105,32 +105,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], - "x-ms-request-id": [ "44ee4ac8-5c1c-45a0-9014-dea20e5554e2" ], - "x-ms-correlation-request-id": [ "44ee4ac8-5c1c-45a0-9014-dea20e5554e2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054638Z:44ee4ac8-5c1c-45a0-9014-dea20e5554e2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-request-id": [ "dd790c44-1c8c-45a5-a57e-97a2de1233e1" ], + "x-ms-correlation-request-id": [ "dd790c44-1c8c-45a5-a57e-97a2de1233e1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172704Z:dd790c44-1c8c-45a5-a57e-97a2de1233e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "387" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+2": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "104356d4-e007-41ca-ad99-b34bac3e35ba" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "b8416726-33d3-4c84-bc2f-531a3ece7070" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -146,32 +146,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], - "x-ms-request-id": [ "96e87a0c-a635-4c54-8934-2177c2e9fa25" ], - "x-ms-correlation-request-id": [ "96e87a0c-a635-4c54-8934-2177c2e9fa25" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054638Z:96e87a0c-a635-4c54-8934-2177c2e9fa25" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-request-id": [ "629543f0-6379-4b35-a3ef-50f5aa21b0b2" ], + "x-ms-correlation-request-id": [ "629543f0-6379-4b35-a3ef-50f5aa21b0b2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172704Z:629543f0-6379-4b35-a3ef-50f5aa21b0b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "399" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview+1": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "a92db81f-9a56-45a5-8c18-cba599630a52" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "1d5bedff-f198-4b4e-8009-0bb563f33799" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -187,32 +187,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], - "x-ms-request-id": [ "76c54f93-91c5-4b71-9cc8-2adf400f8b79" ], - "x-ms-correlation-request-id": [ "76c54f93-91c5-4b71-9cc8-2adf400f8b79" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054639Z:76c54f93-91c5-4b71-9cc8-2adf400f8b79" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-request-id": [ "350a290f-9032-4016-8861-9cecfb57ea77" ], + "x-ms-correlation-request-id": [ "350a290f-9032-4016-8861-9cecfb57ea77" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172705Z:350a290f-9032-4016-8861-9cecfb57ea77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:39 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview+2": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "86a57608-ec96-4154-b94a-334c3010b810" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "1f407bdf-1546-4c06-8a53-d9bb7168ff4d" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -228,32 +228,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], - "x-ms-request-id": [ "3e21e5ec-6fbc-4f55-83ba-9fb3e8fafc48" ], - "x-ms-correlation-request-id": [ "3e21e5ec-6fbc-4f55-83ba-9fb3e8fafc48" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054640Z:3e21e5ec-6fbc-4f55-83ba-9fb3e8fafc48" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-request-id": [ "8515eb0c-e588-4a07-a1fe-6737a96fb1c1" ], + "x-ms-correlation-request-id": [ "8515eb0c-e588-4a07-a1fe-6737a96fb1c1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172706Z:8515eb0c-e588-4a07-a1fe-6737a96fb1c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview+3": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "fe396613-1042-4265-8b87-d55db6a65bc0" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "180879eb-af7f-476a-86fc-b3abd6f14aca" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -269,32 +269,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], - "x-ms-request-id": [ "15b78a81-0fb1-4a7d-a054-0e74fd8eba14" ], - "x-ms-correlation-request-id": [ "15b78a81-0fb1-4a7d-a054-0e74fd8eba14" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054640Z:15b78a81-0fb1-4a7d-a054-0e74fd8eba14" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-request-id": [ "bd339cb6-d313-4688-a5de-c26f47249d40" ], + "x-ms-correlation-request-id": [ "bd339cb6-d313-4688-a5de-c26f47249d40" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172706Z:bd339cb6-d313-4688-a5de-c26f47249d40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "387" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } }, - "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview+4": { + "Get-AzEventHubAuthorizationRule+[NoContext]+GetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "7ccc0e56-6d80-4178-9341-ac4cb6d4bbe4" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "22f895d9-15e9-496d-85d0-4d3d3598c49a" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -310,20 +310,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], - "x-ms-request-id": [ "a811ab28-f1f7-485b-9a96-0a500b24354e" ], - "x-ms-correlation-request-id": [ "a811ab28-f1f7-485b-9a96-0a500b24354e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054641Z:a811ab28-f1f7-485b-9a96-0a500b24354e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-request-id": [ "a02c348b-2581-49ec-99bb-95d20ff3c826" ], + "x-ms-correlation-request-id": [ "a02c348b-2581-49ec-99bb-95d20ff3c826" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172707Z:a02c348b-2581-49ec-99bb-95d20ff3c826" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:46:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:27:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "387" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubClusterNamespace.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubClusterNamespace.Recording.json index 8138d964a683..a67a12addbbf 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubClusterNamespace.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubClusterNamespace.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubClusterNamespace+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.EventHub/clusters/TestClusterAutomatic/namespaces?api-version=2022-10-01-preview+1": { + "Get-AzEventHubClusterNamespace+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.EventHub/clusters/TestClusterAutomatic/namespaces?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.EventHub/clusters/TestClusterAutomatic/namespaces?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.EventHub/clusters/TestClusterAutomatic/namespaces?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "cde0ab71-a220-4ac0-832d-705b2c95b7ad" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "b0b07438-7dad-4fbf-8d04-587d55a0030f" ], "CommandName": [ "Get-AzEventHubClusterNamespace" ], "FullCommandName": [ "Get-AzEventHubClusterNamespace_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,13 +23,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], - "x-ms-request-id": [ "a0d61f55-b59f-40f0-be0e-883a4971f0c3" ], - "x-ms-correlation-request-id": [ "a0d61f55-b59f-40f0-be0e-883a4971f0c3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054731Z:a0d61f55-b59f-40f0-be0e-883a4971f0c3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-request-id": [ "a2f261d4-68eb-4d62-b038-189f77567e72" ], + "x-ms-correlation-request-id": [ "a2f261d4-68eb-4d62-b038-189f77567e72" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172804Z:a2f261d4-68eb-4d62-b038-189f77567e72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:47:31 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "332" ], diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubConsumerGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubConsumerGroup.Recording.json index 6d360b810d7f..a82bb06dadc6 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubConsumerGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubConsumerGroup.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubConsumerGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups?api-version=2022-10-01-preview+1": { + "Get-AzEventHubConsumerGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "33e3db12-fe1b-4497-9b0a-f1b36a4fdb45" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "9338efa7-03f5-48aa-b0b1-ff5f246c1af3" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -24,32 +24,32 @@ "Pragma": [ "no-cache" ], "x-ms-inline-count": [ "" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], - "x-ms-request-id": [ "4c1630f4-69fb-4f30-a638-9ee91d554944" ], - "x-ms-correlation-request-id": [ "4c1630f4-69fb-4f30-a638-9ee91d554944" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054808Z:4c1630f4-69fb-4f30-a638-9ee91d554944" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-request-id": [ "4cb2aec3-c1f4-44b4-a4b9-a366c67cd61e" ], + "x-ms-correlation-request-id": [ "4cb2aec3-c1f4-44b4-a4b9-a366c67cd61e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172843Z:4cb2aec3-c1f4-44b4-a4b9-a366c67cd61e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:07 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "418" ], + "Content-Length": [ "419" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}]}", "isContentBase64": false } }, - "Get-AzEventHubConsumerGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview+1": { + "Get-AzEventHubConsumerGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "a3edeca5-91e7-4c58-a101-926aeb4d6031" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "b5c6ad31-c07a-4f1f-8516-76108c60076d" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,32 +65,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], - "x-ms-request-id": [ "f5bfae27-3e95-40f2-b500-894fd3257085" ], - "x-ms-correlation-request-id": [ "f5bfae27-3e95-40f2-b500-894fd3257085" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054809Z:f5bfae27-3e95-40f2-b500-894fd3257085" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-request-id": [ "c9757e81-5462-42ed-af75-fe0a392a7972" ], + "x-ms-correlation-request-id": [ "c9757e81-5462-42ed-af75-fe0a392a7972" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172844Z:c9757e81-5462-42ed-af75-fe0a392a7972" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "406" ], + "Content-Length": [ "407" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}", "isContentBase64": false } }, - "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview+1": { + "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "03ec6b68-e892-4f51-85f6-7c701a4ed23d" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "e14270cd-f582-48bb-bf84-2d1ebed1f325" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -106,32 +106,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], - "x-ms-request-id": [ "28d9fc48-cba6-4636-a276-de8c8dc4c446" ], - "x-ms-correlation-request-id": [ "28d9fc48-cba6-4636-a276-de8c8dc4c446" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054810Z:28d9fc48-cba6-4636-a276-de8c8dc4c446" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-request-id": [ "6a823187-fd0b-4237-a347-72a5cdbd08b6" ], + "x-ms-correlation-request-id": [ "6a823187-fd0b-4237-a347-72a5cdbd08b6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172844Z:6a823187-fd0b-4237-a347-72a5cdbd08b6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "406" ], + "Content-Length": [ "407" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}", "isContentBase64": false } }, - "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview+2": { + "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "91c68e24-8b39-479f-bcaf-e96a8382870d" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "3790bc41-acde-43a8-8c60-ac724743c9e0" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -147,32 +147,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], - "x-ms-request-id": [ "00ce6249-4c46-48c6-af5b-bc4124b26188" ], - "x-ms-correlation-request-id": [ "00ce6249-4c46-48c6-af5b-bc4124b26188" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054810Z:00ce6249-4c46-48c6-af5b-bc4124b26188" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-request-id": [ "5e6975e6-ac85-4a0b-8599-38d2c0749a2e" ], + "x-ms-correlation-request-id": [ "5e6975e6-ac85-4a0b-8599-38d2c0749a2e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172845Z:5e6975e6-ac85-4a0b-8599-38d2c0749a2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "406" ], + "Content-Length": [ "407" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}", "isContentBase64": false } }, - "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview+3": { + "Get-AzEventHubConsumerGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "0c228021-0b75-4952-8e8f-c6674bd4c070" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "5e67a92d-f817-409f-9d4f-ffb39693e44a" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -188,20 +188,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], - "x-ms-request-id": [ "3e51a09d-cb22-4167-9634-763f5f317064" ], - "x-ms-correlation-request-id": [ "3e51a09d-cb22-4167-9634-763f5f317064" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054810Z:3e51a09d-cb22-4167-9634-763f5f317064" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-request-id": [ "7889cd58-0260-4aee-8c02-e64b4bda8f40" ], + "x-ms-correlation-request-id": [ "7889cd58-0260-4aee-8c02-e64b4bda8f40" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172845Z:7889cd58-0260-4aee-8c02-e64b4bda8f40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:28:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "406" ], + "Content-Length": [ "407" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubKey.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubKey.Recording.json index 5cb289413a42..1d3820f92b44 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubKey.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubKey.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubKey+[NoContext]+GetExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/listKeys?api-version=2022-10-01-preview+1": { + "Get-AzEventHubKey+[NoContext]+GetExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/listKeys?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "6a79d609-5d65-4e71-9cd1-29c3f5126cd9" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "18558247-bc7f-4cbe-b74a-e9a22321c54b" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceKey_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,32 +23,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-request-id": [ "21eb5d14-3bbb-4492-8899-8918dc239b3d" ], - "x-ms-correlation-request-id": [ "21eb5d14-3bbb-4492-8899-8918dc239b3d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054844Z:21eb5d14-3bbb-4492-8899-8918dc239b3d" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "6ac2138a-13ac-4e4d-bb2a-0e8bfe657e94" ], + "x-ms-correlation-request-id": [ "6ac2138a-13ac-4e4d-bb2a-0e8bfe657e94" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172923Z:6ac2138a-13ac-4e4d-bb2a-0e8bfe657e94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:43 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:29:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=ov3iFT0NJWqvYVpHZVIqpZLkhr4SrhVni+AEhHeraCE=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"primaryKey\":\"ov3iFT0NJWqvYVpHZVIqpZLkhr4SrhVni+AEhHeraCE=\",\"secondaryKey\":\"SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=BLNobagy5+I1e+n7TZhvWkbhdE/ZArcaC+AEhJ1gPX4=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"primaryKey\":\"BLNobagy5+I1e+n7TZhvWkbhdE/ZArcaC+AEhJ1gPX4=\",\"secondaryKey\":\"0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "Get-AzEventHubKey+[NoContext]+GetExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/listKeys?api-version=2022-10-01-preview+1": { + "Get-AzEventHubKey+[NoContext]+GetExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/listKeys?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "faef3112-ee8b-4361-8b54-7a0fe5394f09" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "d7eea35a-9bd2-42f3-976c-c204f23aceec" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubKey_List" ], "FullCommandName": [ "Get-AzEventHubKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,20 +64,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "ada885cd-99f0-495e-848e-fe757ec332a7" ], - "x-ms-correlation-request-id": [ "ada885cd-99f0-495e-848e-fe757ec332a7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054845Z:ada885cd-99f0-495e-848e-fe757ec332a7" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-request-id": [ "be8066e4-d1c8-41e2-b3e9-c2e9365ecae3" ], + "x-ms-correlation-request-id": [ "be8066e4-d1c8-41e2-b3e9-c2e9365ecae3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T172923Z:be8066e4-d1c8-41e2-b3e9-c2e9365ecae3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:48:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:29:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=TL3tqf0lcxNpM9+4awXf6eAhcQtQuECTQ+AEhMqP3TY=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"TL3tqf0lcxNpM9+4awXf6eAhcQtQuECTQ+AEhMqP3TY=\",\"secondaryKey\":\"ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=+a9vLO9Z187+7Djn598JbtjaV4NEZZmmG+AEhKGtFjg=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"+a9vLO9Z187+7Djn598JbtjaV4NEZZmmG+AEhKGtFjg=\",\"secondaryKey\":\"ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNamespaceV2.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNamespaceV2.Recording.json index e0f94f1cb338..8aa5b94bab5c 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNamespaceV2.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNamespaceV2.Recording.json @@ -1,15 +1,15 @@ { - "Get-AzEventHubNamespaceV2+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview+1": { + "Get-AzEventHubNamespaceV2+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "37a3a3a1-15ca-4820-a686-9a72dd58c26d" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "f9e6e09c-1318-405c-8b91-2d4db70fe1b2" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -22,36 +22,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "80235b37-c620-4be2-a02f-6201797f2ff5_M9SN1_M9SN1" ], + "x-ms-request-id": [ "3f68dc45-9d71-475a-9b64-9997c4a0fc5a_M2SN1_M2SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], - "x-ms-correlation-request-id": [ "210b7fdb-af4a-4be2-9e15-5bf93126735a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054903Z:210b7fdb-af4a-4be2-9e15-5bf93126735a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "e6a6d59d-279a-4bbd-8a5a-0a2c0d72832c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173004Z:e6a6d59d-279a-4bbd-8a5a-0a2c0d72832c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2219" ], + "Content-Length": [ "2216" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4\",\"name\":\"namespaceName9ys3v4\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename9ys3v4\",\"createdAt\":\"2023-04-17T05:34:02.387Z\",\"updatedAt\":\"2023-04-17T05:35:24.443Z\",\"serviceBusEndpoint\":\"https://namespaceName9ys3v4.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k\",\"name\":\"namespaceNamenysd8k\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamenysd8k\",\"createdAt\":\"2023-08-17T17:14:09.82Z\",\"updatedAt\":\"2023-08-17T17:15:30.11Z\",\"serviceBusEndpoint\":\"https://namespaceNamenysd8k.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Get-AzEventHubNamespaceV2+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces?api-version=2022-10-01-preview+1": { + "Get-AzEventHubNamespaceV2+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "d6a176d9-2f98-459a-9907-ee3c632d0417" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "9254cfb0-258f-40e6-9720-a95389410d23" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_List1" ], + "FullCommandName": [ "Get-AzEventHubNamespace_List1" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -64,36 +64,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "29cbbad7-ae6f-45db-80e3-bc1c4fe8a295_M9SN1_M9SN1" ], + "x-ms-request-id": [ "5a8ec4f6-2222-4c29-a44c-57a57c674eab_M2SN1_M2SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], - "x-ms-correlation-request-id": [ "a5352956-aa9d-4c2a-beca-b746b4018e7a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054903Z:a5352956-aa9d-4c2a-beca-b746b4018e7a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "6a140e12-e5c7-476c-bd64-5543e317d0a4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173005Z:6a140e12-e5c7-476c-bd64-5543e317d0a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4707" ], + "Content-Length": [ "4706" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4\",\"name\":\"namespaceName9ys3v4\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename9ys3v4\",\"createdAt\":\"2023-04-17T05:34:02.387Z\",\"updatedAt\":\"2023-04-17T05:35:24.443Z\",\"serviceBusEndpoint\":\"https://namespaceName9ys3v4.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNameev506j\",\"name\":\"namespaceNameev506j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"58cdf0ec-3005-42c5-b488-1be9e9303071\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenameev506j\",\"createdAt\":\"2023-04-17T05:34:03.303Z\",\"updatedAt\":\"2023-04-17T05:41:11.13Z\",\"serviceBusEndpoint\":\"https://namespaceNameev506j.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"name\":\"namespaceName3dqfes\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename3dqfes\",\"createdAt\":\"2023-04-17T05:41:19.27Z\",\"updatedAt\":\"2023-04-17T05:42:11.5Z\",\"serviceBusEndpoint\":\"https://namespaceName3dqfes.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"name\":\"namespaceNamejzobdw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamejzobdw\",\"createdAt\":\"2023-04-17T05:41:19.44Z\",\"updatedAt\":\"2023-04-17T05:42:07.557Z\",\"serviceBusEndpoint\":\"https://namespaceNamejzobdw.servicebus.windows.net:443/\",\"status\":\"Active\"}}]}", + "Content": "{\"value\":[{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k\",\"name\":\"namespaceNamenysd8k\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamenysd8k\",\"createdAt\":\"2023-08-17T17:14:09.82Z\",\"updatedAt\":\"2023-08-17T17:15:30.11Z\",\"serviceBusEndpoint\":\"https://namespaceNamenysd8k.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T17:21:19.197Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"name\":\"namespaceNamezcpl45\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamezcpl45\",\"createdAt\":\"2023-08-17T17:21:37.11Z\",\"updatedAt\":\"2023-08-17T17:22:26.39Z\",\"serviceBusEndpoint\":\"https://namespaceNamezcpl45.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"name\":\"namespaceNamep9d7hv\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamep9d7hv\",\"createdAt\":\"2023-08-17T17:21:37.217Z\",\"updatedAt\":\"2023-08-17T17:22:23.57Z\",\"serviceBusEndpoint\":\"https://namespaceNamep9d7hv.servicebus.windows.net:443/\",\"status\":\"Active\"}}]}", "isContentBase64": false } }, - "Get-AzEventHubNamespaceV2+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview+1": { + "Get-AzEventHubNamespaceV2+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "4b5715b1-83a8-4320-953c-ebfc337ca39b" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "bf810c34-7458-485f-b8bd-08be52aad8ef" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -106,36 +106,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0013d0d8-e52e-40fe-b47c-73fcab838cec_M9SN1_M9SN1" ], + "x-ms-request-id": [ "faef3d02-1418-4768-b498-6ef2729f037d_M2SN1_M2SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], - "x-ms-correlation-request-id": [ "08b62484-3932-4970-9969-00e9b9efc8ac" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054903Z:08b62484-3932-4970-9969-00e9b9efc8ac" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "e0d89534-5a91-4b8e-9626-c5af7875be20" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173005Z:e0d89534-5a91-4b8e-9626-c5af7875be20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2219" ], + "Content-Length": [ "2216" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4\",\"name\":\"namespaceName9ys3v4\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename9ys3v4\",\"createdAt\":\"2023-04-17T05:34:02.387Z\",\"updatedAt\":\"2023-04-17T05:35:24.443Z\",\"serviceBusEndpoint\":\"https://namespaceName9ys3v4.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k\",\"name\":\"namespaceNamenysd8k\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamenysd8k\",\"createdAt\":\"2023-08-17T17:14:09.82Z\",\"updatedAt\":\"2023-08-17T17:15:30.11Z\",\"serviceBusEndpoint\":\"https://namespaceNamenysd8k.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Get-AzEventHubNamespaceV2+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview+2": { + "Get-AzEventHubNamespaceV2+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "8c6a385b-9ade-47ee-82be-faeffd2d4ef6" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "06d2062b-ee34-4c60-8fe1-a922cff39a3f" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -148,22 +148,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f50a8138-c9e4-42b3-abdf-b3bce147bf66_M9SN1_M9SN1" ], + "x-ms-request-id": [ "0ef6a5a8-4d9e-45e5-af8e-5d33a6b63bb3_M0SN1_M0SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], - "x-ms-correlation-request-id": [ "2e40802d-b485-4f76-b15b-800ba5e20a6f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054904Z:2e40802d-b485-4f76-b15b-800ba5e20a6f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "fae01217-551d-4d2b-9d28-c733b0f3231e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173006Z:fae01217-551d-4d2b-9d28-c733b0f3231e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2219" ], + "Content-Length": [ "2216" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4\",\"name\":\"namespaceName9ys3v4\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename9ys3v4\",\"createdAt\":\"2023-04-17T05:34:02.387Z\",\"updatedAt\":\"2023-04-17T05:35:24.443Z\",\"serviceBusEndpoint\":\"https://namespaceName9ys3v4.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k\",\"name\":\"namespaceNamenysd8k\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Updating\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamenysd8k\",\"createdAt\":\"2023-08-17T17:14:09.82Z\",\"updatedAt\":\"2023-08-17T17:15:30.11Z\",\"serviceBusEndpoint\":\"https://namespaceNamenysd8k.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Recording.json index 67b862b45a0a..a1ff7f60f80e 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubNetworkRuleSet+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/networkRuleSets/default?api-version=2022-10-01-preview+1": { + "Get-AzEventHubNetworkRuleSet+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "63be84a7-500b-4893-b228-aed89acdfb04" ], + "x-ms-unique-id": [ "54" ], + "x-ms-client-request-id": [ "34e77167-d48a-4660-b2bf-36cac2f59d6a" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,22 +22,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d0a264eb-a981-4c13-bdf9-76d6122848b0_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], - "x-ms-correlation-request-id": [ "784b659b-1f70-4083-824b-9b4f60845d2b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054921Z:784b659b-1f70-4083-824b-9b4f60845d2b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "x-ms-request-id": [ "0e44ec0f-c558-4c05-82bd-51f4dc0805c8" ], + "x-ms-correlation-request-id": [ "0e44ec0f-c558-4c05-82bd-51f4dc0805c8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173026Z:0e44ec0f-c558-4c05-82bd-51f4dc0805c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "389" ], + "Content-Length": [ "456" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Tests.ps1 index c92e43fe6fa6..d415a2b0c2c6 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubNetworkRuleSet.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Get-AzEventHubNetworkRuleSet' { It 'Get' { $networkRuleSet = Get-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace $networkRuleSet.PublicNetworkAccess | Should -Be "Enabled" - $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $null + $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $false $networkRuleSet.VirtualNetworkRule.Count | Should -Be 0 $networkRuleSet.IPRule.Count | Should -Be 0 } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateEndpointConnection.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateEndpointConnection.Recording.json index de57d084f850..5593ffa44ea1 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateEndpointConnection.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateEndpointConnection.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview+1": { + "Get-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "69d8b23d-63a9-4ea7-a035-e2e940134256" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "a99f139f-99e1-40c5-82d3-98b8f7498971" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "436263b7-bc60-4753-a1b3-4cdfa98f465a_M8SN1_M8SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], - "x-ms-correlation-request-id": [ "370d55eb-f194-482b-87ba-21582c1b8989" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054938Z:370d55eb-f194-482b-87ba-21582c1b8989" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-request-id": [ "7e17b88d-af35-42c4-8360-43ad91f36180" ], + "x-ms-correlation-request-id": [ "7e17b88d-af35-42c4-8360-43ad91f36180" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173045Z:7e17b88d-af35-42c4-8360-43ad91f36180" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1410" ], + "Content-Length": [ "1408" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", "isContentBase64": false } }, - "Get-AzEventHubPrivateEndpointConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+1": { + "Get-AzEventHubPrivateEndpointConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "23d4ba13-f6ec-46f8-9735-1100c06a566b" ], + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "0ba99938-01f9-4af3-9635-c5f63e5b3ffd" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,34 +63,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3e299d96-9148-4b1d-8028-8f8db89a0d30_M8SN1_M8SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], - "x-ms-correlation-request-id": [ "86004ae0-a4fa-4a36-98c9-fa6fccc23f42" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054938Z:86004ae0-a4fa-4a36-98c9-fa6fccc23f42" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-request-id": [ "f4ccd258-7c80-4d67-bf68-dda9d3919a9d" ], + "x-ms-correlation-request-id": [ "f4ccd258-7c80-4d67-bf68-dda9d3919a9d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173045Z:f4ccd258-7c80-4d67-bf68-dda9d3919a9d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "697" ], + "Content-Length": [ "696" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Get-AzEventHubPrivateEndpointConnection+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+1": { + "Get-AzEventHubPrivateEndpointConnection+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "1a69ca2a-e059-47b8-911f-1c1d28b15550" ], + "x-ms-unique-id": [ "57" ], + "x-ms-client-request-id": [ "5dc91446-2d67-4657-8ce1-03dc361ef25f" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -106,34 +104,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b55cee44-00cc-4233-94ca-60fe7f5a7a56_M8SN1_M8SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], - "x-ms-correlation-request-id": [ "b6141ca0-c8e5-4cdb-8b11-5fe053d3570e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054938Z:b6141ca0-c8e5-4cdb-8b11-5fe053d3570e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-request-id": [ "43f6d6d9-f729-41ca-8ece-42ee59080187" ], + "x-ms-correlation-request-id": [ "43f6d6d9-f729-41ca-8ece-42ee59080187" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173045Z:43f6d6d9-f729-41ca-8ece-42ee59080187" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Get-AzEventHubPrivateEndpointConnection+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+2": { + "Get-AzEventHubPrivateEndpointConnection+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "7b8a00ef-d46e-49d0-aa04-7c97df24c6a0" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "415cdcf5-ad7b-44de-8bc2-8c6cddf58a45" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -148,22 +145,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5546dc3c-ae6e-4bd2-b4e9-ab1cff18ab1a_M8SN1_M8SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], - "x-ms-correlation-request-id": [ "05ecfbc7-6900-40df-bed2-68349bef30fb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054939Z:05ecfbc7-6900-40df-bed2-68349bef30fb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-request-id": [ "708ea8ee-615b-417a-b46a-1098bafb0828" ], + "x-ms-correlation-request-id": [ "708ea8ee-615b-417a-b46a-1098bafb0828" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173045Z:708ea8ee-615b-417a-b46a-1098bafb0828" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:30:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateLink.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateLink.Recording.json index b8d9edf26e33..945eefc8f0a0 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateLink.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubPrivateLink.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubPrivateLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateLinkResources?api-version=2022-10-01-preview+1": { + "Get-AzEventHubPrivateLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateLinkResources?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateLinkResources?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateLinkResources?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "12265c61-6b22-4526-b962-d90927f73b5b" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "ae085b0d-1679-4321-a006-20d614e235da" ], "CommandName": [ "Get-AzEventHubPrivateLink" ], "FullCommandName": [ "Get-AzEventHubPrivateLink_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,22 +22,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "de5f3cce-d24c-4829-a2a0-801977ea2483_M9SN1_M9SN1" ], + "x-ms-request-id": [ "27371b12-e58f-40b2-a24e-f7db6acaf67a_M10SN1_M10SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], - "x-ms-correlation-request-id": [ "e0d5a5fb-831c-4db4-a67a-3574ae6a349b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T054957Z:e0d5a5fb-831c-4db4-a67a-3574ae6a349b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "5eb27239-0b57-405d-b98f-19198f711ab3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173104Z:5eb27239-0b57-405d-b98f-19198f711ab3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:49:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:31:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "412" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateLinkResources/namespace\",\"name\":\"namespace\",\"type\":\"Microsoft.EventHub/namespaces/privateLinkResources\",\"properties\":{\"groupId\":\"namespace\",\"requiredMembers\":[\"namespace\"],\"requiredZoneNames\":[\"privatelink.servicebus.windows.net\"]}}]}", + "Content": "{\"value\":[{\"id\":\"subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateLinkResources/namespace\",\"name\":\"namespace\",\"type\":\"Microsoft.EventHub/namespaces/privateLinkResources\",\"properties\":{\"groupId\":\"namespace\",\"requiredMembers\":[\"namespace\"],\"requiredZoneNames\":[\"privatelink.servicebus.windows.net\"]}}]}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubSchemaGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubSchemaGroup.Recording.json index 431021e44e93..37d580a26cae 100644 --- a/src/EventHub/EventHub.Autorest/test/Get-AzEventHubSchemaGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Get-AzEventHubSchemaGroup.Recording.json @@ -1,13 +1,13 @@ { - "Get-AzEventHubSchemaGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups?api-version=2022-10-01-preview+1": { + "Get-AzEventHubSchemaGroup+[NoContext]+List+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "e837b521-9a54-4af6-8cf7-283f385b4e62" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "f882a2de-264a-4e01-8328-cd3473d73c2f" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,34 +23,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-inline-count": [ "1" ], - "x-ms-request-id": [ "18397cce-a2a6-4e86-8f69-92c216db6bef_M9SN1_M9SN1" ], + "x-ms-request-id": [ "3fc45529-3488-495d-8092-85bffc5478bb_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], - "x-ms-correlation-request-id": [ "e844523e-9e3f-4919-8dd7-96a028af2ab5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055034Z:e844523e-9e3f-4919-8dd7-96a028af2ab5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "x-ms-correlation-request-id": [ "c1783f4c-8075-468d-85c9-2f2c58b9aab9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173141Z:c1783f4c-8075-468d-85c9-2f2c58b9aab9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:50:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:31:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "529" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c\",\"name\":\"schemaGroup9lfs8c\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"createdAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"eTag\":\"1587318e-f48e-400c-b60a-6c0d27e2bc05\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so\",\"name\":\"schemaGroup5ht9so\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"createdAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"eTag\":\"d8624d3f-3ce6-4475-bbe7-d1d3f4c6ae1c\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}]}", "isContentBase64": false } }, - "Get-AzEventHubSchemaGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview+1": { + "Get-AzEventHubSchemaGroup+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "b4d66b2b-8f04-4b10-8b30-24d38ebf84db" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "ee259ad5-ac6f-4d56-ba45-d00ce10a9055" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,34 +65,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b790db16-bb00-48ab-b279-8aae6177b955_M9SN1_M9SN1" ], + "x-ms-request-id": [ "b44ed5a3-e285-4fe2-bc90-4e378e61b732_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], - "x-ms-correlation-request-id": [ "8887a7f6-ce45-415e-8abc-e102b7216b50" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055035Z:8887a7f6-ce45-415e-8abc-e102b7216b50" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "x-ms-correlation-request-id": [ "2ac0e0f3-aa78-4daf-b131-df07028e0341" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173142Z:2ac0e0f3-aa78-4daf-b131-df07028e0341" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:50:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:31:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c\",\"name\":\"schemaGroup9lfs8c\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"createdAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"eTag\":\"1587318e-f48e-400c-b60a-6c0d27e2bc05\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so\",\"name\":\"schemaGroup5ht9so\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"createdAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"eTag\":\"d8624d3f-3ce6-4475-bbe7-d1d3f4c6ae1c\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } }, - "Get-AzEventHubSchemaGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview+1": { + "Get-AzEventHubSchemaGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "4cd32d40-889e-40be-86ea-1e1cf523b3f6" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "a6625ffa-62c2-4991-8aed-dd32f0052e19" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -107,34 +107,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a8a33d97-0206-43f6-a793-c71704016fe1_M9SN1_M9SN1" ], + "x-ms-request-id": [ "51c21663-7d1d-4488-bb9e-a3d66c9f8868_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11933" ], - "x-ms-correlation-request-id": [ "80c60ae0-df98-4f2b-afdf-d5679ffc6980" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055036Z:80c60ae0-df98-4f2b-afdf-d5679ffc6980" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "x-ms-correlation-request-id": [ "ddec2190-eaf2-4a3d-8344-48d215ddbda6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173143Z:ddec2190-eaf2-4a3d-8344-48d215ddbda6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:50:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:31:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c\",\"name\":\"schemaGroup9lfs8c\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"createdAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"eTag\":\"1587318e-f48e-400c-b60a-6c0d27e2bc05\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so\",\"name\":\"schemaGroup5ht9so\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"createdAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"eTag\":\"d8624d3f-3ce6-4475-bbe7-d1d3f4c6ae1c\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } }, - "Get-AzEventHubSchemaGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview+2": { + "Get-AzEventHubSchemaGroup+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "b2515a87-8a2a-466c-a2c7-58090d3aefc2" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "a371e1a6-5842-4832-9509-def6276b674d" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -149,22 +149,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "24534d05-f934-4ed0-b1e5-e18bdee44e5f_M9SN1_M9SN1" ], + "x-ms-request-id": [ "5d45de4e-9b9b-42f6-8a8c-7b5460056fc2_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11932" ], - "x-ms-correlation-request-id": [ "1947da20-377e-4157-9ba2-1a3c817f6591" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055037Z:1947da20-377e-4157-9ba2-1a3c817f6591" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "x-ms-correlation-request-id": [ "ab50b51f-fca7-4e60-83ea-0baad65091dc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173143Z:ab50b51f-fca7-4e60-83ea-0baad65091dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:50:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:31:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroup9lfs8c\",\"name\":\"schemaGroup9lfs8c\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"createdAtUtc\":\"2023-04-17T05:35:39.7482502Z\",\"eTag\":\"1587318e-f48e-400c-b60a-6c0d27e2bc05\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup5ht9so\",\"name\":\"schemaGroup5ht9so\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"createdAtUtc\":\"2023-08-17T17:15:47.6840059Z\",\"eTag\":\"d8624d3f-3ce6-4475-bbe7-d1d3f4c6ae1c\",\"groupProperties\":{},\"schemaCompatibility\":\"None\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Recording.json index 0c5073da1683..9310a64a348f 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Recording.json @@ -1,15 +1,15 @@ { - "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+1": { + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n }\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "87" ] + "Content-Length": [ "346" ] } }, "Response": { @@ -17,37 +17,121 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "156f526f-0bfb-46d3-9b27-46980e992dcf_M9SN1_M9SN1" ], + "x-ms-request-id": [ "01baae42-55e2-4bee-8ee7-f7d672529b6b_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-correlation-request-id": [ "c9744d51-fd98-4456-8bc4-0c4ca8049505" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055100Z:c9744d51-fd98-4456-8bc4-0c4ca8049505" ], + "x-ms-correlation-request-id": [ "4d5609ee-9fbc-40f1-9a7d-ec12347eab52" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173204Z:4d5609ee-9fbc-40f1-9a7d-ec12347eab52" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:50:59 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:32:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "816" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:32:04.32Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+2": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "65" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "74866b05-24f4-4077-9f0e-cd3d9c1cbce8_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], + "x-ms-correlation-request-id": [ "c72e2084-6a3a-4de9-b31d-7f65651a842f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173235Z:c72e2084-6a3a-4de9-b31d-7f65651a842f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:32:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1012" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:32:04.32Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "0cfea94a-0032-4904-855e-f21be48d308d_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], + "x-ms-correlation-request-id": [ "0c2fffba-5584-4bb9-8c13-ca76abab74a2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173305Z:0c2fffba-5584-4bb9-8c13-ca76abab74a2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:33:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1012" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:32:04.32Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -59,37 +143,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2378b7f9-083b-4766-b117-b2ffc33246d1_M0SN1_M0SN1" ], + "x-ms-request-id": [ "87e28f2a-716b-4d7e-a49b-2b541b70e852_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11931" ], - "x-ms-correlation-request-id": [ "ee2c09ae-0793-4514-9074-bdddb0c615b1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055130Z:ee2c09ae-0793-4514-9074-bdddb0c615b1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], + "x-ms-correlation-request-id": [ "a4822585-1dee-4c48-b3bb-5ed18f981985" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173335Z:a4822585-1dee-4c48-b3bb-5ed18f981985" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:51:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:33:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+3": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -101,37 +185,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c8d84ed2-86db-4fce-8ad1-01b908d4f7f5_M0SN1_M0SN1" ], + "x-ms-request-id": [ "7aa57b7c-5491-4a14-bec8-4e5593030d5d_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11930" ], - "x-ms-correlation-request-id": [ "2a4e3eae-91bb-45cd-9382-8de56815e94f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055201Z:2a4e3eae-91bb-45cd-9382-8de56815e94f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], + "x-ms-correlation-request-id": [ "93fb75db-f9ef-4d30-989c-c8118b97cae1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173405Z:93fb75db-f9ef-4d30-989c-c8118b97cae1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:52:00 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:34:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+4": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -143,37 +227,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0d0d868a-2792-4704-941f-baaf4f3154b0_M0SN1_M0SN1" ], + "x-ms-request-id": [ "b275b065-d38a-4a43-abe2-da9f9d36f192_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11929" ], - "x-ms-correlation-request-id": [ "4a9f3a38-cae0-4d9c-9249-f4f3702f856b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055231Z:4a9f3a38-cae0-4d9c-9249-f4f3702f856b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], + "x-ms-correlation-request-id": [ "cb799907-af66-4142-ad39-36660e0b1653" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173435Z:cb799907-af66-4142-ad39-36660e0b1653" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:52:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:34:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+5": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -185,37 +269,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7d85e581-c8c7-4378-ab88-9752b6b80a90_M0SN1_M0SN1" ], + "x-ms-request-id": [ "20b17a3c-d66e-4985-b98b-420138aeb359_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11928" ], - "x-ms-correlation-request-id": [ "cdb52ccf-384c-466f-81ea-bb06a1b2d404" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055301Z:cdb52ccf-384c-466f-81ea-bb06a1b2d404" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], + "x-ms-correlation-request-id": [ "ce55ef05-c010-4baf-8836-5f1bbee58864" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173506Z:ce55ef05-c010-4baf-8836-5f1bbee58864" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:53:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:35:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+6": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "71" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -227,37 +311,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "55d6c942-2a96-4f17-8db7-249d22c87564_M0SN1_M0SN1" ], + "x-ms-request-id": [ "f62f8a2b-22f4-4029-8dfc-2f6ac85c8378_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11927" ], - "x-ms-correlation-request-id": [ "714a500c-0bc0-4430-8a3c-7ecb2d0e869c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055332Z:714a500c-0bc0-4430-8a3c-7ecb2d0e869c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], + "x-ms-correlation-request-id": [ "67ad4b00-58bf-4580-8903-94e8f6d6f6f7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173536Z:67ad4b00-58bf-4580-8903-94e8f6d6f6f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:53:31 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:35:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+7": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -269,37 +353,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9084e069-8e5f-4f9e-9fa8-57e49fa58362_M8SN1_M8SN1" ], + "x-ms-request-id": [ "60b442fe-772d-41eb-9439-5470411f3ccb_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], - "x-ms-correlation-request-id": [ "b743e867-323a-4b7c-adac-bf2cd949b7ae" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055402Z:b743e867-323a-4b7c-adac-bf2cd949b7ae" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], + "x-ms-correlation-request-id": [ "1d53a029-8a18-4521-b742-3919c7aee5b7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173606Z:1d53a029-8a18-4521-b742-3919c7aee5b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:54:02 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:36:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+8": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -311,37 +395,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b81f664a-8422-4624-ac31-c1474818e0b3_M8SN1_M8SN1" ], + "x-ms-request-id": [ "52272c18-4448-4a0e-880a-99671bb51d38_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], - "x-ms-correlation-request-id": [ "4b551b49-75d6-4972-946d-48e1974b9d69" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055432Z:4b551b49-75d6-4972-946d-48e1974b9d69" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], + "x-ms-correlation-request-id": [ "254d056a-e6ea-42ca-89d4-dc24f8749158" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173636Z:254d056a-e6ea-42ca-89d4-dc24f8749158" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:54:32 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:36:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:50:59.457Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+9": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -353,37 +437,163 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "848cb7cc-bf40-41a2-a228-47825eb0e2e3_M8SN1_M8SN1" ], + "x-ms-request-id": [ "470021db-5e28-490b-ba46-dd6165b0d1bb_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], - "x-ms-correlation-request-id": [ "78fea85c-1c7d-4c3b-b363-a25b71fe0197" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055504Z:78fea85c-1c7d-4c3b-b363-a25b71fe0197" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], + "x-ms-correlation-request-id": [ "7aca2d42-9058-4e0d-9b1e-9725cccce6bc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173707Z:7aca2d42-9058-4e0d-9b1e-9725cccce6bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:37:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "781" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:55:00.483Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview+10": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "63eda008-13f0-4a4e-b2d0-764e5888e945" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "28e85f04-015a-4527-9723-9c5fbc982d0a_M8SN1_M8SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], + "x-ms-correlation-request-id": [ "840cc078-32eb-4ac7-ba7a-e6848b3eb7a7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173737Z:840cc078-32eb-4ac7-ba7a-e6848b3eb7a7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:37:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1009" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "fd861329-d55b-4c15-ac5c-125655e1dd25_M8SN1_M8SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], + "x-ms-correlation-request-id": [ "208fe8da-544b-4643-a007-a2698ba96c97" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173807Z:208fe8da-544b-4643-a007-a2698ba96c97" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:38:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1009" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f240d6e1-7e6f-46a3-9882-9373c700c144_M8SN1_M8SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], + "x-ms-correlation-request-id": [ "cc48a0db-da02-462f-a0f2-ab6c44e12715" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173837Z:cc48a0db-da02-462f-a0f2-ab6c44e12715" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:38:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1009" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "78" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -395,29 +605,113 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "756ddc2c-0c72-4a3a-bf83-3974ae4d8101_M8SN1_M8SN1" ], + "x-ms-request-id": [ "82464b9e-a617-4e5b-8f2b-8847f1261782_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], - "x-ms-correlation-request-id": [ "458822ea-5872-435c-9b03-4a7f6c2106b5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055505Z:458822ea-5872-435c-9b03-4a7f6c2106b5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], + "x-ms-correlation-request-id": [ "46a709dd-99f2-4969-8869-dffea0b39953" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173907Z:46a709dd-99f2-4969-8869-dffea0b39953" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:39:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "781" ], + "Content-Length": [ "1009" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y\",\"name\":\"namespaceV14g8v1y\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev14g8v1y\",\"createdAt\":\"2023-04-17T05:50:59.457Z\",\"updatedAt\":\"2023-04-17T05:55:00.483Z\",\"serviceBusEndpoint\":\"https://namespaceV14g8v1y.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:33:29.253Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview+11": { + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "79" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "cc36a1fd-8fbc-49e2-879d-f88b7bb528ec_M8SN1_M8SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], + "x-ms-correlation-request-id": [ "614378ea-cfa8-4cd4-9264-b1f18e5c5744" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173938Z:614378ea-cfa8-4cd4-9264-b1f18e5c5744" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:39:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1101" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:39:08.06Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "31ec1295-41f9-46c6-8c19-509e3f2476bb" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "eacfecc1-bf02-4b90-a150-ed33330a3d19_M8SN1_M8SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], + "x-ms-correlation-request-id": [ "81bf1fbc-5c53-4e12-b04d-f90e9c291d46" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173938Z:81bf1fbc-5c53-4e12-b04d-f90e9c291d46" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:39:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1101" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:39:08.06Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview+18": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Compact\"\n },\n \"partitionCount\": 2\n }\n}", "isContentBase64": false, "Headers": { @@ -433,27 +727,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-request-id": [ "ade415f3-eb07-4e5c-b725-019d9225737c" ], - "x-ms-correlation-request-id": [ "ade415f3-eb07-4e5c-b725-019d9225737c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055510Z:ade415f3-eb07-4e5c-b725-019d9225737c" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-request-id": [ "450b5f04-4317-461c-8711-cf8acf8ee880" ], + "x-ms-correlation-request-id": [ "450b5f04-4317-461c-8711-cf8acf8ee880" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173943Z:450b5f04-4317-461c-8711-cf8acf8ee880" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:39:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "529" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHubau4ir1\",\"name\":\"eventHubau4ir1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Compact\"},\"messageRetentionInDays\":9223372036854775807,\"partitionCount\":2,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:07.557Z\",\"updatedAt\":\"2023-04-17T05:55:09.96Z\",\"partitionIds\":[\"0\",\"1\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubz64mr2\",\"name\":\"eventHubz64mr2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Compact\"},\"messageRetentionInDays\":9223372036854775807,\"partitionCount\":2,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:40.21Z\",\"updatedAt\":\"2023-08-17T17:39:42.713Z\",\"partitionIds\":[\"0\",\"1\"]}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHub9w25oh1?api-version=2022-10-01-preview+12": { + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub9j169dz?api-version=2023-01-01-preview+19": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHub9w25oh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub9j169dz?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\"\n },\n \"partitionCount\": 2\n }\n}", "isContentBase64": false, "Headers": { @@ -469,27 +763,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-request-id": [ "865bbaf6-6154-4d2d-a18d-90c3041e8abc" ], - "x-ms-correlation-request-id": [ "865bbaf6-6154-4d2d-a18d-90c3041e8abc" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055512Z:865bbaf6-6154-4d2d-a18d-90c3041e8abc" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-request-id": [ "6bb6f0b1-0b21-435c-b032-47d0a3a85454" ], + "x-ms-correlation-request-id": [ "6bb6f0b1-0b21-435c-b032-47d0a3a85454" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173945Z:6bb6f0b1-0b21-435c-b032-47d0a3a85454" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:39:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "539" ], + "Content-Length": [ "537" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV14g8v1y/eventhubs/eventHub9w25oh1\",\"name\":\"eventHub9w25oh1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":2,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:12.247Z\",\"updatedAt\":\"2023-04-17T05:55:12.447Z\",\"partitionIds\":[\"0\",\"1\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub9j169dz\",\"name\":\"eventHub9j169dz\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":24},\"messageRetentionInDays\":1,\"partitionCount\":2,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:44.71Z\",\"updatedAt\":\"2023-08-17T17:39:44.88Z\",\"partitionIds\":[\"0\",\"1\"]}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview+13": { + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview+20": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"partitionCount\": 5\n }\n}", "isContentBase64": false, "Headers": { @@ -505,27 +799,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-request-id": [ "70d12130-8126-4309-a141-57aa2a418c28" ], - "x-ms-correlation-request-id": [ "70d12130-8126-4309-a141-57aa2a418c28" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055516Z:70d12130-8126-4309-a141-57aa2a418c28" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-request-id": [ "4742cc93-f4bc-4c7e-b1db-382fb13f082a" ], + "x-ms-correlation-request-id": [ "4742cc93-f4bc-4c7e-b1db-382fb13f082a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173949Z:4742cc93-f4bc-4c7e-b1db-382fb13f082a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:15 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:39:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "552" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1\",\"name\":\"eventHubau4ir1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:14.467Z\",\"updatedAt\":\"2023-04-17T05:55:16.083Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\",\"4\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2\",\"name\":\"eventHubz64mr2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:46.997Z\",\"updatedAt\":\"2023-08-17T17:39:49.287Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\",\"4\"]}}", "isContentBase64": false } }, - "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview+14": { + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview+21": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n }\n }\n}", "isContentBase64": false, "Headers": { @@ -541,20 +835,56 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-request-id": [ "7e4fe836-d8f6-4a66-9a2f-10bbd3fadf0e" ], - "x-ms-correlation-request-id": [ "7e4fe836-d8f6-4a66-9a2f-10bbd3fadf0e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055520Z:7e4fe836-d8f6-4a66-9a2f-10bbd3fadf0e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-request-id": [ "2fbc3a79-d91b-42e9-a751-091d102c3e0e" ], + "x-ms-correlation-request-id": [ "2fbc3a79-d91b-42e9-a751-091d102c3e0e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173953Z:2fbc3a79-d91b-42e9-a751-091d102c3e0e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:39:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1071" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8\",\"name\":\"eventHub2i91o8\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:51.843Z\",\"updatedAt\":\"2023-08-17T17:39:53.42Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "isContentBase64": false + } + }, + "New-AzEventHub+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubkubr2o?api-version=2023-01-01-preview+22": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubkubr2o?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\"\n },\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "935" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-request-id": [ "ccad2d97-d944-43b0-bbb0-172317c8c14c" ], + "x-ms-correlation-request-id": [ "ccad2d97-d944-43b0-bbb0-172317c8c14c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T173956Z:ccad2d97-d944-43b0-bbb0-172317c8c14c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:39:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1072" ], + "Content-Length": [ "1282" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx\",\"name\":\"eventHubcuospx\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:19.077Z\",\"updatedAt\":\"2023-04-17T05:55:20.073Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHubkubr2o\",\"name\":\"eventHubkubr2o\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:55.76Z\",\"updatedAt\":\"2023-08-17T17:39:56.277Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Tests.ps1 index 7374102a3ef7..59e13d9ee33b 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHub.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzEventHub')) Describe 'New-AzEventHub' { It 'CreateExpanded' { #create Premium Namespace - $eventHubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV1 -SkuName Premium -Location eastus + $eventHubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV1 -SkuName Premium -Location eastus -IdentityType UserAssigned -UserAssignedIdentityId $env.msi2 #create EventHub with Compact CleanUpPolicy $eventhub = New-AzEventHub -Name $env.eventHub2 -ResourceGroupName $env.resourceGroup -NamespaceName $eventHubNamespace.Name -PartitionCount 2 -CleanupPolicy Compact $eventhub.Name | Should -Be $env.eventHub2 @@ -52,5 +52,22 @@ Describe 'New-AzEventHub' { $eventhub.IntervalInSeconds | Should -Be 600 $eventhub.SizeLimitInBytes | Should -Be 11000000 $eventhub.StorageAccountResourceId | Should -Be $eventhub.StorageAccountResourceId + + # Create EventHub with MSI Capture Enabled + $eventhub = New-AzEventHub -Name $env.eventHub4 -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespaceV1 -ArchiveNameFormat "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" -BlobContainer $env.blobContainer -CaptureEnabled -DestinationName EventHubArchive.AzureBlockBlob -Encoding Avro -IntervalInSeconds 600 -SizeLimitInBytes 11000000 -SkipEmptyArchive -StorageAccountResourceId $env.storageAccountId -IdentityType UserAssigned -UserAssignedIdentityId $env.msi2 + $eventhub.Name | Should -Be $env.eventHub4 + $eventhub.ResourceGroupName | Should -Be $env.resourceGroup + $eventhub.PartitionCount | Should -Be 4 + $eventhub.ArchiveNameFormat | Should -Be "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + $eventhub.BlobContainer | Should -Be $env.blobContainer + $eventhub.CaptureEnabled | Should -Be $true + $eventhub.SkipEmptyArchive | Should -Be $true + $eventhub.DestinationName | Should -Be "EventHubArchive.AzureBlockBlob" + $eventhub.Encoding | Should -Be "Avro" + $eventhub.IntervalInSeconds | Should -Be 600 + $eventhub.SizeLimitInBytes | Should -Be 11000000 + $eventhub.StorageAccountResourceId | Should -Be $eventhub.StorageAccountResourceId + $eventhub.IdentityType | Should -Be $eventhub.IdentityType + $eventhub.UserAssignedIdentityId | Should -be $eventhub.UserAssignedIdentityId } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Recording.json index 554a5cfbfdba..c757b3003114 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Recording.json @@ -1,38 +1,74 @@ { - "New-AzEventHubApplicationGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview+1": { + "New-AzEventHubApplicationGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/key1?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=a\",\n \"policies\": [\n {\n \"name\": \"t1\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 10000,\n \"metricId\": \"IncomingMessages\"\n },\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n }\n ]\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/key1?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "404" ] + "Content-Length": [ "70" ] } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "02cce070-2aa9-4ed0-86f5-be4b6ba456f8_M7SN1_M7SN1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-request-id": [ "5378a0dd-863d-44a4-8187-c4f20e44393b" ], + "x-ms-correlation-request-id": [ "5378a0dd-863d-44a4-8187-c4f20e44393b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174022Z:5378a0dd-863d-44a4-8187-c4f20e44393b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:40:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "isContentBase64": false + } + }, + "New-AzEventHubApplicationGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=key1\",\n \"policies\": [\n {\n \"name\": \"t1\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 10000,\n \"metricId\": \"IncomingMessages\"\n },\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "407" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "24498587-199f-414a-9ee8-5eae27824790_M0SN1_M0SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "3dc0cd57-ed6f-49f0-88bf-e0657fbd70ca" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055541Z:3dc0cd57-ed6f-49f0-88bf-e0657fbd70ca" ], + "x-ms-correlation-request-id": [ "5f080571-69dd-4371-81ce-1125ab72c5fc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174023Z:5f080571-69dd-4371-81ce-1125ab72c5fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:55:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:40:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "396" ], + "Content-Length": [ "541" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"\u003cError\u003e\u003cCode\u003e400\u003c/Code\u003e\u003cDetail\u003eCannot create or update an Application Group with non-existent SAS Key. TrackingId:46c13b9c-8977-4ef8-b0ae-6d30e9c73c4f_M7SN1_G11, SystemTracker:namespacename9ys3v4.servicebus.windows.net:$applicationgroups/appGroup5p9zhu, Timestamp:2023-04-17T05:55:41\u003c/Detail\u003e\u003c/Error\u003e CorrelationId: 3dc0cd57-ed6f-49f0-88bf-e0657fbd70ca\",\"code\":\"BadRequest\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000}],\"isEnabled\":true}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Tests.ps1 index fa3c6b4900af..8ea039da916a 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubApplicationGroup.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzEventHubApplicationGrou } Describe 'New-AzEventHubApplicationGroup' { - It 'CreateExpanded' -Skip { + It 'CreateExpanded' { $key1 = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -name key1 -Rights @("Manage", "Send", "Listen") $SASKey = "NamespaceSASKeyName="+$key1.Name $t1 = New-AzEventHubThrottlingPolicyConfig -Name t1 -MetricId IncomingMessages -RateLimitThreshold 10000 diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Recording.json index e202b9d201ed..913befec729f 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedNamespace+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+1": { + "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedNamespace+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -19,31 +19,31 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-request-id": [ "7c3e5934-04d7-45f1-8dc6-ae107a9c4af0" ], - "x-ms-correlation-request-id": [ "7c3e5934-04d7-45f1-8dc6-ae107a9c4af0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055606Z:7c3e5934-04d7-45f1-8dc6-ae107a9c4af0" ], + "x-ms-request-id": [ "8fb5b41b-5d2c-4137-a6d5-5426033abb73" ], + "x-ms-correlation-request-id": [ "8fb5b41b-5d2c-4137-a6d5-5426033abb73" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174048Z:8fb5b41b-5d2c-4137-a6d5-5426033abb73" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:40:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+2": { + "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "b6ca814c-094a-4850-a1a2-2c06e507b017" ], + "x-ms-unique-id": [ "89" ], + "x-ms-client-request-id": [ "78c15147-0744-4f73-932e-dd307d924183" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -59,27 +59,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], - "x-ms-request-id": [ "09d6992d-aff2-4f7d-bae3-23436deceeb6" ], - "x-ms-correlation-request-id": [ "09d6992d-aff2-4f7d-bae3-23436deceeb6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055607Z:09d6992d-aff2-4f7d-bae3-23436deceeb6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], + "x-ms-request-id": [ "52fcadf1-8773-4f30-a73e-2f79ff1bfa6a" ], + "x-ms-correlation-request-id": [ "52fcadf1-8773-4f30-a73e-2f79ff1bfa6a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174049Z:52fcadf1-8773-4f30-a73e-2f79ff1bfa6a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:40:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1090" ], + "Content-Length": [ "1421" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedEntity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+1": { + "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedEntity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -96,31 +96,31 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-request-id": [ "cf13019d-802c-4e2a-8dd3-90f3a6708a50" ], - "x-ms-correlation-request-id": [ "cf13019d-802c-4e2a-8dd3-90f3a6708a50" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055608Z:cf13019d-802c-4e2a-8dd3-90f3a6708a50" ], + "x-ms-request-id": [ "892e8af6-5d2c-44e7-9817-4a99b267cf23" ], + "x-ms-correlation-request-id": [ "892e8af6-5d2c-44e7-9817-4a99b267cf23" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174050Z:892e8af6-5d2c-44e7-9817-4a99b267cf23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:07 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:40:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "351" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Listen\"]}}", "isContentBase64": false } }, - "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+2": { + "New-AzEventHubAuthorizationRule+[NoContext]+NewExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "3044af62-1c0b-4373-a83d-c0d062d1e228" ], + "x-ms-unique-id": [ "91" ], + "x-ms-client-request-id": [ "d2f9d1a8-121f-49db-b329-16794cfcb122" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -136,20 +136,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], - "x-ms-request-id": [ "578e8f03-dda0-4453-8f08-173b7a1559f4" ], - "x-ms-correlation-request-id": [ "578e8f03-dda0-4453-8f08-173b7a1559f4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055608Z:578e8f03-dda0-4453-8f08-173b7a1559f4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11933" ], + "x-ms-request-id": [ "d3b4fb6b-8f7c-4787-b6f6-d53a350204e2" ], + "x-ms-correlation-request-id": [ "d3b4fb6b-8f7c-4787-b6f6-d53a350204e2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174050Z:d3b4fb6b-8f7c-4787-b6f6-d53a350204e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:40:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "771" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}]}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Tests.ps1 index 68d987c77c1c..aa16d3a67b65 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubAuthorizationRule.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzEventHubAuthorizationRu } Describe 'New-AzEventHubAuthorizationRule' { - It 'NewExpandedNamespace' -Skip { + It 'NewExpandedNamespace' { $authRule = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.authRule2 -Rights @("Manage", "Send", "Listen") $authRule.Name | Should -Be $env.authRule2 $authRule.ResourceGroupName | Should -Be $env.resourceGroup diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubConsumerGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubConsumerGroup.Recording.json index 97d3c051fc54..6a1c6cfa34f4 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubConsumerGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubConsumerGroup.Recording.json @@ -1,8 +1,8 @@ { - "New-AzEventHubConsumerGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroupw0ctse?api-version=2022-10-01-preview+1": { + "New-AzEventHubConsumerGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroupi10pxq?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroupw0ctse?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroupi10pxq?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"userMetadata\": \"Test Metadata\"\n }\n}", "isContentBase64": false, "Headers": { @@ -19,26 +19,26 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-request-id": [ "2a2c0b11-7850-4069-a8e1-873b89258193" ], - "x-ms-correlation-request-id": [ "2a2c0b11-7850-4069-a8e1-873b89258193" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055644Z:2a2c0b11-7850-4069-a8e1-873b89258193" ], + "x-ms-request-id": [ "426cecd9-094d-4a93-8e18-671332af9896" ], + "x-ms-correlation-request-id": [ "426cecd9-094d-4a93-8e18-671332af9896" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174129Z:426cecd9-094d-4a93-8e18-671332af9896" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:41:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroupw0ctse\",\"name\":\"consumerGroupw0ctse\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:56:44.6106982Z\",\"updatedAt\":\"2023-04-17T05:56:44.6106982Z\",\"userMetadata\":\"Test Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroupi10pxq\",\"name\":\"consumerGroupi10pxq\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:41:29.3668384Z\",\"updatedAt\":\"2023-08-17T17:41:29.3668384Z\",\"userMetadata\":\"Test Metadata\"}}", "isContentBase64": false } }, - "New-AzEventHubConsumerGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup0kjoen?api-version=2022-10-01-preview+2": { + "New-AzEventHubConsumerGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup815m4b?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup0kjoen?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup815m4b?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"userMetadata\": \"Test Metadata\"\n }\n}", "isContentBase64": false, "Headers": { @@ -55,19 +55,19 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], - "x-ms-request-id": [ "5dc941f7-9ab0-4739-9d21-3f7ac90c6d62" ], - "x-ms-correlation-request-id": [ "5dc941f7-9ab0-4739-9d21-3f7ac90c6d62" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055646Z:5dc941f7-9ab0-4739-9d21-3f7ac90c6d62" ], + "x-ms-request-id": [ "7e26aa19-9f85-46cc-bcbe-8b8e202611f7" ], + "x-ms-correlation-request-id": [ "7e26aa19-9f85-46cc-bcbe-8b8e202611f7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174130Z:7e26aa19-9f85-46cc-bcbe-8b8e202611f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:56:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:41:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup0kjoen\",\"name\":\"consumerGroup0kjoen\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:56:46.0326065Z\",\"updatedAt\":\"2023-04-17T05:56:46.0326065Z\",\"userMetadata\":\"Test Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup815m4b\",\"name\":\"consumerGroup815m4b\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:41:30.7796965Z\",\"updatedAt\":\"2023-08-17T17:41:30.7796965Z\",\"userMetadata\":\"Test Metadata\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubGeoDRConfiguration.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubGeoDRConfiguration.Recording.json index e73b73fdc11c..e7ff9072db42 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubGeoDRConfiguration.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubGeoDRConfiguration.Recording.json @@ -1,9 +1,9 @@ { - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+1": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -17,34 +17,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "73ded63c-e900-4065-a8d8-cff839e81cf7_M4SN1_M4SN1" ], + "x-ms-request-id": [ "91a03135-e82d-481e-ac49-077e408681fa_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], - "x-ms-correlation-request-id": [ "84514351-a9aa-4705-8dba-59c87f671dc7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055730Z:84514351-a9aa-4705-8dba-59c87f671dc7" ], + "x-ms-correlation-request-id": [ "00711a23-435e-49cd-af46-50ba4f35ef25" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174216Z:00711a23-435e-49cd-af46-50ba4f35ef25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:57:29 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+2": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "88" ], - "x-ms-client-request-id": [ "460c85ae-0343-4a3a-bf55-7c142ac449dd" ], + "x-ms-unique-id": [ "95" ], + "x-ms-client-request-id": [ "00a9da5e-53e9-4561-a650-3618d677c688" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -59,34 +59,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "88d3a07c-f002-48a6-88c3-948712630585_M4SN1_M4SN1" ], + "x-ms-request-id": [ "16fab80c-ebf2-4522-bb7b-dec4c3b1af96_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11920" ], - "x-ms-correlation-request-id": [ "d775dcc8-7a7a-4cda-91be-87586403e6cb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055731Z:d775dcc8-7a7a-4cda-91be-87586403e6cb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11932" ], + "x-ms-correlation-request-id": [ "91efc7ab-0b96-4d0a-abfc-2c491027b4cf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174217Z:91efc7ab-0b96-4d0a-abfc-2c491027b4cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:57:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+3": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "d3b8dfd0-30a7-46d8-ac55-1b5cbbc3727e" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "9a3a7d1a-e49c-403d-b0d0-16c28b459e86" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -101,34 +101,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4238a899-1db1-4561-a725-34ee911827c3_M4SN1_M4SN1" ], + "x-ms-request-id": [ "36c1b7df-40f2-4203-9df4-2ba6b597fbea_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11919" ], - "x-ms-correlation-request-id": [ "3b087da8-54dd-4404-ac1b-3e7060c15536" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055742Z:3b087da8-54dd-4404-ac1b-3e7060c15536" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11931" ], + "x-ms-correlation-request-id": [ "cee0a786-7781-42f9-b1b5-5e4a9dc3fb2f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174227Z:cee0a786-7781-42f9-b1b5-5e4a9dc3fb2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:57:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+4": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "90" ], - "x-ms-client-request-id": [ "2e2a1933-3987-44d5-b940-8aebb7ea8d5e" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "e22a2cec-ad78-4e3c-a46f-413ff718f78f" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -143,34 +143,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e764cece-7bd7-4932-b89f-827887cf6c54_M4SN1_M4SN1" ], + "x-ms-request-id": [ "96d38239-9bc8-40be-ace4-b170aeedd447_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11918" ], - "x-ms-correlation-request-id": [ "b38e542c-4e79-4971-9e09-495278d8983a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055752Z:b38e542c-4e79-4971-9e09-495278d8983a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11930" ], + "x-ms-correlation-request-id": [ "2b0d8473-e2d3-47df-a987-e917ffdc2df8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174238Z:2b0d8473-e2d3-47df-a987-e917ffdc2df8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:57:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+5": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "91" ], - "x-ms-client-request-id": [ "a90f3de6-35ae-4cdb-8a21-c04120b94b93" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "05ba44cb-9abe-47e7-913b-332079798317" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -185,34 +185,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "17271fd1-a4bc-4185-813f-3ccf038bb47a_M4SN1_M4SN1" ], + "x-ms-request-id": [ "19bf1bcb-f90c-4511-afcf-dce1dbbd7d29_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11917" ], - "x-ms-correlation-request-id": [ "177d0da1-79be-4dff-a213-c329227090cb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055802Z:177d0da1-79be-4dff-a213-c329227090cb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11929" ], + "x-ms-correlation-request-id": [ "bfafb228-8903-445c-b4ef-53ba7386d413" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174248Z:bfafb228-8903-445c-b4ef-53ba7386d413" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:02 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+6": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "92" ], - "x-ms-client-request-id": [ "4c69e0e4-3518-47a7-b2a5-300c8c80a0a4" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "8b72abc4-5b7b-4082-a5fa-608737ac3e73" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -227,34 +227,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "37d78441-d35f-43d2-877a-f5768a113bed_M4SN1_M4SN1" ], + "x-ms-request-id": [ "ed2b37eb-0c13-4402-82ee-8674c0897252_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11916" ], - "x-ms-correlation-request-id": [ "99a07f85-5cd1-489e-ac13-7ab85b1f4012" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055812Z:99a07f85-5cd1-489e-ac13-7ab85b1f4012" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11928" ], + "x-ms-correlation-request-id": [ "bf2ac7a0-cc03-4144-9ec9-8fd4564846d4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174258Z:bf2ac7a0-cc03-4144-9ec9-8fd4564846d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:42:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+7": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "93" ], - "x-ms-client-request-id": [ "47a47a74-7170-4c90-ad76-210ecd544e7b" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "d6b07ba2-3d80-4e9e-bef1-59e1a40e4d02" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -269,34 +269,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "45ea3a96-8460-4ccd-ac72-b24e9f5d84c5_M4SN1_M4SN1" ], + "x-ms-request-id": [ "d888abdf-f5ad-48f1-bd6d-f90d49019430_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11915" ], - "x-ms-correlation-request-id": [ "493586db-f2a4-457d-8aaa-baf6434d9009" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055823Z:493586db-f2a4-457d-8aaa-baf6434d9009" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11927" ], + "x-ms-correlation-request-id": [ "06ba047d-8e56-4e44-8229-29aedd52ddaf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174309Z:06ba047d-8e56-4e44-8229-29aedd52ddaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:23 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:43:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+8": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "94" ], - "x-ms-client-request-id": [ "5e7f5924-c035-45ee-969a-22e69b7da485" ], + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "3f188a15-1e6d-4287-b5a3-fd161ccebba4" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -311,34 +311,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8a659d23-bd5d-4fe7-b07c-20f6e8562d45_M4SN1_M4SN1" ], + "x-ms-request-id": [ "45746d44-38d4-460b-803c-22a47573a909_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11914" ], - "x-ms-correlation-request-id": [ "3cadda08-07b5-4512-8b3d-f6e5f4d0220e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055833Z:3cadda08-07b5-4512-8b3d-f6e5f4d0220e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], + "x-ms-correlation-request-id": [ "72b9722e-ce6c-4bc8-982e-f4d973bed0ba" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174319Z:72b9722e-ce6c-4bc8-982e-f4d973bed0ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:43:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+9": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "95" ], - "x-ms-client-request-id": [ "bc88cd48-c7bd-4331-8036-fdcc0a22d562" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "b82800e2-0b8b-4398-b874-3fb94a4ed8c6" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -353,34 +353,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d5733865-e0be-42be-81aa-4af21cd110c8_M4SN1_M4SN1" ], + "x-ms-request-id": [ "b2041f4c-392a-4b72-bc20-377ed3610f2c_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11913" ], - "x-ms-correlation-request-id": [ "83d65eb9-2275-4318-9c7a-f83bbcbacd39" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055844Z:83d65eb9-2275-4318-9c7a-f83bbcbacd39" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], + "x-ms-correlation-request-id": [ "203cf220-6d93-4b0d-9dc2-7acd0496dd60" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174329Z:203cf220-6d93-4b0d-9dc2-7acd0496dd60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:43 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:43:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+10": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "96" ], - "x-ms-client-request-id": [ "8ae2303c-7a49-4b10-9c76-491887276188" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "e0c2b5d2-23d2-4a3a-8481-519de2840533" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -395,34 +395,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "01c27d8c-2bce-4c2f-b1c1-b0f997fe8be2_M4SN1_M4SN1" ], + "x-ms-request-id": [ "3b6e2fe3-b035-40d1-a7a5-557e6ea4e3c7_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11912" ], - "x-ms-correlation-request-id": [ "5ae3f57a-b453-4ad7-8ded-e31eb08beee4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055854Z:5ae3f57a-b453-4ad7-8ded-e31eb08beee4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], + "x-ms-correlation-request-id": [ "05842d7d-ff5d-4962-93f7-2b58b53909ff" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174340Z:05842d7d-ff5d-4962-93f7-2b58b53909ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:58:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:43:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+11": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "97" ], - "x-ms-client-request-id": [ "92f43423-84f4-46f3-a1cb-66112da28b65" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "c035e9de-2933-44d7-b745-847e32034245" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -437,34 +437,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bce81a41-8650-4338-906b-33ad214d169a_M4SN1_M4SN1" ], + "x-ms-request-id": [ "7f900f52-d466-4b0c-b9d5-f69d86d14614_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11911" ], - "x-ms-correlation-request-id": [ "1b59d6bc-7306-4023-bb3b-11322bad3d49" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055904Z:1b59d6bc-7306-4023-bb3b-11322bad3d49" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], + "x-ms-correlation-request-id": [ "6d118d26-2d73-468b-91f7-09bc368ad6f3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174350Z:6d118d26-2d73-468b-91f7-09bc368ad6f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:43:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+12": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "98" ], - "x-ms-client-request-id": [ "09fd6039-eefe-4fc3-add9-1d4657009082" ], + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "261b884a-318b-44d4-9395-146af6921b3c" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -479,34 +479,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8e0942dc-0fc7-4030-bb2b-b2857a98c1df_M4SN1_M4SN1" ], + "x-ms-request-id": [ "081c0aaa-cdcc-4875-8e31-95baf7ac03b8_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11910" ], - "x-ms-correlation-request-id": [ "e522bbbf-be82-4406-ac60-2b6fe3017ede" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055915Z:e522bbbf-be82-4406-ac60-2b6fe3017ede" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], + "x-ms-correlation-request-id": [ "6fa68380-f88f-403a-83fd-db19e32e91cf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174401Z:6fa68380-f88f-403a-83fd-db19e32e91cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:01 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+13": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "99" ], - "x-ms-client-request-id": [ "c7720bc4-aa7d-4a56-a4e3-727f0b624820" ], + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "a2da5ba5-f825-49f3-b91a-a509ebd493b2" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -521,34 +521,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2b77cfbd-92bd-4853-ae77-f2a93c9bc186_M1SN1_M1SN1" ], + "x-ms-request-id": [ "fe07b056-67a7-4c35-b07b-da54c2a5441e_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11909" ], - "x-ms-correlation-request-id": [ "e18e5efb-8088-497f-90c0-db0a3f70e222" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055925Z:e18e5efb-8088-497f-90c0-db0a3f70e222" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], + "x-ms-correlation-request-id": [ "f82dc3c9-d800-451d-b2fc-3c9390697053" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174411Z:f82dc3c9-d800-451d-b2fc-3c9390697053" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:11 GMT" ] }, "ContentHeaders": { "Content-Length": [ "554" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationRules?api-version=2022-10-01-preview+14": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationRules?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "100" ], - "x-ms-client-request-id": [ "532dc78e-f4a4-44f2-ae45-e25aa91754bf" ], + "x-ms-unique-id": [ "107" ], + "x-ms-client-request-id": [ "d5b20519-c2eb-4075-a3aa-87e14632f57d" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -564,32 +564,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11908" ], - "x-ms-request-id": [ "818ea5e7-bf6e-47c4-a139-aa9a8385f2db" ], - "x-ms-correlation-request-id": [ "818ea5e7-bf6e-47c4-a139-aa9a8385f2db" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055926Z:818ea5e7-bf6e-47c4-a139-aa9a8385f2db" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11920" ], + "x-ms-request-id": [ "9a91413d-e699-4f7b-b9f6-c32d6139f9d7" ], + "x-ms-correlation-request-id": [ "9a91413d-e699-4f7b-b9f6-c32d6139f9d7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174412Z:9a91413d-e699-4f7b-b9f6-c32d6139f9d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "725" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationrules/authRule1\",\"name\":\"authRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationrules/authRule1\",\"name\":\"authRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules?api-version=2022-10-01-preview+15": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules?api-version=2023-01-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "101" ], - "x-ms-client-request-id": [ "47987609-f4e2-4aff-8e50-4e0ee9ac3d50" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "ac9f282a-ee2a-491a-8e8c-dae927d70081" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubDisasterRecoveryConfigAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubDisasterRecoveryConfigAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -604,34 +604,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b95a6c53-5d0c-49dd-9dce-7e97517d1913_M4SN1_M4SN1" ], + "x-ms-request-id": [ "d62cc640-9f6f-4092-a3b7-462c38c08b38_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11907" ], - "x-ms-correlation-request-id": [ "1de71ea1-4c79-48ae-bdc6-1bfa701f3b11" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055928Z:1de71ea1-4c79-48ae-bdc6-1bfa701f3b11" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11919" ], + "x-ms-correlation-request-id": [ "663ca600-6f2b-42e2-9c37-fef82f7f4632" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174413Z:663ca600-6f2b-42e2-9c37-fef82f7f4632" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:27 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "799" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/authRule1\",\"name\":\"authRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/authRule1\",\"name\":\"authRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey?api-version=2022-10-01-preview+16": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "102" ], - "x-ms-client-request-id": [ "c276de87-db57-4181-a1ac-18e0bc4cf1a3" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "b9ed6eac-968f-4998-b98c-9cb260877a81" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubDisasterRecoveryConfigAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubDisasterRecoveryConfigAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -646,34 +646,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "346a00ea-53fa-4cd8-8f98-77607a4f3a3b_M4SN1_M4SN1" ], + "x-ms-request-id": [ "f79fc451-830c-4bf1-a028-dc74390c3ce2_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11906" ], - "x-ms-correlation-request-id": [ "1682fb35-5a0c-4d62-9147-06e195f9e64e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055930Z:1682fb35-5a0c-4d62-9147-06e195f9e64e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11918" ], + "x-ms-correlation-request-id": [ "6e57af82-4103-409c-898c-bd6db1831882" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174414Z:6e57af82-4103-409c-898c-bd6db1831882" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:29 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "409" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"East US\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2022-10-01-preview+17": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2023-01-01-preview+17": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "103" ], - "x-ms-client-request-id": [ "da17447d-fd6c-4387-816c-0bace0aaab92" ], + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "d3cf9bac-916f-4df0-93ca-e5829d487b23" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubDisasterRecoveryConfigKey_List" ], "FullCommandName": [ "Get-AzEventHubDisasterRecoveryConfigKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -688,34 +688,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7e21480b-e82b-4d79-a31e-336fab7a113b_M4SN1_M4SN1" ], + "x-ms-request-id": [ "8b7249eb-cb86-45b9-a864-58c994a27674_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "f3d23eb8-f569-4bd0-b22b-07ea926b6f51" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055931Z:f3d23eb8-f569-4bd0-b22b-07ea926b6f51" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "cf9372e6-3438-477a-a522-0c58f8e0d01a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174415Z:cf9372e6-3438-477a-a522-0c58f8e0d01a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "543" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"aliasPrimaryConnectionString\":\"Endpoint=sb://aliastki2cz.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=f52SnITXHB6U3cxBaK4yl6l9xPviJONlC+AEhPLa97w=\",\"aliasSecondaryConnectionString\":\"Endpoint=sb://aliastki2cz.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=eZ1FCZZQ0fPtLMdPaVnWqBl+YUj+2HTcW+AEhDGFz5E=\",\"primaryKey\":\"f52SnITXHB6U3cxBaK4yl6l9xPviJONlC+AEhPLa97w=\",\"secondaryKey\":\"eZ1FCZZQ0fPtLMdPaVnWqBl+YUj+2HTcW+AEhDGFz5E=\",\"keyName\":\"RootManageSharedAccessKey\"}", + "Content": "{\"aliasPrimaryConnectionString\":\"Endpoint=sb://alias0s4m1l.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=hrnrdL+Gi+QwirLh++wG5UlcUSNDuveBZ+AEhCAWSSA=\",\"aliasSecondaryConnectionString\":\"Endpoint=sb://alias0s4m1l.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=wYjYYvv3Ew6OkFFT1KXDyRAFuPnFxd38P+AEhBAyIqw=\",\"primaryKey\":\"hrnrdL+Gi+QwirLh++wG5UlcUSNDuveBZ+AEhCAWSSA=\",\"secondaryKey\":\"wYjYYvv3Ew6OkFFT1KXDyRAFuPnFxd38P+AEhBAyIqw=\",\"keyName\":\"RootManageSharedAccessKey\"}", "isContentBase64": false } }, - "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2022-10-01-preview+18": { + "New-AzEventHubGeoDRConfiguration+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2023-01-01-preview+18": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/authorizationRules/RootManageSharedAccessKey/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104" ], - "x-ms-client-request-id": [ "ddacbbfa-ac64-42fc-8c6a-0bd4e1c08b28" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "c481ab35-dd3d-435e-ab69-5d2b84aec541" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceKey_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -731,20 +731,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-request-id": [ "62df62a5-2908-408d-81f6-31e3cca71f6b" ], - "x-ms-correlation-request-id": [ "62df62a5-2908-408d-81f6-31e3cca71f6b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T055931Z:62df62a5-2908-408d-81f6-31e3cca71f6b" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-request-id": [ "56aa4b91-cb28-459b-bec9-7aa250155079" ], + "x-ms-correlation-request-id": [ "56aa4b91-cb28-459b-bec9-7aa250155079" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174415Z:56aa4b91-cb28-459b-bec9-7aa250155079" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 05:59:31 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "931" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamejzobdw.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=f52SnITXHB6U3cxBaK4yl6l9xPviJONlC+AEhPLa97w=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamejzobdw.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=eZ1FCZZQ0fPtLMdPaVnWqBl+YUj+2HTcW+AEhDGFz5E=\",\"primaryKey\":\"f52SnITXHB6U3cxBaK4yl6l9xPviJONlC+AEhPLa97w=\",\"secondaryKey\":\"eZ1FCZZQ0fPtLMdPaVnWqBl+YUj+2HTcW+AEhDGFz5E=\",\"keyName\":\"RootManageSharedAccessKey\",\"aliasPrimaryConnectionString\":\"Endpoint=sb://aliastki2cz.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=f52SnITXHB6U3cxBaK4yl6l9xPviJONlC+AEhPLa97w=\",\"aliasSecondaryConnectionString\":\"Endpoint=sb://aliastki2cz.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=eZ1FCZZQ0fPtLMdPaVnWqBl+YUj+2HTcW+AEhDGFz5E=\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamep9d7hv.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=hrnrdL+Gi+QwirLh++wG5UlcUSNDuveBZ+AEhCAWSSA=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamep9d7hv.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=wYjYYvv3Ew6OkFFT1KXDyRAFuPnFxd38P+AEhBAyIqw=\",\"primaryKey\":\"hrnrdL+Gi+QwirLh++wG5UlcUSNDuveBZ+AEhCAWSSA=\",\"secondaryKey\":\"wYjYYvv3Ew6OkFFT1KXDyRAFuPnFxd38P+AEhBAyIqw=\",\"keyName\":\"RootManageSharedAccessKey\",\"aliasPrimaryConnectionString\":\"Endpoint=sb://alias0s4m1l.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=hrnrdL+Gi+QwirLh++wG5UlcUSNDuveBZ+AEhCAWSSA=\",\"aliasSecondaryConnectionString\":\"Endpoint=sb://alias0s4m1l.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=wYjYYvv3Ew6OkFFT1KXDyRAFuPnFxd38P+AEhBAyIqw=\"}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubKey.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubKey.Recording.json index 001e9754b527..5fd1e05db4dc 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubKey.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubKey.Recording.json @@ -1,13 +1,13 @@ { - "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/listKeys?api-version=2022-10-01-preview+1": { + "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/listKeys?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "105" ], - "x-ms-client-request-id": [ "9ccab009-2781-4548-895d-e90749f6caf5" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "f45001ae-9053-40e4-b26b-4c204cc09dc9" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceKey_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,28 +22,28 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-request-id": [ "ea4e0b95-d4b8-4f04-9220-fd6868c30e9c" ], - "x-ms-correlation-request-id": [ "ea4e0b95-d4b8-4f04-9220-fd6868c30e9c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060006Z:ea4e0b95-d4b8-4f04-9220-fd6868c30e9c" ], + "x-ms-request-id": [ "18dd3d40-c2fb-4280-a928-a9afec95880f" ], + "x-ms-correlation-request-id": [ "18dd3d40-c2fb-4280-a928-a9afec95880f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174454Z:18dd3d40-c2fb-4280-a928-a9afec95880f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:44:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=ov3iFT0NJWqvYVpHZVIqpZLkhr4SrhVni+AEhHeraCE=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"primaryKey\":\"ov3iFT0NJWqvYVpHZVIqpZLkhr4SrhVni+AEhHeraCE=\",\"secondaryKey\":\"SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=BLNobagy5+I1e+n7TZhvWkbhdE/ZArcaC+AEhJ1gPX4=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"primaryKey\":\"BLNobagy5+I1e+n7TZhvWkbhdE/ZArcaC+AEhJ1gPX4=\",\"secondaryKey\":\"0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview+2": { + "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview", "Content": "{\n \"keyType\": \"PrimaryKey\"\n}", "isContentBase64": false, "Headers": { @@ -59,27 +59,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-request-id": [ "a5d04e02-b981-45d7-83a3-e7c264a60c9e" ], - "x-ms-correlation-request-id": [ "a5d04e02-b981-45d7-83a3-e7c264a60c9e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060012Z:a5d04e02-b981-45d7-83a3-e7c264a60c9e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-request-id": [ "7e58cfde-410b-4516-ba33-f96d08c5af27" ], + "x-ms-correlation-request-id": [ "7e58cfde-410b-4516-ba33-f96d08c5af27" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174500Z:7e58cfde-410b-4516-ba33-f96d08c5af27" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=GBtFCm2AiwSdRe0su5W4INZaik58kT9gc+AEhPbLUX8=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"primaryKey\":\"GBtFCm2AiwSdRe0su5W4INZaik58kT9gc+AEhPbLUX8=\",\"secondaryKey\":\"SLvfVR91ZMMr96vETAkjc4j8TsTuNcvDl+AEhMWqQAs=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=yCfv5ujyH+Bulwkf5ZuAbXhMzIWo9Nc8z+AEhL1x298=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"primaryKey\":\"yCfv5ujyH+Bulwkf5ZuAbXhMzIWo9Nc8z+AEhL1x298=\",\"secondaryKey\":\"0tdbP8a0iOlVBkHsIbiBoVWBbhp03cNRo+AEhMWmPRs=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview+3": { + "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview+3": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview", "Content": "{\n \"keyType\": \"SecondaryKey\"\n}", "isContentBase64": false, "Headers": { @@ -95,28 +95,28 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-request-id": [ "0fea2d3a-8a7a-4768-a793-c2644d082147" ], - "x-ms-correlation-request-id": [ "0fea2d3a-8a7a-4768-a793-c2644d082147" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060019Z:0fea2d3a-8a7a-4768-a793-c2644d082147" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-request-id": [ "a6d5b5df-3f7a-477c-a464-771bd874b5da" ], + "x-ms-correlation-request-id": [ "a6d5b5df-3f7a-477c-a464-771bd874b5da" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174507Z:a6d5b5df-3f7a-477c-a464-771bd874b5da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=GBtFCm2AiwSdRe0su5W4INZaik58kT9gc+AEhPbLUX8=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=oAyQr0x9JGD2ck4Lbjk9LHE/79cPaNCtl+AEhOi1Dq0=\",\"primaryKey\":\"GBtFCm2AiwSdRe0su5W4INZaik58kT9gc+AEhPbLUX8=\",\"secondaryKey\":\"oAyQr0x9JGD2ck4Lbjk9LHE/79cPaNCtl+AEhOi1Dq0=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=yCfv5ujyH+Bulwkf5ZuAbXhMzIWo9Nc8z+AEhL1x298=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=NuvdwOKfDHXnmaVyYA1bknbbbrycdYG9n+AEhK3EWLE=\",\"primaryKey\":\"yCfv5ujyH+Bulwkf5ZuAbXhMzIWo9Nc8z+AEhL1x298=\",\"secondaryKey\":\"NuvdwOKfDHXnmaVyYA1bknbbbrycdYG9n+AEhK3EWLE=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview+4": { + "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview", - "Content": "{\n \"keyType\": \"PrimaryKey\",\n \"key\": \"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview", + "Content": "{\n \"keyType\": \"PrimaryKey\",\n \"key\": \"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\"\n}", "isContentBase64": false, "Headers": { }, @@ -131,28 +131,28 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-request-id": [ "7be0a153-cbb7-4ca3-b01d-736c61815a09" ], - "x-ms-correlation-request-id": [ "7be0a153-cbb7-4ca3-b01d-736c61815a09" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060025Z:7be0a153-cbb7-4ca3-b01d-736c61815a09" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-request-id": [ "335c688f-f2ce-44c8-ae62-b5dfbb12af9f" ], + "x-ms-correlation-request-id": [ "335c688f-f2ce-44c8-ae62-b5dfbb12af9f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174513Z:335c688f-f2ce-44c8-ae62-b5dfbb12af9f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=oAyQr0x9JGD2ck4Lbjk9LHE/79cPaNCtl+AEhOi1Dq0=\",\"primaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryKey\":\"oAyQr0x9JGD2ck4Lbjk9LHE/79cPaNCtl+AEhOi1Dq0=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=NuvdwOKfDHXnmaVyYA1bknbbbrycdYG9n+AEhK3EWLE=\",\"primaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryKey\":\"NuvdwOKfDHXnmaVyYA1bknbbbrycdYG9n+AEhK3EWLE=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview+5": { + "New-AzEventHubKey+[NoContext]+NewExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulepisblj/regenerateKeys?api-version=2022-10-01-preview", - "Content": "{\n \"keyType\": \"SecondaryKey\",\n \"key\": \"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruletay4fg/regenerateKeys?api-version=2023-01-01-preview", + "Content": "{\n \"keyType\": \"SecondaryKey\",\n \"key\": \"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\"\n}", "isContentBase64": false, "Headers": { }, @@ -167,32 +167,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-request-id": [ "01cd9589-bd33-4c49-9d15-b79d212f718c" ], - "x-ms-correlation-request-id": [ "01cd9589-bd33-4c49-9d15-b79d212f718c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060032Z:01cd9589-bd33-4c49-9d15-b79d212f718c" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-request-id": [ "7c491c60-225a-4579-8eb0-c3f1b6230bd8" ], + "x-ms-correlation-request-id": [ "7c491c60-225a-4579-8eb0-c3f1b6230bd8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174520Z:7c491c60-225a-4579-8eb0-c3f1b6230bd8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:32 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rulepisblj;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"primaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"keyName\":\"auth-rulepisblj\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-ruletay4fg;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"primaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"keyName\":\"auth-ruletay4fg\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/listKeys?api-version=2022-10-01-preview+1": { + "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/listKeys?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/listKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/listKeys?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "110" ], - "x-ms-client-request-id": [ "ae0efc4b-9845-47f8-97e9-656193096f0a" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "e4374bc3-7260-4c02-a41d-a9e6a4d3f0a9" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubKey_List" ], "FullCommandName": [ "Get-AzEventHubKey_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -208,27 +208,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-request-id": [ "a27ed10d-42c5-4019-afc6-3301cc8a944d" ], - "x-ms-correlation-request-id": [ "a27ed10d-42c5-4019-afc6-3301cc8a944d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060033Z:a27ed10d-42c5-4019-afc6-3301cc8a944d" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "x-ms-request-id": [ "d1b64582-d040-4df6-82b7-c4a8c27cd177" ], + "x-ms-correlation-request-id": [ "d1b64582-d040-4df6-82b7-c4a8c27cd177" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174521Z:d1b64582-d040-4df6-82b7-c4a8c27cd177" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=TL3tqf0lcxNpM9+4awXf6eAhcQtQuECTQ+AEhMqP3TY=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"TL3tqf0lcxNpM9+4awXf6eAhcQtQuECTQ+AEhMqP3TY=\",\"secondaryKey\":\"ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=+a9vLO9Z187+7Djn598JbtjaV4NEZZmmG+AEhKGtFjg=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"+a9vLO9Z187+7Djn598JbtjaV4NEZZmmG+AEhKGtFjg=\",\"secondaryKey\":\"ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview+2": { + "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview", "Content": "{\n \"keyType\": \"PrimaryKey\"\n}", "isContentBase64": false, "Headers": { @@ -244,27 +244,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-request-id": [ "ae20e2aa-2a29-4c03-911a-90dc9ad5a376" ], - "x-ms-correlation-request-id": [ "ae20e2aa-2a29-4c03-911a-90dc9ad5a376" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060033Z:ae20e2aa-2a29-4c03-911a-90dc9ad5a376" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], + "x-ms-request-id": [ "977bd88f-cde5-4757-9b8a-fb634d9c754f" ], + "x-ms-correlation-request-id": [ "977bd88f-cde5-4757-9b8a-fb634d9c754f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174521Z:977bd88f-cde5-4757-9b8a-fb634d9c754f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=QSziLp3biuoph6XbSUaUNc70lXS5V8KNo+AEhP3Lz9Y=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"QSziLp3biuoph6XbSUaUNc70lXS5V8KNo+AEhP3Lz9Y=\",\"secondaryKey\":\"ZMbaAn61PsRGngyHiqQjPdDh0Mz7Oner1+AEhFlOV6o=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=hvcxYhjt1NhDuqeSZEJMzNok/gVB0cZJH+AEhGaZh0s=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"hvcxYhjt1NhDuqeSZEJMzNok/gVB0cZJH+AEhGaZh0s=\",\"secondaryKey\":\"ZPavB7zG4QAVnmJ5EGMDZ8tZGtKbiQHWL+AEhBahm2w=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview+3": { + "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview+3": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview", "Content": "{\n \"keyType\": \"SecondaryKey\"\n}", "isContentBase64": false, "Headers": { @@ -280,28 +280,28 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-request-id": [ "7f38b57b-01f3-4905-8d06-4335f13b12e2" ], - "x-ms-correlation-request-id": [ "7f38b57b-01f3-4905-8d06-4335f13b12e2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060034Z:7f38b57b-01f3-4905-8d06-4335f13b12e2" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], + "x-ms-request-id": [ "f21b9355-cac8-40c3-baa4-2fdecab95930" ], + "x-ms-correlation-request-id": [ "f21b9355-cac8-40c3-baa4-2fdecab95930" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174522Z:f21b9355-cac8-40c3-baa4-2fdecab95930" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=QSziLp3biuoph6XbSUaUNc70lXS5V8KNo+AEhP3Lz9Y=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=9SIYtM1toG5bWWPpEYKOVxfmnP0H+Y//5+AEhO3PX3I=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"QSziLp3biuoph6XbSUaUNc70lXS5V8KNo+AEhP3Lz9Y=\",\"secondaryKey\":\"9SIYtM1toG5bWWPpEYKOVxfmnP0H+Y//5+AEhO3PX3I=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=hvcxYhjt1NhDuqeSZEJMzNok/gVB0cZJH+AEhGaZh0s=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=uhE6CSgogjwxtKCVFZiWbcscuTc+zi5rr+AEhGzR1Sc=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"hvcxYhjt1NhDuqeSZEJMzNok/gVB0cZJH+AEhGaZh0s=\",\"secondaryKey\":\"uhE6CSgogjwxtKCVFZiWbcscuTc+zi5rr+AEhGzR1Sc=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview+4": { + "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview", - "Content": "{\n \"keyType\": \"PrimaryKey\",\n \"key\": \"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview", + "Content": "{\n \"keyType\": \"PrimaryKey\",\n \"key\": \"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\"\n}", "isContentBase64": false, "Headers": { }, @@ -316,28 +316,28 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], - "x-ms-request-id": [ "52991f3b-42c6-4d4c-a790-b9e3ddf0f55d" ], - "x-ms-correlation-request-id": [ "52991f3b-42c6-4d4c-a790-b9e3ddf0f55d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060034Z:52991f3b-42c6-4d4c-a790-b9e3ddf0f55d" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], + "x-ms-request-id": [ "249bfa38-195d-4b43-a556-f12c3f4142cf" ], + "x-ms-correlation-request-id": [ "249bfa38-195d-4b43-a556-f12c3f4142cf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174522Z:249bfa38-195d-4b43-a556-f12c3f4142cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=9SIYtM1toG5bWWPpEYKOVxfmnP0H+Y//5+AEhO3PX3I=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryKey\":\"9SIYtM1toG5bWWPpEYKOVxfmnP0H+Y//5+AEhO3PX3I=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=uhE6CSgogjwxtKCVFZiWbcscuTc+zi5rr+AEhGzR1Sc=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryKey\":\"uhE6CSgogjwxtKCVFZiWbcscuTc+zi5rr+AEhGzR1Sc=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } }, - "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview+5": { + "New-AzEventHubKey+[NoContext]+NewExpandedEntity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rule61or5h/regenerateKeys?api-version=2022-10-01-preview", - "Content": "{\n \"keyType\": \"SecondaryKey\",\n \"key\": \"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule3xagfb/regenerateKeys?api-version=2023-01-01-preview", + "Content": "{\n \"keyType\": \"SecondaryKey\",\n \"key\": \"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\"\n}", "isContentBase64": false, "Headers": { }, @@ -352,20 +352,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], - "x-ms-request-id": [ "04cc8162-2d00-40f0-b57d-7497a59d8f51" ], - "x-ms-correlation-request-id": [ "04cc8162-2d00-40f0-b57d-7497a59d8f51" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060035Z:04cc8162-2d00-40f0-b57d-7497a59d8f51" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], + "x-ms-request-id": [ "6ca3208c-4c11-40ab-8894-43f4025832d0" ], + "x-ms-correlation-request-id": [ "6ca3208c-4c11-40ab-8894-43f4025832d0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174523Z:6ca3208c-4c11-40ab-8894-43f4025832d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:00:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:45:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "571" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=;EntityPath=eventHube8fp3c\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename9ys3v4.servicebus.windows.net/;SharedAccessKeyName=auth-rule61or5h;SharedAccessKey=iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=;EntityPath=eventHube8fp3c\",\"primaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"secondaryKey\":\"iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=\",\"keyName\":\"auth-rule61or5h\"}", + "Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=;EntityPath=eventHub6mc5ow\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamenysd8k.servicebus.windows.net/;SharedAccessKeyName=auth-rule3xagfb;SharedAccessKey=amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=;EntityPath=eventHub6mc5ow\",\"primaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"secondaryKey\":\"amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=\",\"keyName\":\"auth-rule3xagfb\"}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Recording.json index 707d56be6e58..7105c8fc9941 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Recording.json @@ -1,8 +1,8 @@ { - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+1": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\"\n }\n}", "isContentBase64": false, "Headers": { @@ -17,37 +17,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "306d970f-2681-4880-b359-75f6f2493e5e_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f50104ef-ab5e-401b-9eff-8007defcdda3_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "48" ], - "x-ms-correlation-request-id": [ "beedc006-6df8-4804-9c14-d093240b659f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060112Z:beedc006-6df8-4804-9c14-d093240b659f" ], + "x-ms-correlation-request-id": [ "8c531530-91a2-4fc5-957f-bcc2f428f486" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174624Z:8c531530-91a2-4fc5-957f-bcc2f428f486" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:01:11 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:46:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], + "Content-Length": [ "786" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:01:10.11Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T17:46:23.673Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+2": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "116" ], - "x-ms-client-request-id": [ "6ec0fb3b-5aa2-4dde-9665-8927357e62d2" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "123" ], + "x-ms-client-request-id": [ "095c3b9d-dd6e-449f-8e03-9609b2bd4cc8" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -59,37 +59,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e9359350-b47a-4132-85c7-2e6a169a7f37_M1SN1_M1SN1" ], + "x-ms-request-id": [ "cf2a218c-6e4e-4598-af5c-f85e22dfbc87_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11905" ], - "x-ms-correlation-request-id": [ "0a446fc9-4ed8-4f74-948c-c6dec9e11801" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060142Z:0a446fc9-4ed8-4f74-948c-c6dec9e11801" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11917" ], + "x-ms-correlation-request-id": [ "1c36b2ef-8550-4477-8beb-301a43b5bdb9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174654Z:1c36b2ef-8550-4477-8beb-301a43b5bdb9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:01:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:46:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], + "Content-Length": [ "786" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:01:10.11Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T17:46:23.673Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+3": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "117" ], - "x-ms-client-request-id": [ "6ec0fb3b-5aa2-4dde-9665-8927357e62d2" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "124" ], + "x-ms-client-request-id": [ "095c3b9d-dd6e-449f-8e03-9609b2bd4cc8" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -101,37 +101,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "49b2441c-b96a-46f3-8718-953346007259_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f489d0cc-4c01-457a-a495-df155efa7014_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11904" ], - "x-ms-correlation-request-id": [ "cc7acf72-30c6-4861-8c61-e2ae4940d59d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060212Z:cc7acf72-30c6-4861-8c61-e2ae4940d59d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11916" ], + "x-ms-correlation-request-id": [ "1cdc1f3b-ed83-49cb-9011-6c2686109c3e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174725Z:1cdc1f3b-ed83-49cb-9011-6c2686109c3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:02:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:47:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:01:59.053Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T17:47:12.307Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+4": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "118" ], - "x-ms-client-request-id": [ "6ec0fb3b-5aa2-4dde-9665-8927357e62d2" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "125" ], + "x-ms-client-request-id": [ "095c3b9d-dd6e-449f-8e03-9609b2bd4cc8" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -143,30 +143,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "03e1ccb9-2cef-426d-b739-fb2abe038dcb_M1SN1_M1SN1" ], + "x-ms-request-id": [ "fde5d70a-aa3c-46b8-b115-cd49f6bb9260_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11903" ], - "x-ms-correlation-request-id": [ "0622cdab-9e27-40b6-ac90-2e0087f5eaf2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060213Z:0622cdab-9e27-40b6-ac90-2e0087f5eaf2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11915" ], + "x-ms-correlation-request-id": [ "90ed4866-085c-43a2-952c-bc247c545159" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174725Z:90ed4866-085c-43a2-952c-bc247c545159" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:02:13 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:47:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:01:59.053Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T17:47:12.307Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview+5": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+5": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"southcentralus\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"southcentralus\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -180,37 +180,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c21b77ec-fa61-425a-8b06-4e79727741f5_M1SN1_M1SN1" ], + "x-ms-request-id": [ "592a2832-2bd0-45bc-bf07-aa6453b32bfa_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "47" ], - "x-ms-correlation-request-id": [ "b5c92f7b-88d5-4ab9-b271-36e4ef419279" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060216Z:b5c92f7b-88d5-4ab9-b271-36e4ef419279" ], + "x-ms-correlation-request-id": [ "42555f2e-a865-466f-9bfd-463c5eecb0df" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174727Z:42555f2e-a865-466f-9bfd-463c5eecb0df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:02:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:47:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve\",\"name\":\"namespaceV3zlj8ve\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3zlj8ve\",\"createdAt\":\"2023-04-17T06:02:16.013Z\",\"updatedAt\":\"2023-04-17T06:02:16.013Z\",\"serviceBusEndpoint\":\"https://namespaceV3zlj8ve.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:47:26.903Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview+6": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "120" ], - "x-ms-client-request-id": [ "413c9d56-1b55-4007-972a-20120e151fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "127" ], + "x-ms-client-request-id": [ "3ada2294-022c-4684-afe1-770df8fbe97d" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -222,37 +222,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0a398575-dcc0-4069-9906-d22bbe7b89d4_M6SN1_M6SN1" ], + "x-ms-request-id": [ "9d27a831-d27a-436a-a2ee-896dd9a88c76_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11902" ], - "x-ms-correlation-request-id": [ "c661359b-272b-4e62-a267-a90ab320b7ae" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060247Z:c661359b-272b-4e62-a267-a90ab320b7ae" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11914" ], + "x-ms-correlation-request-id": [ "5708ba23-4db9-4b0f-8880-935ceb5dce5d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174757Z:5708ba23-4db9-4b0f-8880-935ceb5dce5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:02:46 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:47:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve\",\"name\":\"namespaceV3zlj8ve\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3zlj8ve\",\"createdAt\":\"2023-04-17T06:02:16.013Z\",\"updatedAt\":\"2023-04-17T06:02:16.013Z\",\"serviceBusEndpoint\":\"https://namespaceV3zlj8ve.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:47:26.903Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview+7": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "121" ], - "x-ms-client-request-id": [ "413c9d56-1b55-4007-972a-20120e151fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "128" ], + "x-ms-client-request-id": [ "3ada2294-022c-4684-afe1-770df8fbe97d" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -264,37 +264,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "38a772c1-52c6-400f-9f5c-24de51bcaa9b_M6SN1_M6SN1" ], + "x-ms-request-id": [ "2cddea58-2815-4a63-ac58-40e99432e965_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11901" ], - "x-ms-correlation-request-id": [ "da6b40e4-bcef-405a-84bf-b8463c1730d7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060317Z:da6b40e4-bcef-405a-84bf-b8463c1730d7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11913" ], + "x-ms-correlation-request-id": [ "b162a66c-88cb-4b99-bb82-b7e7c2033674" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174827Z:b162a66c-88cb-4b99-bb82-b7e7c2033674" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:03:17 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:48:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve\",\"name\":\"namespaceV3zlj8ve\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3zlj8ve\",\"createdAt\":\"2023-04-17T06:02:16.013Z\",\"updatedAt\":\"2023-04-17T06:03:09.103Z\",\"serviceBusEndpoint\":\"https://namespaceV3zlj8ve.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:48:18.063Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview+8": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "122" ], - "x-ms-client-request-id": [ "413c9d56-1b55-4007-972a-20120e151fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "129" ], + "x-ms-client-request-id": [ "3ada2294-022c-4684-afe1-770df8fbe97d" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -306,29 +306,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b1a118e2-9cef-4bc6-9e76-f00d608e1c6b_M6SN1_M6SN1" ], + "x-ms-request-id": [ "8639370c-5336-4505-9d29-aea244928ec5_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11900" ], - "x-ms-correlation-request-id": [ "ea588b79-bae3-4b01-a5b2-cb08b6e844a3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060317Z:ea588b79-bae3-4b01-a5b2-cb08b6e844a3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11912" ], + "x-ms-correlation-request-id": [ "2b8ed627-3f81-4a3f-990f-fc3b458a3bee" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174828Z:2b8ed627-3f81-4a3f-990f-fc3b458a3bee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:03:17 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:48:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV3zlj8ve\",\"name\":\"namespaceV3zlj8ve\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3zlj8ve\",\"createdAt\":\"2023-04-17T06:02:16.013Z\",\"updatedAt\":\"2023-04-17T06:03:09.103Z\",\"serviceBusEndpoint\":\"https://namespaceV3zlj8ve.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:48:18.063Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+9": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+9": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n }\n}", "isContentBase64": false, "Headers": { @@ -343,37 +343,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "93532120-a090-4dad-8ee0-cc068c264020_M6SN1_M6SN1" ], + "x-ms-request-id": [ "8e9115eb-9368-49c8-8d6a-fe76666a4f7d_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "46" ], - "x-ms-correlation-request-id": [ "2b9219a7-49dd-4445-a87e-57d3a11ae882" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060321Z:2b9219a7-49dd-4445-a87e-57d3a11ae882" ], + "x-ms-correlation-request-id": [ "346753a7-a4df-4ebd-8bd8-75c225c96db3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174831Z:346753a7-a4df-4ebd-8bd8-75c225c96db3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:03:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:48:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+10": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "124" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "131" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -385,37 +385,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bbc8fa55-3ceb-4c1c-8999-874183a9f37d_M6SN1_M6SN1" ], + "x-ms-request-id": [ "9c9f4008-aa9e-4552-97ab-efc9cf1777b6_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11899" ], - "x-ms-correlation-request-id": [ "d1f96124-22e1-48a5-870a-2021a5473b6f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060351Z:d1f96124-22e1-48a5-870a-2021a5473b6f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11911" ], + "x-ms-correlation-request-id": [ "67bd4b61-e0ac-4c71-a053-370b76e90b6b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174901Z:67bd4b61-e0ac-4c71-a053-370b76e90b6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:03:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:49:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+11": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "125" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "132" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -427,37 +427,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0c7c3cdb-7170-4500-9eee-992896603879_M6SN1_M6SN1" ], + "x-ms-request-id": [ "cc2b9d93-d375-4def-8a76-45bef912daf0_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11898" ], - "x-ms-correlation-request-id": [ "745d0dad-5dcb-4578-bfd7-ea10e891289f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060421Z:745d0dad-5dcb-4578-bfd7-ea10e891289f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11910" ], + "x-ms-correlation-request-id": [ "0221bacb-5421-42ee-9a9d-0d38b8775ff4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T174931Z:0221bacb-5421-42ee-9a9d-0d38b8775ff4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:04:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:49:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+12": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "126" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "133" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -469,37 +469,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4ff5d392-6f6b-49f6-b5d3-9c782199fb6c_M6SN1_M6SN1" ], + "x-ms-request-id": [ "cd9846eb-3abc-43a6-8ed0-9f5f638b55e1_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11897" ], - "x-ms-correlation-request-id": [ "afde8f54-476c-4cb2-b6c2-ec85e8de6b33" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060452Z:afde8f54-476c-4cb2-b6c2-ec85e8de6b33" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11909" ], + "x-ms-correlation-request-id": [ "2f4393c0-38aa-4ef0-bd7b-66ef0279684e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175002Z:2f4393c0-38aa-4ef0-bd7b-66ef0279684e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:04:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:50:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+13": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "127" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "134" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -511,37 +511,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5e759e19-c973-4d0d-9206-12b7bd6bcc51_M6SN1_M6SN1" ], + "x-ms-request-id": [ "2482a747-1595-44ed-a58b-c25c9c01039a_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11896" ], - "x-ms-correlation-request-id": [ "978c6651-d5b1-4f68-8a21-a8ff2b22e283" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060522Z:978c6651-d5b1-4f68-8a21-a8ff2b22e283" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11908" ], + "x-ms-correlation-request-id": [ "a2336e03-3f05-46a9-a88a-5eb3eab57499" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175032Z:a2336e03-3f05-46a9-a88a-5eb3eab57499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:05:22 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:50:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+14": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "128" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "135" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -553,37 +553,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5ae428c1-80ff-459c-94ab-036cea0fa631_M6SN1_M6SN1" ], + "x-ms-request-id": [ "285a41d5-74a0-4eeb-ab13-47e0c41967bb_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11895" ], - "x-ms-correlation-request-id": [ "df2e4afc-29b6-42d9-a673-73fc26d992eb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060553Z:df2e4afc-29b6-42d9-a673-73fc26d992eb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11907" ], + "x-ms-correlation-request-id": [ "f0448896-6df1-44a4-8bf7-4c1f9ea5842b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175102Z:f0448896-6df1-44a4-8bf7-4c1f9ea5842b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:05:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:51:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+15": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "129" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "136" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -595,37 +595,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b7a6a7be-3c29-4f78-b3c6-0216d08c3026_M6SN1_M6SN1" ], + "x-ms-request-id": [ "c0c3d05d-fd2c-4786-b083-405fd2c0030b_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11894" ], - "x-ms-correlation-request-id": [ "5bfe9b0e-d7c0-489b-9a72-2429d04b63c3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060624Z:5bfe9b0e-d7c0-489b-9a72-2429d04b63c3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11906" ], + "x-ms-correlation-request-id": [ "eb0ad5f8-be20-422d-92a3-1533fcf4888e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175132Z:eb0ad5f8-be20-422d-92a3-1533fcf4888e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:06:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:51:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+16": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "130" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "137" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -637,37 +637,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "30dcbd84-3a3b-44a7-82a9-45d22602d542_M6SN1_M6SN1" ], + "x-ms-request-id": [ "7925216a-bcaa-47a4-8f28-8afffd3f3ffe_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11893" ], - "x-ms-correlation-request-id": [ "b2efb579-f749-4aef-a8b7-f9a21f2632ba" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060654Z:b2efb579-f749-4aef-a8b7-f9a21f2632ba" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11905" ], + "x-ms-correlation-request-id": [ "dca298ec-4324-4ca2-aec9-9734ac292ac8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175203Z:dca298ec-4324-4ca2-aec9-9734ac292ac8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:06:54 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:52:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+17": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "131" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "138" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -679,37 +679,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7c5061c5-1cd3-4705-a3fd-49a99f5c163a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "84735f26-c253-4a36-aa30-dc35fc2dffb7_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11892" ], - "x-ms-correlation-request-id": [ "51b7277b-de01-4784-9ae4-4d8397660f27" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060725Z:51b7277b-de01-4784-9ae4-4d8397660f27" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11904" ], + "x-ms-correlation-request-id": [ "ac37f503-03a5-4ea9-bdf3-f34b12debc91" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175233Z:ac37f503-03a5-4ea9-bdf3-f34b12debc91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:07:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:52:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "932" ], + "Content-Length": [ "934" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:03:20.18Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:48:30.683Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+18": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "132" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "139" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -721,37 +721,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "59c12b3d-451e-4081-b661-365f27d24d97_M11SN1_M11SN1" ], + "x-ms-request-id": [ "66f2044f-eb31-4438-b158-c6c1d805b13d_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11891" ], - "x-ms-correlation-request-id": [ "4ff9e462-d4a6-4346-bfe3-51a670b9d204" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060755Z:4ff9e462-d4a6-4346-bfe3-51a670b9d204" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11903" ], + "x-ms-correlation-request-id": [ "5fed9e7a-7202-48dd-ad3d-f15896f2bad2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175303Z:5fed9e7a-7202-48dd-ad3d-f15896f2bad2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:07:54 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:53:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+19": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "133" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "140" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -763,37 +763,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f658cf01-550c-4bde-ac1d-c8220f4b9fb0_M11SN1_M11SN1" ], + "x-ms-request-id": [ "30a65bbc-b1d3-4e9e-93ab-b83179c54152_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11890" ], - "x-ms-correlation-request-id": [ "a7f78b9f-5ac9-4a04-bfe9-f2b298a160e9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060825Z:a7f78b9f-5ac9-4a04-bfe9-f2b298a160e9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11902" ], + "x-ms-correlation-request-id": [ "730ab9b0-c323-4cbe-8345-ca96a92c48d4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175333Z:730ab9b0-c323-4cbe-8345-ca96a92c48d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:08:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:53:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+20": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "134" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "141" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -805,37 +805,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2c7783e2-2922-4886-9170-9e27146a0185_M11SN1_M11SN1" ], + "x-ms-request-id": [ "de606606-a2ef-4348-a757-b4ec92d6a54e_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11889" ], - "x-ms-correlation-request-id": [ "28beec05-668a-42d6-801a-9e5ae10df697" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060855Z:28beec05-668a-42d6-801a-9e5ae10df697" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11901" ], + "x-ms-correlation-request-id": [ "70128698-eef5-438d-bb3e-b3698e621ee4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175404Z:70128698-eef5-438d-bb3e-b3698e621ee4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:08:54 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:54:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+21": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "135" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "142" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -847,37 +847,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b9594af7-3c9c-4727-987c-0839be440ea7_M11SN1_M11SN1" ], + "x-ms-request-id": [ "a4ea5381-25fc-4b62-9981-e13b333a78b2_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11888" ], - "x-ms-correlation-request-id": [ "4e99e25b-be99-4f87-b2c2-3572373fcf75" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060926Z:4e99e25b-be99-4f87-b2c2-3572373fcf75" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11900" ], + "x-ms-correlation-request-id": [ "cb2a64bc-bbc9-4343-8b9d-49f262fef9b1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175434Z:cb2a64bc-bbc9-4343-8b9d-49f262fef9b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:09:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:54:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+22": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "136" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "143" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -889,37 +889,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fb9573d3-fac0-4c76-9ac8-93afb4c28834_M11SN1_M11SN1" ], + "x-ms-request-id": [ "f9f3e72e-c4f8-4d09-96be-3a7d332c096b_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11887" ], - "x-ms-correlation-request-id": [ "114d0ce4-979b-457b-99a3-c435dbf90549" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T060956Z:114d0ce4-979b-457b-99a3-c435dbf90549" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11899" ], + "x-ms-correlation-request-id": [ "84494262-e7af-4f4a-8679-4d6c547b5cc7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175504Z:84494262-e7af-4f4a-8679-4d6c547b5cc7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:09:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:55:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+23": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "137" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "144" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -931,37 +931,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "744cdf53-52ba-45aa-a6d4-4aab23ec84ed_M5SN1_M5SN1" ], + "x-ms-request-id": [ "ce21b377-13e9-4256-8d29-0017b1f8745b_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11886" ], - "x-ms-correlation-request-id": [ "fb7ef09a-3d40-4798-b46b-fd3c2a482ed4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061026Z:fb7ef09a-3d40-4798-b46b-fd3c2a482ed4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11898" ], + "x-ms-correlation-request-id": [ "5e95b3b0-be5a-44b9-95b4-663f89b5e757" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175534Z:5e95b3b0-be5a-44b9-95b4-663f89b5e757" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:10:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:55:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:07:42.54Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:52:32.04Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+24": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "138" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "145" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -973,37 +973,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a770d405-8ab2-459d-b0cc-645e1fc07b55_M5SN1_M5SN1" ], + "x-ms-request-id": [ "297af711-b6bf-4b09-883a-8b358847b9fc_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11885" ], - "x-ms-correlation-request-id": [ "edc14e90-9a9d-4a50-9e29-84c9da8d71b8" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061057Z:edc14e90-9a9d-4a50-9e29-84c9da8d71b8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11897" ], + "x-ms-correlation-request-id": [ "d95c274a-dfb8-44b7-b32d-61a4c8ab90bb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175604Z:d95c274a-dfb8-44b7-b32d-61a4c8ab90bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:10:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:56:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "920" ], + "Content-Length": [ "921" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:10:31.193Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:55:43.897Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview+25": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "139" ], - "x-ms-client-request-id": [ "3fd9e1bd-4bf5-41f2-8378-dacbdda01939" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "146" ], + "x-ms-client-request-id": [ "0d6292ed-582b-4c4a-812f-98e159d3ea72" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1015,30 +1015,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d02d0aee-d5a9-41d4-a51c-5cf2d8467976_M5SN1_M5SN1" ], + "x-ms-request-id": [ "10b10776-f8be-4ee3-b756-3bc3f14057f9_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11884" ], - "x-ms-correlation-request-id": [ "575886fd-77e3-4afa-8ee4-41d0ba273854" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061058Z:575886fd-77e3-4afa-8ee4-41d0ba273854" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11896" ], + "x-ms-correlation-request-id": [ "84f2ae99-7133-4123-8ccc-3f6842b14acc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175605Z:84f2ae99-7133-4123-8ccc-3f6842b14acc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:10:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 17:56:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "920" ], + "Content-Length": [ "921" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV4ctmhy5\",\"name\":\"namespaceV4ctmhy5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4754cd19-9f11-4c81-b892-d04049d33cda\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ctmhy5\",\"createdAt\":\"2023-04-17T06:03:20.18Z\",\"updatedAt\":\"2023-04-17T06:10:31.193Z\",\"serviceBusEndpoint\":\"https://namespaceV4ctmhy5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:55:43.897Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV5w346xo?api-version=2022-10-01-preview+26": { + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+26": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV5w346xo?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"northeurope\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyVaultNamebaqigt.vault.azure.net/\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyVaultNamebaqigt.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\"\n }\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"northeurope\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\"\n }\n }\n}", "isContentBase64": false, "Headers": { }, @@ -1048,28 +1048,1654 @@ } }, "Response": { - "StatusCode": 500, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c794c829-a9fd-404b-97e3-55506f53edb6_M5SN1_M5SN1" ], + "x-ms-request-id": [ "d0aa1df5-fbac-4aaa-afc4-881efb4b7373_M7SN1_M7SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-failure-cause": [ "service" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "46" ], - "x-ms-correlation-request-id": [ "b82cd154-1968-4d89-b08d-e3ac3395413f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061102Z:b82cd154-1968-4d89-b08d-e3ac3395413f" ], + "x-ms-correlation-request-id": [ "b1e303dc-a4cc-49c4-b14f-f9646af20a3c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175613Z:b1e303dc-a4cc-49c4-b14f-f9646af20a3c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:56:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "148" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9f12454a-8629-49aa-8196-6878833e3ec8_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11895" ], + "x-ms-correlation-request-id": [ "82e74c5d-d56f-4194-a65a-f827dda6ac13" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175643Z:82e74c5d-d56f-4194-a65a-f827dda6ac13" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:56:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "149" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a8ac8d1c-648b-43e6-9051-2dc84a50245b_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11894" ], + "x-ms-correlation-request-id": [ "005d6911-621b-4325-b14a-d74517c1707b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175713Z:005d6911-621b-4325-b14a-d74517c1707b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:57:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "150" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e654a819-20e9-4c67-82c2-345e1c0235e0_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11893" ], + "x-ms-correlation-request-id": [ "60f30e8a-d6c1-4179-86cd-c923665b5e23" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175744Z:60f30e8a-d6c1-4179-86cd-c923665b5e23" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:57:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "151" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "cac5a86c-f31d-4e7f-8df4-34b4ec073b36_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11892" ], + "x-ms-correlation-request-id": [ "f34c0cd4-7e95-4e39-85f2-9e0d2ee8b649" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175814Z:f34c0cd4-7e95-4e39-85f2-9e0d2ee8b649" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:58:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "152" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "3656afa5-75b6-4dbe-9fa7-56df7b7bcdfa_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11891" ], + "x-ms-correlation-request-id": [ "6dc3b9ae-5cfd-4965-9b91-4738d96573f1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175844Z:6dc3b9ae-5cfd-4965-9b91-4738d96573f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:58:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+32": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "153" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "32380e26-3038-44fc-92be-b83018293bfd_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11890" ], + "x-ms-correlation-request-id": [ "61753770-9447-4bec-8c2e-da62aba257f0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175914Z:61753770-9447-4bec-8c2e-da62aba257f0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:59:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+33": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "154" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6602bd8a-b401-442e-91a5-b617e6edbcab_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11889" ], + "x-ms-correlation-request-id": [ "3ab066ec-62ac-40b4-83c2-08790768c8d8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T175944Z:3ab066ec-62ac-40b4-83c2-08790768c8d8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 17:59:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+34": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "155" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "866b89a5-389a-49ab-82c4-627047b991bf_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11888" ], + "x-ms-correlation-request-id": [ "f39969be-5de5-4c09-847d-a6bdef872ba0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180017Z:f39969be-5de5-4c09-847d-a6bdef872ba0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:00:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1858" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T17:56:12.023Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+35": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "156" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a29be02d-b70e-418f-859b-45d1de6c44e7_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11887" ], + "x-ms-correlation-request-id": [ "e5423280-4db2-40f4-8ac9-b6ecec6939a1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180047Z:e5423280-4db2-40f4-8ac9-b6ecec6939a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:00:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+36": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "157" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "5aad0208-519d-49da-b00f-288f07629b03_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11886" ], + "x-ms-correlation-request-id": [ "1c61ecad-b807-4ee6-b2b5-32b54eb6a8eb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180118Z:1c61ecad-b807-4ee6-b2b5-32b54eb6a8eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:01:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+37": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "158" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "688112a3-20c8-42da-b5ce-5b1f72f46c02_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11885" ], + "x-ms-correlation-request-id": [ "99b9e022-8c7c-4268-aece-b779bf7d0ebb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180148Z:99b9e022-8c7c-4268-aece-b779bf7d0ebb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:01:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+38": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "159" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "fe7e2f18-291e-43d6-a98b-3e84b8238836_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11884" ], + "x-ms-correlation-request-id": [ "dbb851da-3bbd-4c07-9bb0-e498997c5587" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180218Z:dbb851da-3bbd-4c07-9bb0-e498997c5587" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:02:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+39": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "160" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "abd12e29-9cee-4e3d-b2b9-432791ddd7f3_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11883" ], + "x-ms-correlation-request-id": [ "33247c4d-51fd-47bd-895d-a49a23740063" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180249Z:33247c4d-51fd-47bd-895d-a49a23740063" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:02:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+40": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "161" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b0a6d4e5-c030-44a6-810d-00d4e03d6a5a_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11882" ], + "x-ms-correlation-request-id": [ "c2c7d8a9-1ab1-4548-af7e-008dc0484631" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180319Z:c2c7d8a9-1ab1-4548-af7e-008dc0484631" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:03:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1854" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:00:16.513Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+41": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "162" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "dee67e7a-03c0-4fdc-aca7-2bc11b8401b8_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11881" ], + "x-ms-correlation-request-id": [ "f53d197a-6bfc-4408-bb03-343459f6d9d0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180349Z:f53d197a-6bfc-4408-bb03-343459f6d9d0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:03:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2049" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+42": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "163" ], + "x-ms-client-request-id": [ "40d0f141-1390-4cd0-b13a-2abb6452c7c5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8af525b7-8181-4d83-b3e7-1cb2540b284b_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11880" ], + "x-ms-correlation-request-id": [ "0dd46282-8b2c-43a2-afbe-f0821256a406" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180349Z:0dd46282-8b2c-43a2-afbe-f0821256a406" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:03:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2049" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+43": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"northeurope\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": true\n }\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1396" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ebdf1f38-7b9e-47e4-aa03-84e2652ee53e_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "45" ], + "x-ms-correlation-request-id": [ "a015b8b8-1c78-486f-b815-f93a3c9abda5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180359Z:a015b8b8-1c78-486f-b815-f93a3c9abda5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:03:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+44": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "165" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "95f48d15-5456-4e57-a1a7-64393d76f936_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11879" ], + "x-ms-correlation-request-id": [ "ee731b55-935f-43e4-a040-78f96ac2493d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180429Z:ee731b55-935f-43e4-a040-78f96ac2493d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:04:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+45": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "166" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b77057c7-2a38-45a9-8c99-8dd047104859_M2SN1_M2SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11878" ], + "x-ms-correlation-request-id": [ "2b69eb5c-c947-40ed-8fdf-d4a697eea4ce" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180500Z:2b69eb5c-c947-40ed-8fdf-d4a697eea4ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:04:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+46": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "167" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8538db49-0e6e-4ba4-a0e3-01fbd8e862ab_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11877" ], + "x-ms-correlation-request-id": [ "a80f003a-333e-49a9-ba5f-f5caab6820ee" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180530Z:a80f003a-333e-49a9-ba5f-f5caab6820ee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:05:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+47": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "168" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "2a7b2301-dab3-4464-8ff1-865eaac4fc7d_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11876" ], + "x-ms-correlation-request-id": [ "bafd761d-46fe-4aea-9f73-e12d8296bb78" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180600Z:bafd761d-46fe-4aea-9f73-e12d8296bb78" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:06:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+48": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "169" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "c061b52f-7163-4d8e-ae5f-8cdcd4e3a7a1_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11875" ], + "x-ms-correlation-request-id": [ "5120cef7-b2e2-4a2c-88d4-a0d52f439dc3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180630Z:5120cef7-b2e2-4a2c-88d4-a0d52f439dc3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:06:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+49": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "170" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ffac8c9e-601b-446e-9ab0-edabc47346ba_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11874" ], + "x-ms-correlation-request-id": [ "ae917489-edc2-4cf9-97e6-eb8c23c819d9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180701Z:ae917489-edc2-4cf9-97e6-eb8c23c819d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:07:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+50": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "171" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "02bbaa2e-3e27-45e0-85c5-96b32cf19fa0_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11873" ], + "x-ms-correlation-request-id": [ "319f37a5-7ed6-4354-836d-83ef60d848ac" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180731Z:319f37a5-7ed6-4354-836d-83ef60d848ac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:07:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+51": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "172" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a5e30e8d-7eef-4181-ab89-7fbf6d35ae99_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11872" ], + "x-ms-correlation-request-id": [ "d511b4c8-e6a6-4cc6-a3ff-772b513ea7d0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180801Z:d511b4c8-e6a6-4cc6-a3ff-772b513ea7d0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:08:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+52": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "173" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "3cf071bc-7032-40d2-9d25-14d3fd9b6618_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11871" ], + "x-ms-correlation-request-id": [ "71e4fb2e-9fe5-4c21-81c1-3a2b311450a4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180831Z:71e4fb2e-9fe5-4c21-81c1-3a2b311450a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:08:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+53": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "174" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "797a22c8-bfde-4ba1-b93f-1f8e0ac89825_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11870" ], + "x-ms-correlation-request-id": [ "b988b88f-2af8-40f4-a8b0-bbee8aa7ca53" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180902Z:b988b88f-2af8-40f4-a8b0-bbee8aa7ca53" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:09:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+54": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "175" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "83efd456-d64f-4a5a-95a9-f41eb28c6fbf_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11869" ], + "x-ms-correlation-request-id": [ "c54ad97f-2115-4b01-8149-da6afc91050c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T180932Z:c54ad97f-2115-4b01-8149-da6afc91050c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:09:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:03:58.807Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+55": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "176" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "222b70b9-7259-4c07-bb16-8e1d86de82e9_M5SN1_M5SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11868" ], + "x-ms-correlation-request-id": [ "f9fd21ca-0dc8-4299-bbc1-5ee1e84772de" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181002Z:f9fd21ca-0dc8-4299-bbc1-5ee1e84772de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:10:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1851" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:09:35.9Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+56": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "177" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "650a096c-024c-4bb5-9565-f5866d7d58d8_M7SN1_M7SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11867" ], + "x-ms-correlation-request-id": [ "afd87393-4ae6-4c11-b996-ef1b7733bb94" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181033Z:afd87393-4ae6-4c11-b996-ef1b7733bb94" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:10:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1851" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:09:35.9Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+57": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "178" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "72c3d4f1-eed1-4074-9f5a-d8e92c25ba57_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11866" ], + "x-ms-correlation-request-id": [ "54b17970-72bc-49e4-a95d-569025f22201" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181103Z:54b17970-72bc-49e4-a95d-569025f22201" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:11:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1851" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:09:35.9Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+58": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "179" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d964dd84-51f7-46df-933e-02ee31e2a9e7_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11865" ], + "x-ms-correlation-request-id": [ "9c4258ce-bb2c-45d9-849f-25bd7adb50e9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181133Z:9c4258ce-bb2c-45d9-849f-25bd7adb50e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:11:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2048" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:11:22.197Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview+59": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "180" ], + "x-ms-client-request-id": [ "a64ef793-36a5-4b23-a13c-827f312ee3a5" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a53d3d3b-6ae8-4746-a0d7-1a2398c317fa_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11864" ], + "x-ms-correlation-request-id": [ "114f67e2-f42b-4b29-8e91-bdc3408678a8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181134Z:114f67e2-f42b-4b29-8e91-bdc3408678a8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:11:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2048" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:11:22.197Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview+60": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"australiaeast\",\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\"\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "96" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "15c6b096-dec0-44d5-b2d7-434c4d09fc19_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "47" ], + "x-ms-correlation-request-id": [ "99ebb131-7cfa-4c13-b17e-31c5784d37f2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181136Z:99ebb131-7cfa-4c13-b17e-31c5784d37f2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:11:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "793" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j\",\"name\":\"namespaceV9qyei6j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev9qyei6j\",\"createdAt\":\"2023-08-17T18:11:35.967Z\",\"updatedAt\":\"2023-08-17T18:11:35.967Z\",\"serviceBusEndpoint\":\"https://namespaceV9qyei6j.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview+61": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "182" ], + "x-ms-client-request-id": [ "8a7d688d-3a27-4d14-a6d3-ec292e431d13" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f2ee404b-adbd-4e3b-883d-3ff842a1a4ed_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11863" ], + "x-ms-correlation-request-id": [ "f3158afb-3377-42d1-97d7-db5babc92462" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181207Z:f3158afb-3377-42d1-97d7-db5babc92462" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:12:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "793" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j\",\"name\":\"namespaceV9qyei6j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev9qyei6j\",\"createdAt\":\"2023-08-17T18:11:35.967Z\",\"updatedAt\":\"2023-08-17T18:11:35.967Z\",\"serviceBusEndpoint\":\"https://namespaceV9qyei6j.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview+62": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "183" ], + "x-ms-client-request-id": [ "8a7d688d-3a27-4d14-a6d3-ec292e431d13" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "1cbebb2d-03b8-44b2-a60c-ddcf93254e15_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11862" ], + "x-ms-correlation-request-id": [ "8831c35a-e2a6-43ce-901a-a20727f070b5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181237Z:8831c35a-e2a6-43ce-901a-a20727f070b5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:12:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "791" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j\",\"name\":\"namespaceV9qyei6j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev9qyei6j\",\"createdAt\":\"2023-08-17T18:11:35.967Z\",\"updatedAt\":\"2023-08-17T18:12:24.617Z\",\"serviceBusEndpoint\":\"https://namespaceV9qyei6j.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview+63": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "184" ], + "x-ms-client-request-id": [ "8a7d688d-3a27-4d14-a6d3-ec292e431d13" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "c495bb5b-159c-49f4-bbbf-f5ec36dfbd53_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11861" ], + "x-ms-correlation-request-id": [ "9fd1e400-86e9-494b-8065-cb044489c777" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181237Z:9fd1e400-86e9-494b-8065-cb044489c777" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:12:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "791" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j\",\"name\":\"namespaceV9qyei6j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev9qyei6j\",\"createdAt\":\"2023-08-17T18:11:35.967Z\",\"updatedAt\":\"2023-08-17T18:12:24.617Z\",\"serviceBusEndpoint\":\"https://namespaceV9qyei6j.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+64": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "185" ], + "x-ms-client-request-id": [ "17a74acb-3937-4bfa-85bc-47285d8c028d" ], + "CommandName": [ "Get-AzEventHubNamespaceV2" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a00d17d6-c5e7-49f7-8bb0-aa89587c9e35_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11860" ], + "x-ms-correlation-request-id": [ "e89e455a-f4a0-4988-b0e7-f980681474f9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181237Z:e89e455a-f4a0-4988-b0e7-f980681474f9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:12:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2049" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "isContentBase64": false + } + }, + "New-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces?api-version=2023-01-01-preview+65": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "186" ], + "x-ms-client-request-id": [ "e00bfe88-5145-4687-8c33-ab99d0c7666f" ], + "CommandName": [ "Get-AzEventHubNamespaceV2" ], + "FullCommandName": [ "Get-AzEventHubNamespace_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "08f29b24-ec05-49d6-8428-4daf8bee042d_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11859" ], + "x-ms-correlation-request-id": [ "a9098e28-f68e-4ff0-8903-c84d7907fe4e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181238Z:a9098e28-f68e-4ff0-8903-c84d7907fe4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:11:01 GMT" ], - "Connection": [ "close" ] + "Date": [ "Thu, 17 Aug 2023 18:12:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "265" ], + "Content-Length": [ "13221" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"Request to Key Vault failed. This can happen if you are trying to configure an unsupported KeyVault key type, such as EC. Currently only RSA keys are supported. CorrelationId: b82cd154-1968-4d89-b08d-e3ac3395413f\",\"code\":\"InternalServerError\"}}", + "Content": "{\"value\":[{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k\",\"name\":\"namespaceNamenysd8k\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"privateEndpointConnections\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}],\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamenysd8k\",\"createdAt\":\"2023-08-17T17:14:09.82Z\",\"updatedAt\":\"2023-08-17T17:15:30.11Z\",\"serviceBusEndpoint\":\"https://namespaceNamenysd8k.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T17:21:19.197Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"name\":\"namespaceNamezcpl45\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamezcpl45\",\"createdAt\":\"2023-08-17T17:21:37.11Z\",\"updatedAt\":\"2023-08-17T17:43:46.617Z\",\"serviceBusEndpoint\":\"https://namespaceNamezcpl45.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"name\":\"namespaceNamep9d7hv\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamep9d7hv\",\"createdAt\":\"2023-08-17T17:21:37.217Z\",\"updatedAt\":\"2023-08-17T17:43:49.99Z\",\"serviceBusEndpoint\":\"https://namespaceNamep9d7hv.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw\",\"name\":\"namespaceV1c2xukw\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev1c2xukw\",\"createdAt\":\"2023-08-17T17:32:04.32Z\",\"updatedAt\":\"2023-08-17T17:39:08.06Z\",\"serviceBusEndpoint\":\"https://namespaceV1c2xukw.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T17:47:12.307Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:48:18.063Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV4ewifs5\",\"name\":\"namespaceV4ewifs5\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"aa892398-74cd-4fe4-9451-5b72d142edce\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev4ewifs5\",\"createdAt\":\"2023-08-17T17:48:30.683Z\",\"updatedAt\":\"2023-08-17T17:55:43.897Z\",\"serviceBusEndpoint\":\"https://namespaceV4ewifs5.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV7maiqyc\",\"name\":\"namespaceV7maiqyc\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":true},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev7maiqyc\",\"createdAt\":\"2023-08-17T18:03:58.807Z\",\"updatedAt\":\"2023-08-17T18:11:22.197Z\",\"serviceBusEndpoint\":\"https://namespaceV7maiqyc.servicebus.windows.net:443/\",\"status\":\"Active\"}},{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV9qyei6j\",\"name\":\"namespaceV9qyei6j\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"Australia East\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev9qyei6j\",\"createdAt\":\"2023-08-17T18:11:35.967Z\",\"updatedAt\":\"2023-08-17T18:12:24.617Z\",\"serviceBusEndpoint\":\"https://namespaceV9qyei6j.servicebus.windows.net:443/\",\"status\":\"Active\"}}]}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Tests.ps1 index b47c56afb75f..3fdcf0370412 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubNamespaceV2.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzEventHubNamespaceV2')) } Describe 'New-AzEventHubNamespaceV2' { - It 'SetExpanded' -Skip { + It 'SetExpanded' { $eventHubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV2 -SkuName Standard -Location eastus $eventHubNamespace.Name | Should -Be $env.namespaceV2 $eventHubNamespace.SkuName | Should -Be Standard @@ -41,7 +41,7 @@ Describe 'New-AzEventHubNamespaceV2' { $eventHubNamespace.PublicNetworkAccess | Should -Be "Disabled" $eventHubNamespace.ZoneRedundant | Should -Be $true - $eventhubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned + $eventhubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV4 -SkuName Premium -Location eastus -IdentityType SystemAssigned $eventhubNamespace.MaximumThroughputUnit | Should -Be 0 $eventhubNamespace.Name | Should -Be $env.namespaceV4 $eventhubNamespace.IdentityType | Should -Be SystemAssigned diff --git a/src/EventHub/EventHub.Autorest/test/New-AzEventHubSchemaGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/New-AzEventHubSchemaGroup.Recording.json index fc81f38e9869..1b5d38eed132 100644 --- a/src/EventHub/EventHub.Autorest/test/New-AzEventHubSchemaGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/New-AzEventHubSchemaGroup.Recording.json @@ -1,9 +1,9 @@ { - "New-AzEventHubSchemaGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview+1": { + "New-AzEventHubSchemaGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"groupProperties\": {\n \"a\": \"b\",\n \"c\": \"d\"\n },\n \"schemaCompatibility\": \"Forward\",\n \"schemaType\": \"Avro\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"groupProperties\": {\n \"c\": \"d\",\n \"a\": \"b\"\n },\n \"schemaCompatibility\": \"Forward\",\n \"schemaType\": \"Avro\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -17,29 +17,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7146f328-0bd2-4e14-9c90-bf2763c9b3dc_M9SN1_M9SN1" ], + "x-ms-request-id": [ "357b0b18-4b3d-42ea-8b30-dc760600bcb7_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "ce357548-8185-405f-a508-003c99bd20bb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061120Z:ce357548-8185-405f-a508-003c99bd20bb" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], + "x-ms-correlation-request-id": [ "d4354207-e2d6-4a19-a4d9-7d72a49cd11b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181258Z:d4354207-e2d6-4a19-a4d9-7d72a49cd11b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:11:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:12:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "535" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp\",\"name\":\"schemaGroupyqgrhp\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T06:11:20.3014913Z\",\"createdAtUtc\":\"2023-04-17T06:11:20.3014913Z\",\"eTag\":\"d4baa9b3-eea9-4819-b202-2d9d92525a2e\",\"groupProperties\":{\"a\":\"b\",\"c\":\"d\"},\"schemaCompatibility\":\"Forward\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm\",\"name\":\"schemaGroup8ztcqm\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T18:12:58.1647413Z\",\"createdAtUtc\":\"2023-08-17T18:12:58.1647413Z\",\"eTag\":\"c8f91b87-f906-49fc-948d-0c8f0a87da29\",\"groupProperties\":{\"c\":\"d\",\"a\":\"b\"},\"schemaCompatibility\":\"Forward\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } }, - "New-AzEventHubSchemaGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview+2": { + "New-AzEventHubSchemaGroup+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"schemaCompatibility\": \"Backward\",\n \"schemaType\": \"Avro\"\n }\n}", "isContentBase64": false, "Headers": { @@ -54,22 +54,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "83f6e676-8a69-458e-9408-3ae9a28d10ef_M9SN1_M9SN1" ], + "x-ms-request-id": [ "9870ce59-5525-4e05-9ca6-edb16690d72f_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "53e681a5-9150-41f0-b76b-9d7b7741a94e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061121Z:53e681a5-9150-41f0-b76b-9d7b7741a94e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], + "x-ms-correlation-request-id": [ "cf8ce8ef-db83-452f-ad17-48a38903c063" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181259Z:cf8ce8ef-db83-452f-ad17-48a38903c063" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:11:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:12:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "521" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j\",\"name\":\"schemaGrouponc47j\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T06:11:21.6453294Z\",\"createdAtUtc\":\"2023-04-17T06:11:21.6453294Z\",\"eTag\":\"0a09debb-3658-473f-b668-bbc830ae93ff\",\"groupProperties\":{},\"schemaCompatibility\":\"Backward\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn\",\"name\":\"schemaGroup6absgn\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T18:12:59.4772884Z\",\"createdAtUtc\":\"2023-08-17T18:12:59.4772884Z\",\"eTag\":\"30859aff-852c-4196-ba58-0a30c3b28d60\",\"groupProperties\":{},\"schemaCompatibility\":\"Backward\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHub.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHub.Recording.json index c5cfb9411942..004ee49514bf 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHub.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHub.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzEventHub+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+1": { + "Remove-AzEventHub+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": "{\n}", "isContentBase64": false, "Headers": { @@ -18,32 +18,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-request-id": [ "710181cc-e8e4-4b7d-8008-bf9e90193ba0" ], - "x-ms-correlation-request-id": [ "710181cc-e8e4-4b7d-8008-bf9e90193ba0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061238Z:710181cc-e8e4-4b7d-8008-bf9e90193ba0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], + "x-ms-request-id": [ "8ce922c9-40ae-4f2a-a0d0-bd8602edec3e" ], + "x-ms-correlation-request-id": [ "8ce922c9-40ae-4f2a-a0d0-bd8602edec3e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181416Z:8ce922c9-40ae-4f2a-a0d0-bd8602edec3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "526" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1\",\"name\":\"eh1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:12:37.793Z\",\"updatedAt\":\"2023-04-17T06:12:38.143Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1\",\"name\":\"eh1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:14:15.443Z\",\"updatedAt\":\"2023-08-17T18:14:15.857Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", "isContentBase64": false } }, - "Remove-AzEventHub+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+2": { + "Remove-AzEventHub+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "144" ], - "x-ms-client-request-id": [ "92c58dd0-cc8a-4c61-b364-33747bbab179" ], + "x-ms-unique-id": [ "190" ], + "x-ms-client-request-id": [ "2e18f334-2984-4fd5-bb87-94a3e2e8ca8b" ], "CommandName": [ "Remove-AzEventHub" ], "FullCommandName": [ "Remove-AzEventHub_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,12 +60,12 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-request-id": [ "47508dd9-fc5c-46c4-b38b-603b4bd295de" ], - "x-ms-correlation-request-id": [ "47508dd9-fc5c-46c4-b38b-603b4bd295de" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061245Z:47508dd9-fc5c-46c4-b38b-603b4bd295de" ], + "x-ms-request-id": [ "0e6c44e7-3e6b-49cf-aaae-9f97442fbf54" ], + "x-ms-correlation-request-id": [ "0e6c44e7-3e6b-49cf-aaae-9f97442fbf54" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181423Z:0e6c44e7-3e6b-49cf-aaae-9f97442fbf54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:22 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -75,15 +75,15 @@ "isContentBase64": false } }, - "Remove-AzEventHub+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+3": { + "Remove-AzEventHub+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "145" ], - "x-ms-client-request-id": [ "bf1c1431-b198-4c72-9f7b-b8d9c0e066b3" ], + "x-ms-unique-id": [ "191" ], + "x-ms-client-request-id": [ "1a8ef961-8168-4ffa-a5b7-96fcc534daf5" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,13 +99,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-request-id": [ "13d7e8c9-7902-44a4-8053-47ab37ed3265" ], - "x-ms-correlation-request-id": [ "13d7e8c9-7902-44a4-8053-47ab37ed3265" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061246Z:13d7e8c9-7902-44a4-8053-47ab37ed3265" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11858" ], + "x-ms-request-id": [ "db6f8459-8350-4be5-ad49-643a6566c166" ], + "x-ms-correlation-request-id": [ "db6f8459-8350-4be5-ad49-643a6566c166" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181424Z:db6f8459-8350-4be5-ad49-643a6566c166" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:46 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "78" ], @@ -116,10 +116,10 @@ "isContentBase64": false } }, - "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+1": { + "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": "{\n}", "isContentBase64": false, "Headers": { @@ -135,32 +135,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-request-id": [ "f8e464fa-7523-4c56-8ce5-20a461f5dd51" ], - "x-ms-correlation-request-id": [ "f8e464fa-7523-4c56-8ce5-20a461f5dd51" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061249Z:f8e464fa-7523-4c56-8ce5-20a461f5dd51" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1181" ], + "x-ms-request-id": [ "26e542cd-7b75-49eb-a9f4-bc7e40d4ded9" ], + "x-ms-correlation-request-id": [ "26e542cd-7b75-49eb-a9f4-bc7e40d4ded9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181426Z:26e542cd-7b75-49eb-a9f4-bc7e40d4ded9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:25 GMT" ] }, "ContentHeaders": { "Content-Length": [ "525" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1\",\"name\":\"eh1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:12:48.45Z\",\"updatedAt\":\"2023-04-17T06:12:48.577Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1\",\"name\":\"eh1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:14:25.77Z\",\"updatedAt\":\"2023-08-17T18:14:25.867Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", "isContentBase64": false } }, - "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+2": { + "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "147" ], - "x-ms-client-request-id": [ "e5746732-bb0e-4a5c-b981-0f69c82cd33f" ], + "x-ms-unique-id": [ "193" ], + "x-ms-client-request-id": [ "89eae693-8128-4332-a3d5-92a1d6e011ac" ], "CommandName": [ "Remove-AzEventHub" ], "FullCommandName": [ "Remove-AzEventHub_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -177,12 +177,12 @@ "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-request-id": [ "307c1a50-427d-418c-9184-989082278df4" ], - "x-ms-correlation-request-id": [ "307c1a50-427d-418c-9184-989082278df4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061250Z:307c1a50-427d-418c-9184-989082278df4" ], + "x-ms-request-id": [ "09b3b624-a168-4295-8c11-e56e3878b820" ], + "x-ms-correlation-request-id": [ "09b3b624-a168-4295-8c11-e56e3878b820" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181427Z:09b3b624-a168-4295-8c11-e56e3878b820" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:26 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -192,15 +192,15 @@ "isContentBase64": false } }, - "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview+3": { + "Remove-AzEventHub+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eh1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eh1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "148" ], - "x-ms-client-request-id": [ "b7b63426-f492-4153-976c-e5384ca4d1b2" ], + "x-ms-unique-id": [ "194" ], + "x-ms-client-request-id": [ "fca755b2-a95f-4238-a5de-7bb59699854f" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -216,13 +216,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-request-id": [ "aaf45d6d-29cb-4369-add3-897ea8bf06ee" ], - "x-ms-correlation-request-id": [ "aaf45d6d-29cb-4369-add3-897ea8bf06ee" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061251Z:aaf45d6d-29cb-4369-add3-897ea8bf06ee" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11857" ], + "x-ms-request-id": [ "d8657069-dab4-48e1-b82a-fde6a5c3c322" ], + "x-ms-correlation-request-id": [ "d8657069-dab4-48e1-b82a-fde6a5c3c322" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181428Z:d8657069-dab4-48e1-b82a-fde6a5c3c322" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:12:50 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "78" ], diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Recording.json index 34adbf2a0f6e..c942c51e7e69 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Recording.json @@ -1,8 +1,44 @@ { - "Remove-AzEventHubApplicationGroup+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubApplicationGroup+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/b?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/b?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "70" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1180" ], + "x-ms-request-id": [ "66e6a948-90db-4b12-ba01-82b278587539" ], + "x-ms-correlation-request-id": [ "66e6a948-90db-4b12-ba01-82b278587539" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181453Z:66e6a948-90db-4b12-ba01-82b278587539" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:14:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "324" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/b\",\"name\":\"b\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=b\",\n \"policies\": [\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n }\n ]\n }\n}", "isContentBase64": false, "Headers": { @@ -13,34 +49,153 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "36a48359-277c-4e1e-91d4-11ea806a08a6_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1179" ], + "x-ms-correlation-request-id": [ "72f54644-ebe2-4bac-b471-db48597f0ce9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181454Z:72f54644-ebe2-4bac-b471-db48597f0ce9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:14:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "429" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup\",\"name\":\"appGroup\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=b\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "197" ], + "x-ms-client-request-id": [ "f7a11827-4b4c-400e-abf9-212a8f69827c" ], + "CommandName": [ "Remove-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Remove-AzEventHubApplicationGroup_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "76c4bd43-70de-4f70-a115-4d5d08e6e7a4_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "6599536d-c8ee-4b09-b81d-beae6f5e3b1d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181455Z:6599536d-c8ee-4b09-b81d-beae6f5e3b1d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:14:55 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "198" ], + "x-ms-client-request-id": [ "f422812e-c7bc-4ed7-888d-48a4d2e63487" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c08cb1d2-6b8b-4e7a-99eb-4467e1aa0248_M9SN1_M9SN1" ], + "x-ms-request-id": [ "73fd0d13-81b4-4344-876e-0084d680cb16_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "e6ce63ae-ce4b-45e3-8f4c-ac4cdeca567d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061310Z:e6ce63ae-ce4b-45e3-8f4c-ac4cdeca567d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11856" ], + "x-ms-correlation-request-id": [ "0880b645-b741-42f2-b0a4-754005a1d184" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181456Z:0880b645-b741-42f2-b0a4-754005a1d184" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:14:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "389" ], + "Content-Length": [ "141" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"\u003cError\u003e\u003cCode\u003e400\u003c/Code\u003e\u003cDetail\u003eCannot create or update an Application Group with non-existent SAS Key. TrackingId:02869e52-c2b3-4174-99e4-a7be8561688c_M9SN1_G6, SystemTracker:namespacename9ys3v4.servicebus.windows.net:$applicationgroups/appGroup, Timestamp:2023-04-17T06:13:10\u003c/Detail\u003e\u003c/Error\u003e CorrelationId: e6ce63ae-ce4b-45e3-8f4c-ac4cdeca567d\",\"code\":\"BadRequest\"}}", + "Content": "{\"error\":{\"message\":\"The requested resource appGroup does not exist. CorrelationId: 0880b645-b741-42f2-b0a4-754005a1d184\",\"code\":\"NotFound\"}}", "isContentBase64": false } }, - "Remove-AzEventHubApplicationGroup+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubApplicationGroup+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/c?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=b\",\n \"policies\": [\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n }\n ]\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/c?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "70" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1178" ], + "x-ms-request-id": [ "f190b88c-ecf7-485c-aec6-1dc1fb5eff0f" ], + "x-ms-correlation-request-id": [ "f190b88c-ecf7-485c-aec6-1dc1fb5eff0f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181502Z:f190b88c-ecf7-485c-aec6-1dc1fb5eff0f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:15:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "324" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/c\",\"name\":\"c\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=c\",\n \"policies\": [\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n }\n ]\n }\n}", "isContentBase64": false, "Headers": { }, @@ -50,26 +205,109 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f6e83c5a-ada6-4370-92d1-7d10119d24ab_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1177" ], + "x-ms-correlation-request-id": [ "5d232634-3870-4c45-8db3-d51149cb3247" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181503Z:5d232634-3870-4c45-8db3-d51149cb3247" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:15:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "429" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup\",\"name\":\"appGroup\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=c\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "201" ], + "x-ms-client-request-id": [ "2e61cefa-0262-4d71-93d2-11cab8fc7526" ], + "CommandName": [ "Remove-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Remove-AzEventHubApplicationGroup_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9aae6437-0ea8-4e81-b810-3aa919be60f5_M11SN1_M11SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "096a6a4f-ab0f-4891-be56-a321e6e2ffc3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181506Z:096a6a4f-ab0f-4891-be56-a321e6e2ffc3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:15:06 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "Remove-AzEventHubApplicationGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroup?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "202" ], + "x-ms-client-request-id": [ "47276671-3b73-4d30-ba7e-ecceb71701d3" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a7626b8a-ced1-4eef-9421-561903270f30_M9SN1_M9SN1" ], + "x-ms-request-id": [ "84aeed06-b0dc-4e6e-8ee0-c3bbef458988_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "6c8c4250-c45f-46d7-9209-0f3d371a8cb9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061311Z:6c8c4250-c45f-46d7-9209-0f3d371a8cb9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11855" ], + "x-ms-correlation-request-id": [ "fa0a0c5c-269d-4c72-9e92-287c8fb9bd50" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181507Z:fa0a0c5c-269d-4c72-9e92-287c8fb9bd50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "389" ], + "Content-Length": [ "141" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"\u003cError\u003e\u003cCode\u003e400\u003c/Code\u003e\u003cDetail\u003eCannot create or update an Application Group with non-existent SAS Key. TrackingId:0f0a9928-a9ac-47e3-bfc7-93a37a834d7b_M9SN1_G6, SystemTracker:namespacename9ys3v4.servicebus.windows.net:$applicationgroups/appGroup, Timestamp:2023-04-17T06:13:11\u003c/Detail\u003e\u003c/Error\u003e CorrelationId: 6c8c4250-c45f-46d7-9209-0f3d371a8cb9\",\"code\":\"BadRequest\"}}", + "Content": "{\"error\":{\"message\":\"The requested resource appGroup does not exist. CorrelationId: fa0a0c5c-269d-4c72-9e92-287c8fb9bd50\",\"code\":\"NotFound\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Tests.ps1 index 11de00587b06..2bbc988c0946 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubApplicationGroup.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzEventHubApplicationG Describe 'Remove-AzEventHubApplicationGroup' { $t2 = New-AzEventHubThrottlingPolicyConfig -Name t2 -MetricId OutgoingBytes -RateLimitThreshold 20000 - It 'Delete' -Skip { + It 'Delete' { $b = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -name b -Rights @("Manage", "Send", "Listen") $SASKey = "NamespaceSASKeyName="+$b.Name New-AzEventHubApplicationGroup -NamespaceName $env.namespace -ResourceGroupName $env.resourceGroup -Name appGroup -ClientAppGroupIdentifier $SASKey -Policy $t2 @@ -25,7 +25,7 @@ Describe 'Remove-AzEventHubApplicationGroup' { { Get-AzEventHubApplicationGroup -NamespaceName $env.namespace -ResourceGroupName $env.resourceGroup -Name appGroup } | Should -Throw } - It 'DeleteViaIdentity' -Skip { + It 'DeleteViaIdentity' { $c = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -name c -Rights @("Manage", "Send", "Listen") $SASKey = "NamespaceSASKeyName="+$c.Name $appGroup = New-AzEventHubApplicationGroup -NamespaceName $env.namespace -ResourceGroupName $env.resourceGroup -Name appGroup -ClientAppGroupIdentifier $SASKey -Policy $t2 diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Recording.json index eb0d61bc7785..e06ea6b32dd9 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -18,27 +18,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-request-id": [ "c3d5ea94-9124-4486-8a33-8e8542c7a3ba" ], - "x-ms-correlation-request-id": [ "c3d5ea94-9124-4486-8a33-8e8542c7a3ba" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061337Z:c3d5ea94-9124-4486-8a33-8e8542c7a3ba" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1176" ], + "x-ms-request-id": [ "705e9a1d-8dd3-4816-a918-577e96e2cced" ], + "x-ms-correlation-request-id": [ "705e9a1d-8dd3-4816-a918-577e96e2cced" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181532Z:705e9a1d-8dd3-4816-a918-577e96e2cced" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "358" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -54,32 +54,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-request-id": [ "1fb071c9-9567-4d14-aaf4-81630eec0d04" ], - "x-ms-correlation-request-id": [ "1fb071c9-9567-4d14-aaf4-81630eec0d04" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061344Z:1fb071c9-9567-4d14-aaf4-81630eec0d04" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1175" ], + "x-ms-request-id": [ "1256a5a0-2c16-484e-ab18-3fe9e6e4ae2e" ], + "x-ms-correlation-request-id": [ "1256a5a0-2c16-484e-ab18-3fe9e6e4ae2e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181538Z:1256a5a0-2c16-484e-ab18-3fe9e6e4ae2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:43 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "358" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "153" ], - "x-ms-client-request-id": [ "caae5421-4096-43f7-b858-504874ed8f58" ], + "x-ms-unique-id": [ "205" ], + "x-ms-client-request-id": [ "382659e4-006b-45db-820a-ce597f12a1b0" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -95,32 +95,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-request-id": [ "479693fa-df47-45a1-b4ee-cf23411a0ec2" ], - "x-ms-correlation-request-id": [ "479693fa-df47-45a1-b4ee-cf23411a0ec2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061344Z:479693fa-df47-45a1-b4ee-cf23411a0ec2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11854" ], + "x-ms-request-id": [ "3bb03a6e-e483-4677-85d1-2579de541c44" ], + "x-ms-correlation-request-id": [ "3bb03a6e-e483-4677-85d1-2579de541c44" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181539Z:3bb03a6e-e483-4677-85d1-2579de541c44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1808" ], + "Content-Length": [ "2789" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/b\",\"name\":\"b\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/c\",\"name\":\"c\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+4": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "154" ], - "x-ms-client-request-id": [ "014bdd7d-dc5c-491d-9d8f-dfe998ea075f" ], + "x-ms-unique-id": [ "206" ], + "x-ms-client-request-id": [ "7de5a58f-34c6-43f5-b60c-e820afd970dd" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -136,27 +136,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-request-id": [ "ae9e462e-87ba-4ecb-9f03-2815202ac7f2" ], - "x-ms-correlation-request-id": [ "ae9e462e-87ba-4ecb-9f03-2815202ac7f2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061345Z:ae9e462e-87ba-4ecb-9f03-2815202ac7f2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11853" ], + "x-ms-request-id": [ "c97e56ee-4ee2-446c-9d67-f64d38149b4c" ], + "x-ms-correlation-request-id": [ "c97e56ee-4ee2-446c-9d67-f64d38149b4c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181539Z:c97e56ee-4ee2-446c-9d67-f64d38149b4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "771" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview+5": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview+5": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -172,27 +172,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-request-id": [ "7595996e-3d7d-42a7-b141-c3510558382a" ], - "x-ms-correlation-request-id": [ "7595996e-3d7d-42a7-b141-c3510558382a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061345Z:7595996e-3d7d-42a7-b141-c3510558382a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], + "x-ms-request-id": [ "78fe3396-dc0e-4f90-b8f9-2a2783b379ab" ], + "x-ms-correlation-request-id": [ "78fe3396-dc0e-4f90-b8f9-2a2783b379ab" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181540Z:78fe3396-dc0e-4f90-b8f9-2a2783b379ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "367" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1\",\"name\":\"entityAuthRule1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1\",\"name\":\"entityAuthRule1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview+6": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview+6": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -208,32 +208,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-request-id": [ "cc15562e-9d43-4998-9c86-c253f7b64808" ], - "x-ms-correlation-request-id": [ "cc15562e-9d43-4998-9c86-c253f7b64808" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061346Z:cc15562e-9d43-4998-9c86-c253f7b64808" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], + "x-ms-request-id": [ "ade84d6a-acbe-4b52-ac90-e0fa14538067" ], + "x-ms-correlation-request-id": [ "ade84d6a-acbe-4b52-ac90-e0fa14538067" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181540Z:ade84d6a-acbe-4b52-ac90-e0fa14538067" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "367" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+7": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "157" ], - "x-ms-client-request-id": [ "f75a1e0a-a97d-4454-952f-d3ad607c2b0e" ], + "x-ms-unique-id": [ "209" ], + "x-ms-client-request-id": [ "3fbb3a3b-6267-4afb-b225-10016749f853" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -249,32 +249,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-request-id": [ "bfc36a0c-6e0d-423a-afdc-7239c6fa141d" ], - "x-ms-correlation-request-id": [ "bfc36a0c-6e0d-423a-afdc-7239c6fa141d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061348Z:bfc36a0c-6e0d-423a-afdc-7239c6fa141d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11852" ], + "x-ms-request-id": [ "54de8444-b4cd-4dde-b5cf-69e86fff474a" ], + "x-ms-correlation-request-id": [ "54de8444-b4cd-4dde-b5cf-69e86fff474a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181541Z:54de8444-b4cd-4dde-b5cf-69e86fff474a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1808" ], + "Content-Length": [ "2789" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/b\",\"name\":\"b\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/c\",\"name\":\"c\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/namespaceAuthRule1\",\"name\":\"namespaceAuthRule1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/namespaceAuthRule2\",\"name\":\"namespaceAuthRule2\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+8": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "158" ], - "x-ms-client-request-id": [ "ae6f8099-69ce-41bf-a42c-9ed0e152a01d" ], + "x-ms-unique-id": [ "210" ], + "x-ms-client-request-id": [ "59b2f899-0c29-4b04-a561-1ae0c5769fa5" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -290,32 +290,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-request-id": [ "59b95c7e-48db-4266-9444-46d72d134772" ], - "x-ms-correlation-request-id": [ "59b95c7e-48db-4266-9444-46d72d134772" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061349Z:59b95c7e-48db-4266-9444-46d72d134772" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11851" ], + "x-ms-request-id": [ "631637a8-4aac-4ec8-9384-01bc8ee09023" ], + "x-ms-correlation-request-id": [ "631637a8-4aac-4ec8-9384-01bc8ee09023" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181541Z:631637a8-4aac-4ec8-9384-01bc8ee09023" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1547" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/entityAuthRule1\",\"name\":\"entityAuthRule1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/entityAuthRule1\",\"name\":\"entityAuthRule1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedNamespace+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedNamespace+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "159" ], - "x-ms-client-request-id": [ "46b56a1c-8f51-4d63-9134-a6727bbe4364" ], + "x-ms-unique-id": [ "211" ], + "x-ms-client-request-id": [ "ac5379da-ebfe-452e-9433-d63dbde67eda" ], "CommandName": [ "Az.EventHub.private\\Remove-AzEventHubNamespaceAuthorizationRule_Delete" ], "FullCommandName": [ "Remove-AzEventHubNamespaceAuthorizationRule_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -331,13 +331,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-request-id": [ "77ed7811-d76c-4773-8056-d6f3117e1f75" ], - "x-ms-correlation-request-id": [ "77ed7811-d76c-4773-8056-d6f3117e1f75" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061357Z:77ed7811-d76c-4773-8056-d6f3117e1f75" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], + "x-ms-request-id": [ "feb6a91f-587a-4986-bfc9-bf050a3e7412" ], + "x-ms-correlation-request-id": [ "feb6a91f-587a-4986-bfc9-bf050a3e7412" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181548Z:feb6a91f-587a-4986-bfc9-bf050a3e7412" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:47 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -347,15 +347,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "160" ], - "x-ms-client-request-id": [ "97eeda7b-dea2-43c8-97cd-cb460dd34bc5" ], + "x-ms-unique-id": [ "212" ], + "x-ms-client-request-id": [ "df5bbd89-51bc-40ef-9b33-24d830047770" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -371,13 +371,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-request-id": [ "cfe5a372-0db8-44ca-a4c6-4725421c2e91" ], - "x-ms-correlation-request-id": [ "cfe5a372-0db8-44ca-a4c6-4725421c2e91" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061358Z:cfe5a372-0db8-44ca-a4c6-4725421c2e91" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11850" ], + "x-ms-request-id": [ "85be0895-bce9-43b8-a647-7d4a0ca32415" ], + "x-ms-correlation-request-id": [ "85be0895-bce9-43b8-a647-7d4a0ca32415" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181549Z:85be0895-bce9-43b8-a647-7d4a0ca32415" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], @@ -388,15 +388,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedEntity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedEntity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "161" ], - "x-ms-client-request-id": [ "e9945905-2863-47ef-92a4-40d5c3504d00" ], + "x-ms-unique-id": [ "213" ], + "x-ms-client-request-id": [ "ced1f563-2597-44f6-9156-ad5f9c1bcfaa" ], "CommandName": [ "Az.EventHub.private\\Remove-AzEventHubAuthorizationRule_Delete" ], "FullCommandName": [ "Remove-AzEventHubAuthorizationRule_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -412,13 +412,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-request-id": [ "21d2c81f-b2e4-4b43-b3bb-ff02af0c8417" ], - "x-ms-correlation-request-id": [ "21d2c81f-b2e4-4b43-b3bb-ff02af0c8417" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061358Z:21d2c81f-b2e4-4b43-b3bb-ff02af0c8417" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], + "x-ms-request-id": [ "5e8c1a94-4860-4f18-b774-5fbb24c2dc79" ], + "x-ms-correlation-request-id": [ "5e8c1a94-4860-4f18-b774-5fbb24c2dc79" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181549Z:5e8c1a94-4860-4f18-b774-5fbb24c2dc79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:49 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -428,15 +428,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule1?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "162" ], - "x-ms-client-request-id": [ "45c0ba18-4b08-4b83-8a4e-73824b0e3b4e" ], + "x-ms-unique-id": [ "214" ], + "x-ms-client-request-id": [ "3302cc21-54fc-4d24-855c-20b517e959e2" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -452,13 +452,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-request-id": [ "f2dc7065-ac94-4499-a22d-708741ab1282" ], - "x-ms-correlation-request-id": [ "f2dc7065-ac94-4499-a22d-708741ab1282" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061359Z:f2dc7065-ac94-4499-a22d-708741ab1282" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11849" ], + "x-ms-request-id": [ "db622864-85e4-4683-9db9-51a47d7de421" ], + "x-ms-correlation-request-id": [ "db622864-85e4-4683-9db9-51a47d7de421" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181550Z:db622864-85e4-4683-9db9-51a47d7de421" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:13:58 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], @@ -469,15 +469,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "163" ], - "x-ms-client-request-id": [ "dc2bd1b8-5251-4f67-894c-45f3275a9d07" ], + "x-ms-unique-id": [ "215" ], + "x-ms-client-request-id": [ "d56809db-208e-4f4e-badb-79044e180c63" ], "CommandName": [ "Az.EventHub.private\\Remove-AzEventHubNamespaceAuthorizationRule_DeleteViaIdentity" ], "FullCommandName": [ "Remove-AzEventHubNamespaceAuthorizationRule_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -493,13 +493,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], - "x-ms-request-id": [ "efc03fb2-fc5a-41a6-b3df-b0eacd3b7846" ], - "x-ms-correlation-request-id": [ "efc03fb2-fc5a-41a6-b3df-b0eacd3b7846" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061405Z:efc03fb2-fc5a-41a6-b3df-b0eacd3b7846" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], + "x-ms-request-id": [ "bc49667d-23f0-454d-8e04-7043cac34331" ], + "x-ms-correlation-request-id": [ "bc49667d-23f0-454d-8e04-7043cac34331" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181556Z:bc49667d-23f0-454d-8e04-7043cac34331" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:55 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -509,15 +509,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/namespaceAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/namespaceAuthRule2?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "164" ], - "x-ms-client-request-id": [ "44d08d80-be09-42c0-8c4f-91b79754a990" ], + "x-ms-unique-id": [ "216" ], + "x-ms-client-request-id": [ "173dcf86-a8f9-4ef5-b38f-03cc3736faa7" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -533,13 +533,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-request-id": [ "63bbba28-81cf-4161-8226-29fe6208afe5" ], - "x-ms-correlation-request-id": [ "63bbba28-81cf-4161-8226-29fe6208afe5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061405Z:63bbba28-81cf-4161-8226-29fe6208afe5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11848" ], + "x-ms-request-id": [ "f5b71035-b868-424d-bbb7-f5d6b030c74c" ], + "x-ms-correlation-request-id": [ "f5b71035-b868-424d-bbb7-f5d6b030c74c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181556Z:f5b71035-b868-424d-bbb7-f5d6b030c74c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], @@ -550,15 +550,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "165" ], - "x-ms-client-request-id": [ "4fd35d9b-8426-431c-966f-738dbc97327b" ], + "x-ms-unique-id": [ "217" ], + "x-ms-client-request-id": [ "6fb050cc-1337-4722-8149-45d8269cd851" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -574,32 +574,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-request-id": [ "9a98b76e-d99e-4eef-92e9-15603ed15c1e" ], - "x-ms-correlation-request-id": [ "9a98b76e-d99e-4eef-92e9-15603ed15c1e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061406Z:9a98b76e-d99e-4eef-92e9-15603ed15c1e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11847" ], + "x-ms-request-id": [ "7bc3646d-fb1e-448a-89ed-f29d6a56afaa" ], + "x-ms-correlation-request-id": [ "7bc3646d-fb1e-448a-89ed-f29d6a56afaa" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181557Z:7bc3646d-fb1e-448a-89ed-f29d6a56afaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1090" ], + "Content-Length": [ "2071" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/b\",\"name\":\"b\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/c\",\"name\":\"c\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+4": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "166" ], - "x-ms-client-request-id": [ "96ff79fd-246f-4179-a72b-ad0bcfb236ee" ], + "x-ms-unique-id": [ "218" ], + "x-ms-client-request-id": [ "2e49e838-e18d-4dc8-a2ec-b2729a4e5b6b" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -615,32 +615,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-request-id": [ "4c1ce374-9bef-4455-b613-b25378710aab" ], - "x-ms-correlation-request-id": [ "4c1ce374-9bef-4455-b613-b25378710aab" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061406Z:4c1ce374-9bef-4455-b613-b25378710aab" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11846" ], + "x-ms-request-id": [ "ee408f5a-b8bd-49b9-8f77-a2ac96a7e851" ], + "x-ms-correlation-request-id": [ "ee408f5a-b8bd-49b9-8f77-a2ac96a7e851" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181557Z:ee408f5a-b8bd-49b9-8f77-a2ac96a7e851" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1159" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/entityAuthRule2\",\"name\":\"entityAuthRule2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview+5": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "167" ], - "x-ms-client-request-id": [ "975d4882-4d2d-48a0-bbdb-31dcea0196e7" ], + "x-ms-unique-id": [ "219" ], + "x-ms-client-request-id": [ "f0af1aa6-d5a7-45e4-a17f-ff5b269a588a" ], "CommandName": [ "Az.EventHub.private\\Remove-AzEventHubAuthorizationRule_DeleteViaIdentity" ], "FullCommandName": [ "Remove-AzEventHubAuthorizationRule_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -656,13 +656,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], - "x-ms-request-id": [ "e8eacb89-c058-4718-bb4a-4f04f5f71cab" ], - "x-ms-correlation-request-id": [ "e8eacb89-c058-4718-bb4a-4f04f5f71cab" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061407Z:e8eacb89-c058-4718-bb4a-4f04f5f71cab" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], + "x-ms-request-id": [ "8ce695e1-5d89-47dc-94e2-f3c171dd3b4c" ], + "x-ms-correlation-request-id": [ "8ce695e1-5d89-47dc-94e2-f3c171dd3b4c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181558Z:8ce695e1-5d89-47dc-94e2-f3c171dd3b4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:07 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:57 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -672,15 +672,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview+6": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/entityAuthRule2?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/entityAuthRule2?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "168" ], - "x-ms-client-request-id": [ "aadada2f-5c00-4a63-a465-7b00be7ab4c8" ], + "x-ms-unique-id": [ "220" ], + "x-ms-client-request-id": [ "4999df3c-bec7-49be-aebd-4c2ac6918af2" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -696,13 +696,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-request-id": [ "c426c770-30b8-4013-9980-39360866591d" ], - "x-ms-correlation-request-id": [ "c426c770-30b8-4013-9980-39360866591d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061408Z:c426c770-30b8-4013-9980-39360866591d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11845" ], + "x-ms-request-id": [ "580764c6-1e3d-4c4d-958a-5f474491a891" ], + "x-ms-correlation-request-id": [ "580764c6-1e3d-4c4d-958a-5f474491a891" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181558Z:580764c6-1e3d-4c4d-958a-5f474491a891" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], @@ -713,15 +713,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview+7": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "169" ], - "x-ms-client-request-id": [ "76656a01-d2cc-4560-b232-e6c56be566b8" ], + "x-ms-unique-id": [ "221" ], + "x-ms-client-request-id": [ "5ba7a5b4-2bbf-4b24-8095-be4848f16fcc" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -737,32 +737,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-request-id": [ "6485690e-37ea-43dc-9c5c-b2f981a5d2a1" ], - "x-ms-correlation-request-id": [ "6485690e-37ea-43dc-9c5c-b2f981a5d2a1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061408Z:6485690e-37ea-43dc-9c5c-b2f981a5d2a1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11844" ], + "x-ms-request-id": [ "c4f8fce2-8c5a-4b37-b75d-00c9498bd9ec" ], + "x-ms-correlation-request-id": [ "c4f8fce2-8c5a-4b37-b75d-00c9498bd9ec" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181559Z:c4f8fce2-8c5a-4b37-b75d-00c9498bd9ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1090" ], + "Content-Length": [ "2071" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulepisblj\",\"name\":\"auth-rulepisblj\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/RootManageSharedAccessKey\",\"name\":\"RootManageSharedAccessKey\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\",\"Manage\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruletay4fg\",\"name\":\"auth-ruletay4fg\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/key1\",\"name\":\"key1\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/b\",\"name\":\"b\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/c\",\"name\":\"c\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview+8": { + "Remove-AzEventHubAuthorizationRule+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "170" ], - "x-ms-client-request-id": [ "2e99c3da-8a1c-4652-a583-a59675297da8" ], + "x-ms-unique-id": [ "222" ], + "x-ms-client-request-id": [ "352fe231-e3a8-4c24-ae96-51bc2926530c" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_List" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -778,20 +778,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-request-id": [ "54f03b62-d756-4b39-9721-1d70bd122c97" ], - "x-ms-correlation-request-id": [ "54f03b62-d756-4b39-9721-1d70bd122c97" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061409Z:54f03b62-d756-4b39-9721-1d70bd122c97" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11843" ], + "x-ms-request-id": [ "67b2d1d9-b557-4c10-97da-dbd522912ec5" ], + "x-ms-correlation-request-id": [ "67b2d1d9-b557-4c10-97da-dbd522912ec5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181559Z:67b2d1d9-b557-4c10-97da-dbd522912ec5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:15:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "771" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rule61or5h\",\"name\":\"auth-rule61or5h\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule3xagfb\",\"name\":\"auth-rule3xagfb\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Listen\",\"Send\"]}}]}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Tests.ps1 index ebcfd8a067bf..fed655b6e562 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubAuthorizationRule.Tests.ps1 @@ -15,35 +15,35 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzEventHubAuthorizatio } Describe 'Remove-AzEventHubAuthorizationRule' { - # New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule1 -Rights @("Manage", "Send", "Listen") - # $namespaceAuthRule = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule2 -Rights @("Manage", "Send", "Listen") + New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule1 -Rights @("Manage", "Send", "Listen") + $namespaceAuthRule = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule2 -Rights @("Manage", "Send", "Listen") - # $listOfNamespaceAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace - # $listOfNamespaceAuthRules.Count | Should -Be 8 + $listOfNamespaceAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace + $listOfNamespaceAuthRules.Count | Should -Be 8 - # $listOfEventHubAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub - # $listOfEventHubAuthRules.Count | Should -Be 2 + $listOfEventHubAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub + $listOfEventHubAuthRules.Count | Should -Be 2 - # New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule1 -Rights @("Manage", "Send", "Listen") - # $eventhubAuthRule = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule2 -Rights @("Manage", "Send", "Listen") + New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule1 -Rights @("Manage", "Send", "Listen") + $eventhubAuthRule = New-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule2 -Rights @("Manage", "Send", "Listen") - # $listOfNamespaceAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace - # $listOfNamespaceAuthRules.Count | Should -Be 8 + $listOfNamespaceAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace + $listOfNamespaceAuthRules.Count | Should -Be 8 - # $listOfEventHubAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub - # $listOfEventHubAuthRules.Count | Should -Be 4 + $listOfEventHubAuthRules = Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub + $listOfEventHubAuthRules.Count | Should -Be 4 - It 'RemoveExpandedNamespace' -Skip { + It 'RemoveExpandedNamespace' { Remove-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule1 { Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name namespaceAuthRule1 } | Should -Throw } - It 'RemoveExpandedEntity' -Skip { + It 'RemoveExpandedEntity' { Remove-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule1 { Get-AzEventHubAuthorizationRule -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -EventHubName $env.eventHub -Name entityAuthRule1 } | Should -Throw } - It 'RemoveViaIdentityExpanded' -Skip { + It 'RemoveViaIdentityExpanded' { Remove-AzEventHubAuthorizationRule -InputObject $namespaceAuthRule { Get-AzEventHubAuthorizationRule -InputObject $namespaceAuthRule } | Should -Throw diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubConsumerGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubConsumerGroup.Recording.json index 040a17e3b00b..cb6477914020 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubConsumerGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubConsumerGroup.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": "{\n}", "isContentBase64": false, "Headers": { @@ -18,32 +18,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-request-id": [ "e0231826-d3a5-48c3-9e3b-7fbc6fb07cfb" ], - "x-ms-correlation-request-id": [ "e0231826-d3a5-48c3-9e3b-7fbc6fb07cfb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061450Z:e0231826-d3a5-48c3-9e3b-7fbc6fb07cfb" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1172" ], + "x-ms-request-id": [ "e5e9e491-07c0-4977-b8e9-a3abbfa8470d" ], + "x-ms-correlation-request-id": [ "e5e9e491-07c0-4977-b8e9-a3abbfa8470d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181637Z:e5e9e491-07c0-4977-b8e9-a3abbfa8470d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "425" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup\",\"name\":\"consumerGroup\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T06:14:49.9355606Z\",\"updatedAt\":\"2023-04-17T06:14:49.9355606Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup\",\"name\":\"consumerGroup\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T18:16:37.7922859Z\",\"updatedAt\":\"2023-08-17T18:16:37.7922859Z\"}}", "isContentBase64": false } }, - "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "172" ], - "x-ms-client-request-id": [ "b86b356f-9cc3-4433-9e31-8c715e3a4afd" ], + "x-ms-unique-id": [ "224" ], + "x-ms-client-request-id": [ "2bdb93f3-a62f-472c-92ae-c20f12902aca" ], "CommandName": [ "Remove-AzEventHubConsumerGroup" ], "FullCommandName": [ "Remove-AzEventHubConsumerGroup_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -59,13 +59,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], - "x-ms-request-id": [ "e14c5223-4e62-43ff-bdf3-d1375e30cbb1" ], - "x-ms-correlation-request-id": [ "e14c5223-4e62-43ff-bdf3-d1375e30cbb1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061450Z:e14c5223-4e62-43ff-bdf3-d1375e30cbb1" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], + "x-ms-request-id": [ "d4541d50-f412-4c1e-a2bf-ea18f42134ba" ], + "x-ms-correlation-request-id": [ "d4541d50-f412-4c1e-a2bf-ea18f42134ba" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181638Z:d4541d50-f412-4c1e-a2bf-ea18f42134ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:50 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -75,15 +75,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubConsumerGroup+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "173" ], - "x-ms-client-request-id": [ "0b6ecaff-1c1b-4297-a4f0-975a1ba5b8ed" ], + "x-ms-unique-id": [ "225" ], + "x-ms-client-request-id": [ "2dbcd99d-13d4-471d-8cbc-b055cb45effc" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,13 +99,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-request-id": [ "b4c18ab0-cbf3-459c-889b-d1804d066daf" ], - "x-ms-correlation-request-id": [ "b4c18ab0-cbf3-459c-889b-d1804d066daf" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061451Z:b4c18ab0-cbf3-459c-889b-d1804d066daf" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11842" ], + "x-ms-request-id": [ "f0eaf4c7-331d-444e-8598-52b887deb5cd" ], + "x-ms-correlation-request-id": [ "f0eaf4c7-331d-444e-8598-52b887deb5cd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181639Z:f0eaf4c7-331d-444e-8598-52b887deb5cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], @@ -116,10 +116,10 @@ "isContentBase64": false } }, - "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": "{\n}", "isContentBase64": false, "Headers": { @@ -135,32 +135,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], - "x-ms-request-id": [ "075d01e8-bce4-456d-9736-db1925a8c0a4" ], - "x-ms-correlation-request-id": [ "075d01e8-bce4-456d-9736-db1925a8c0a4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061452Z:075d01e8-bce4-456d-9736-db1925a8c0a4" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1171" ], + "x-ms-request-id": [ "624d7347-3159-412e-ac38-912faad789a8" ], + "x-ms-correlation-request-id": [ "624d7347-3159-412e-ac38-912faad789a8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181640Z:624d7347-3159-412e-ac38-912faad789a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "425" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup\",\"name\":\"consumerGroup\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T06:14:52.8887492Z\",\"updatedAt\":\"2023-04-17T06:14:52.8887492Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup\",\"name\":\"consumerGroup\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T18:16:40.4955385Z\",\"updatedAt\":\"2023-08-17T18:16:40.4955385Z\"}}", "isContentBase64": false } }, - "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "175" ], - "x-ms-client-request-id": [ "3de80acc-4152-4066-abf4-46da01243b08" ], + "x-ms-unique-id": [ "227" ], + "x-ms-client-request-id": [ "65b2f8f8-e77a-435c-9542-ae10defd1742" ], "CommandName": [ "Remove-AzEventHubConsumerGroup" ], "FullCommandName": [ "Remove-AzEventHubConsumerGroup_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,13 +176,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], - "x-ms-request-id": [ "aa94fd51-473e-4c9c-8efd-99a4622bcd77" ], - "x-ms-correlation-request-id": [ "aa94fd51-473e-4c9c-8efd-99a4622bcd77" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061453Z:aa94fd51-473e-4c9c-8efd-99a4622bcd77" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], + "x-ms-request-id": [ "a9362cc5-f5e6-43e1-9914-4435e425e8df" ], + "x-ms-correlation-request-id": [ "a9362cc5-f5e6-43e1-9914-4435e425e8df" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181640Z:a9362cc5-f5e6-43e1-9914-4435e425e8df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:40 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -192,15 +192,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubConsumerGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/consumerGroup?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/consumerGroup?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "176" ], - "x-ms-client-request-id": [ "94018a58-87c0-4b84-8240-a5d9134b15bc" ], + "x-ms-unique-id": [ "228" ], + "x-ms-client-request-id": [ "f6619f14-5d19-4927-adc8-715196f5dd45" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -216,13 +216,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-request-id": [ "e048057c-378a-4b4a-8b82-affe4ae8ee22" ], - "x-ms-correlation-request-id": [ "e048057c-378a-4b4a-8b82-affe4ae8ee22" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061454Z:e048057c-378a-4b4a-8b82-affe4ae8ee22" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11841" ], + "x-ms-request-id": [ "40dd0247-627e-47a4-b448-7738344c90cb" ], + "x-ms-correlation-request-id": [ "40dd0247-627e-47a4-b448-7738344c90cb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181642Z:40dd0247-627e-47a4-b448-7738344c90cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:14:54 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:16:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubNamespaceV2.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubNamespaceV2.Recording.json index b7d29eae918f..ddc060dd374f 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubNamespaceV2.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubNamespaceV2.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\"\n }\n}", "isContentBase64": false, "Headers": { @@ -17,37 +17,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "69a60449-b146-4f32-ba30-754f53febf28_M8SN1_M8SN1" ], + "x-ms-request-id": [ "81115b25-d19c-4461-9752-5c3e0fc18234_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-correlation-request-id": [ "234a6f81-a0e9-4538-be4a-ba3fa2d31701" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061537Z:234a6f81-a0e9-4538-be4a-ba3fa2d31701" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "47" ], + "x-ms-correlation-request-id": [ "2ad75d25-877c-40f8-9407-e86a3e255017" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181745Z:2ad75d25-877c-40f8-9407-e86a3e255017" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:15:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:17:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "786" ], + "Content-Length": [ "785" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:15:36.867Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T18:17:44.4Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "178" ], - "x-ms-client-request-id": [ "98f7cca3-84cf-4a90-950c-7a6b232849bf" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "169b6da4-8d30-40b5-a103-4753df19d0fa" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -59,37 +59,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5d0a48d4-baa4-4193-a00d-22bbd71c8913_M8SN1_M8SN1" ], + "x-ms-request-id": [ "f8282cbd-c92d-49df-ab0b-72d6707259af_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "9e5eadaf-52a2-4776-ad98-3500523f8ef0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061608Z:9e5eadaf-52a2-4776-ad98-3500523f8ef0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11840" ], + "x-ms-correlation-request-id": [ "9c2a9297-754c-4600-9cea-d1cd7db1608e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181815Z:9c2a9297-754c-4600-9cea-d1cd7db1608e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:15:39.837Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T18:17:46.737Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "179" ], - "x-ms-client-request-id": [ "98f7cca3-84cf-4a90-950c-7a6b232849bf" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "231" ], + "x-ms-client-request-id": [ "169b6da4-8d30-40b5-a103-4753df19d0fa" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -101,36 +101,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8deec8ad-d346-4d07-942e-11278d59d8ef_M8SN1_M8SN1" ], + "x-ms-request-id": [ "d7288aa6-4034-441a-8e19-387510a3e07d_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "36fe5427-92fe-4a73-a5e2-4c88ebddb768" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061609Z:36fe5427-92fe-4a73-a5e2-4c88ebddb768" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11839" ], + "x-ms-correlation-request-id": [ "f0077b1c-29d3-4f39-9726-998748535949" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181815Z:f0077b1c-29d3-4f39-9726-998748535949" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:08 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "783" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:01:10.11Z\",\"updatedAt\":\"2023-04-17T06:15:39.837Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T17:46:23.673Z\",\"updatedAt\":\"2023-08-17T18:17:46.737Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+4": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "180" ], - "x-ms-client-request-id": [ "c913ad7d-82df-4274-baf0-6ffb477f1e71" ], + "x-ms-unique-id": [ "232" ], + "x-ms-client-request-id": [ "45199b6c-cade-4a20-b24a-a6ad68c028fe" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_Delete" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -143,16 +143,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace" ], - "x-ms-request-id": [ "cf7a2e09-a128-493e-bdb8-d6fbf2684740_M8SN1_M8SN1" ], + "Location": [ "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace" ], + "x-ms-request-id": [ "09fc31a1-6f72-4c91-b40b-a579575790d8_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], - "x-ms-correlation-request-id": [ "79a1e488-d6ce-4f3e-848b-8945e632f5bc" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061612Z:79a1e488-d6ce-4f3e-848b-8945e632f5bc" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], + "x-ms-correlation-request-id": [ "4fce1a7b-31a8-4c7e-8130-d0e8712dbe2e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181816Z:4fce1a7b-31a8-4c7e-8130-d0e8712dbe2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:11 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:15 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -162,18 +162,18 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace+5": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "181" ], - "x-ms-client-request-id": [ "c913ad7d-82df-4274-baf0-6ffb477f1e71" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "45199b6c-cade-4a20-b24a-a6ad68c028fe" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_Delete" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -185,15 +185,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fd10deb8-a9aa-4665-bf6f-601f60865e6a_M8SN1_M8SN1" ], + "x-ms-request-id": [ "2b4e4964-6fc6-4aa0-bfa5-c93ba1a5e088_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-correlation-request-id": [ "423c4fe2-9e6c-47a5-81d6-df5117e1bdbe" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061642Z:423c4fe2-9e6c-47a5-81d6-df5117e1bdbe" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11838" ], + "x-ms-correlation-request-id": [ "5db1c592-aa2f-4fc4-8d16-de6c07f9c244" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181846Z:5db1c592-aa2f-4fc4-8d16-de6c07f9c244" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:46 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -202,18 +202,18 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace+6": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "182" ], - "x-ms-client-request-id": [ "c913ad7d-82df-4274-baf0-6ffb477f1e71" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "45199b6c-cade-4a20-b24a-a6ad68c028fe" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_Delete" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -225,15 +225,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "14f2464d-17b6-4004-bdbb-5d3bacd6abfb_M8SN1_M8SN1" ], + "x-ms-request-id": [ "2addbc9c-0f2f-4a89-807b-f62124b477f9_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "fc081dce-72b1-442d-bec8-6d9f72eea73e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061642Z:fc081dce-72b1-442d-bec8-6d9f72eea73e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11837" ], + "x-ms-correlation-request-id": [ "ab18f523-3083-4887-89a5-7e8ca4045a96" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181847Z:ab18f523-3083-4887-89a5-7e8ca4045a96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:46 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -242,17 +242,17 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+7": { + "Remove-AzEventHubNamespaceV2+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "183" ], - "x-ms-client-request-id": [ "4547d4dd-c8f8-4231-80fb-4841abe263df" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "18f00e23-f900-4b03-bd61-946ec5ad3702" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -265,29 +265,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "362ffc69-cd72-4257-abff-c6945f65bfec_M8SN1_M8SN1" ], + "x-ms-request-id": [ "8d9a3b16-7710-4b9c-aec4-9501323f4c3e_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "5706534c-8f14-4bb8-a169-0cc9c4a30751" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061642Z:5706534c-8f14-4bb8-a169-0cc9c4a30751" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11836" ], + "x-ms-correlation-request-id": [ "bd6bf7f5-3570-4ef7-970b-d7a307d4ddd7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181847Z:bd6bf7f5-3570-4ef7-970b-d7a307d4ddd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:42 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "119" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"Namespace does not exist. CorrelationId: 5706534c-8f14-4bb8-a169-0cc9c4a30751\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"message\":\"Namespace does not exist. CorrelationId: bd6bf7f5-3570-4ef7-970b-d7a307d4ddd7\",\"code\":\"NotFound\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"eastus\",\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\"\n }\n}", "isContentBase64": false, "Headers": { @@ -302,37 +302,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "682083ee-2142-4bfe-b5da-49fbb7089051_M8SN1_M8SN1" ], + "x-ms-request-id": [ "871b7780-255a-4ef5-8a6a-199abfbf1289_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "48" ], - "x-ms-correlation-request-id": [ "170e1a4b-a15a-43fd-9ae8-ec134509e706" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061645Z:170e1a4b-a15a-43fd-9ae8-ec134509e706" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "46" ], + "x-ms-correlation-request-id": [ "aeb8f7f8-f2be-4f27-97d2-ebfee9a11a16" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181849Z:aeb8f7f8-f2be-4f27-97d2-ebfee9a11a16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:16:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:18:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "786" ], + "Content-Length": [ "782" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:16:44.843Z\",\"updatedAt\":\"2023-04-17T06:16:44.843Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T18:18:48.7Z\",\"updatedAt\":\"2023-08-17T18:18:48.7Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "185" ], - "x-ms-client-request-id": [ "ca957386-1a91-4f5f-8314-6b23d3413fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "3c1dd0cb-5773-4b77-a984-6b697a06c894" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -344,37 +344,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "97c5c99a-88ac-4be2-9b86-c363e246d521_M8SN1_M8SN1" ], + "x-ms-request-id": [ "a13981f2-dbe7-4ec4-8741-613732702345_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "55323e72-45fa-4556-9c96-b4bc3a32949d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061716Z:55323e72-45fa-4556-9c96-b4bc3a32949d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11835" ], + "x-ms-correlation-request-id": [ "08d23085-1246-4a25-83cb-37a0eedb095b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181919Z:08d23085-1246-4a25-83cb-37a0eedb095b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:17:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:19:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "786" ], + "Content-Length": [ "782" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:16:44.843Z\",\"updatedAt\":\"2023-04-17T06:16:44.843Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Created\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T18:18:48.7Z\",\"updatedAt\":\"2023-08-17T18:18:48.7Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "186" ], - "x-ms-client-request-id": [ "ca957386-1a91-4f5f-8314-6b23d3413fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "3c1dd0cb-5773-4b77-a984-6b697a06c894" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -386,37 +386,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "162dbfb8-7a4b-4f2b-9566-6deb7963919e_M8SN1_M8SN1" ], + "x-ms-request-id": [ "85e99a57-6558-4154-b87c-b092ef9e2e08_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], - "x-ms-correlation-request-id": [ "fea0634d-be0b-455d-a99e-e269a44ce290" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061746Z:fea0634d-be0b-455d-a99e-e269a44ce290" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11834" ], + "x-ms-correlation-request-id": [ "e28317ef-9fcf-41e9-a819-f2082afb88e2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181949Z:e28317ef-9fcf-41e9-a819-f2082afb88e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:17:46 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:19:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], + "Content-Length": [ "782" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:16:44.843Z\",\"updatedAt\":\"2023-04-17T06:17:27.443Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T18:18:48.7Z\",\"updatedAt\":\"2023-08-17T18:19:40.707Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+4": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "187" ], - "x-ms-client-request-id": [ "ca957386-1a91-4f5f-8314-6b23d3413fd4" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "3c1dd0cb-5773-4b77-a984-6b697a06c894" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -428,36 +428,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d0575395-0903-4254-bd20-8cef8578f981_M8SN1_M8SN1" ], + "x-ms-request-id": [ "0898063c-7217-48bf-9076-61352878e8da_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "124d3d6c-1d0e-4bd9-948c-c7a05f341320" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061746Z:124d3d6c-1d0e-4bd9-948c-c7a05f341320" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11833" ], + "x-ms-correlation-request-id": [ "6c738e48-7d97-43d2-8185-a9a3292aa8eb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181949Z:6c738e48-7d97-43d2-8185-a9a3292aa8eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:17:46 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:19:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], + "Content-Length": [ "782" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp\",\"name\":\"namespaceV2dnrofp\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2dnrofp\",\"createdAt\":\"2023-04-17T06:16:44.843Z\",\"updatedAt\":\"2023-04-17T06:17:27.443Z\",\"serviceBusEndpoint\":\"https://namespaceV2dnrofp.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m\",\"name\":\"namespaceV2xn7q8m\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":false,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev2xn7q8m\",\"createdAt\":\"2023-08-17T18:18:48.7Z\",\"updatedAt\":\"2023-08-17T18:19:40.707Z\",\"serviceBusEndpoint\":\"https://namespaceV2xn7q8m.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+5": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "188" ], - "x-ms-client-request-id": [ "9ef84b96-00a3-492c-8a05-6c049288afa3" ], + "x-ms-unique-id": [ "240" ], + "x-ms-client-request-id": [ "a2a211d0-878d-44b2-ac07-37125164ccc4" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_DeleteViaIdentity" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -470,16 +470,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace" ], - "x-ms-request-id": [ "763467c7-78ea-4919-b034-a58b5f4ccc0a_M8SN1_M8SN1" ], + "Location": [ "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace" ], + "x-ms-request-id": [ "498791e5-6f57-4339-8a66-e19ecb7b3401_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], - "x-ms-correlation-request-id": [ "cab78ed4-d8a9-479e-9291-3638d32cd47b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061748Z:cab78ed4-d8a9-479e-9291-3638d32cd47b" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14988" ], + "x-ms-correlation-request-id": [ "cff80ddc-87a5-4186-8d2a-b81295b661f8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T181951Z:cff80ddc-87a5-4186-8d2a-b81295b661f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:17:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:19:50 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -489,18 +489,18 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace+6": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "189" ], - "x-ms-client-request-id": [ "9ef84b96-00a3-492c-8a05-6c049288afa3" ], + "x-ms-unique-id": [ "241" ], + "x-ms-client-request-id": [ "a2a211d0-878d-44b2-ac07-37125164ccc4" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_DeleteViaIdentity" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -512,15 +512,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b345d9c0-0259-4655-ab7e-8d80b7c9233c_M2SN1_M2SN1" ], + "x-ms-request-id": [ "5d03596b-ccb5-44ae-a372-2dd778be81fa_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], - "x-ms-correlation-request-id": [ "7d9bb350-03bf-433d-9069-b923ce039ce1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061818Z:7d9bb350-03bf-433d-9069-b923ce039ce1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11832" ], + "x-ms-correlation-request-id": [ "a7af1c36-5184-4d54-8641-99e55edf9e09" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182021Z:a7af1c36-5184-4d54-8641-99e55edf9e09" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:18:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:20:20 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -529,18 +529,18 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace+7": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2dnrofp?api-version=2022-10-01-preview\u0026resourceType=Namespace", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/locations/eastus/operationStatus/namespaceV2xn7q8m?api-version=2023-01-01-preview\u0026resourceType=Namespace", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "190" ], - "x-ms-client-request-id": [ "9ef84b96-00a3-492c-8a05-6c049288afa3" ], + "x-ms-unique-id": [ "242" ], + "x-ms-client-request-id": [ "a2a211d0-878d-44b2-ac07-37125164ccc4" ], "CommandName": [ "Remove-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Remove-AzEventHubNamespaceV2_DeleteViaIdentity" ], + "FullCommandName": [ "Remove-AzEventHubNamespace_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -552,15 +552,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "791d121f-a457-4639-8c0f-4b0a46041e48_M2SN1_M2SN1" ], + "x-ms-request-id": [ "169babee-c44c-40ee-9163-8cc0a46e98b8_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], - "x-ms-correlation-request-id": [ "c24e86ca-6326-495e-9365-5755cac8dfc9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061818Z:c24e86ca-6326-495e-9365-5755cac8dfc9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11831" ], + "x-ms-correlation-request-id": [ "3247182a-6759-4c11-bf00-e471cedef199" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182021Z:3247182a-6759-4c11-bf00-e471cedef199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:18:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:20:20 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -569,17 +569,17 @@ "isContentBase64": false } }, - "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview+8": { + "Remove-AzEventHubNamespaceV2+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceV2dnrofp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV2xn7q8m?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "191" ], - "x-ms-client-request-id": [ "47e7d5e5-3050-4882-a8a7-eb345fd8355e" ], + "x-ms-unique-id": [ "243" ], + "x-ms-client-request-id": [ "7da3b4ca-af2e-43f8-b70b-c5def279b265" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -592,22 +592,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b3b6d8c3-01ce-4dc5-8591-d94a420994bb_M2SN1_M2SN1" ], + "x-ms-request-id": [ "faba7a42-bf72-4333-a81e-230a5ad5999e_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], - "x-ms-correlation-request-id": [ "840468ee-6926-4acf-b7a9-542ef5b50256" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061819Z:840468ee-6926-4acf-b7a9-542ef5b50256" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11830" ], + "x-ms-correlation-request-id": [ "0f3d04f9-415b-4226-b0e4-2b5ab9e8e8dd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182021Z:0f3d04f9-415b-4226-b0e4-2b5ab9e8e8dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:18:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:20:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "119" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"Namespace does not exist. CorrelationId: 840468ee-6926-4acf-b7a9-542ef5b50256\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"message\":\"Namespace does not exist. CorrelationId: 0f3d04f9-415b-4226-b0e4-2b5ab9e8e8dd\",\"code\":\"NotFound\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubPrivateEndpointConnection.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubPrivateEndpointConnection.Recording.json index 2430ef5436cd..9ffde8f21d8f 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubPrivateEndpointConnection.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubPrivateEndpointConnection.Recording.json @@ -1,13 +1,13 @@ { - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "192" ], - "x-ms-client-request-id": [ "a2975fe8-b634-4a66-a7f3-1843c5f11252" ], + "x-ms-unique-id": [ "244" ], + "x-ms-client-request-id": [ "eba5d6c5-0ef6-444e-8e58-b1cdf02d92d6" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "61528f70-d052-4d6a-be1a-4ed19dc8ac45_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], - "x-ms-correlation-request-id": [ "9bce948f-5515-4bc0-9c64-baaf17ed8a40" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061835Z:9bce948f-5515-4bc0-9c64-baaf17ed8a40" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11829" ], + "x-ms-request-id": [ "da958e05-202e-45b9-983a-1a073ef3a14d" ], + "x-ms-correlation-request-id": [ "da958e05-202e-45b9-983a-1a073ef3a14d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182040Z:da958e05-202e-45b9-983a-1a073ef3a14d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:18:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:20:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1410" ], + "Content-Length": [ "1408" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-wrp7ob\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-y8fngz\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"\"},\"groupIds\":[\"namespace\"]}},{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}]}", "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "193" ], - "x-ms-client-request-id": [ "7b50766d-fa4f-42b7-ba20-ef729ecc10c9" ], + "x-ms-unique-id": [ "245" ], + "x-ms-client-request-id": [ "d7a391c0-7b43-4437-99c1-a9238f238ab5" ], "CommandName": [ "Remove-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Remove-AzEventHubPrivateEndpointConnection_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,16 +63,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e7c15c98-c587-4d24-92c1-5b7c71079524_M2SN1_M2SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview\u0026operationType=Delete" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], - "x-ms-correlation-request-id": [ "a94c04de-678a-48fc-b410-d2b40df50440" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061836Z:a94c04de-678a-48fc-b410-d2b40df50440" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview\u0026operationType=Delete" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14987" ], + "x-ms-request-id": [ "b36b9e23-8cdf-4639-a95f-47072bc30c28" ], + "x-ms-correlation-request-id": [ "b36b9e23-8cdf-4639-a95f-47072bc30c28" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182041Z:b36b9e23-8cdf-4639-a95f-47072bc30c28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:18:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:20:40 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -83,16 +81,16 @@ "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview\u0026operationType=Delete+2": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview\u0026operationType=Delete+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview\u0026operationType=Delete", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview\u0026operationType=Delete", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "194" ], - "x-ms-client-request-id": [ "7b50766d-fa4f-42b7-ba20-ef729ecc10c9" ], + "x-ms-unique-id": [ "246" ], + "x-ms-client-request-id": [ "d7a391c0-7b43-4437-99c1-a9238f238ab5" ], "CommandName": [ "Remove-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Remove-AzEventHubPrivateEndpointConnection_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -106,34 +104,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e99b8630-95c6-4cc1-907a-e5321de9a486_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], - "x-ms-correlation-request-id": [ "4fe52c5c-a867-4e1c-83d4-c62cb4666db2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061906Z:4fe52c5c-a867-4e1c-83d4-c62cb4666db2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11828" ], + "x-ms-request-id": [ "67e61832-7097-4233-9e91-00de5d2fcee8" ], + "x-ms-correlation-request-id": [ "67e61832-7097-4233-9e91-00de5d2fcee8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182111Z:67e61832-7097-4233-9e91-00de5d2fcee8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "468" ], + "Content-Length": [ "400" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb/operationStatus/482260b1-f136-4056-838c-9fb124baa3fb\",\"name\":\"482260b1-f136-4056-838c-9fb124baa3fb\",\"status\":\"Succeeded\",\"startTime\":\"0001-01-01T00:00:00Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da/operationStatus/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"name\":\"cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da\",\"status\":\"Succeeded\"}", "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/482260b1-f136-4056-838c-9fb124baa3fb?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/cf29c40e-c6a0-4b49-af10-2e4ef6b5d4da?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "195" ], - "x-ms-client-request-id": [ "199c1d39-f8e9-4ae8-83e3-48bc09af8049" ], + "x-ms-unique-id": [ "247" ], + "x-ms-client-request-id": [ "85ddff33-bbf6-4de3-9b90-fb58754aeb4a" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -148,34 +145,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "811908c4-f863-4d8c-9ad0-8c8457fc0b1d_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], - "x-ms-correlation-request-id": [ "88fc9486-c580-47c7-b78d-02780134f498" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061906Z:88fc9486-c580-47c7-b78d-02780134f498" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11827" ], + "x-ms-request-id": [ "81311d48-adaf-40e3-b2cd-536226108491" ], + "x-ms-correlation-request-id": [ "81311d48-adaf-40e3-b2cd-536226108491" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182111Z:81311d48-adaf-40e3-b2cd-536226108491" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "169" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "105" ], + "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"The requested resource 482260b1-f136-4056-838c-9fb124baa3fb does not exist. CorrelationId: 88fc9486-c580-47c7-b78d-02780134f498\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"code\":\"PrivateEndpointConnectionNotFound\",\"message\":\"Private endpoint connection not found.\"}}", "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "196" ], - "x-ms-client-request-id": [ "141ec1fe-ef82-42ab-ac03-df1999165167" ], + "x-ms-unique-id": [ "248" ], + "x-ms-client-request-id": [ "683116d9-beb8-4b1c-ac85-5400d330db78" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -190,34 +186,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "43fb47ce-6c90-40df-8ba8-8c969433bff4_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], - "x-ms-correlation-request-id": [ "65969931-8749-41c6-a234-f97102ca880e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061906Z:65969931-8749-41c6-a234-f97102ca880e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11826" ], + "x-ms-request-id": [ "931ac299-1925-4e15-9a29-a348b5d2be25" ], + "x-ms-correlation-request-id": [ "931ac299-1925-4e15-9a29-a348b5d2be25" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182111Z:931ac299-1925-4e15-9a29-a348b5d2be25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "700" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"East US\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.Network/privateEndpoints/privateEndpoint-g02yd1\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"type\":\"Microsoft.EventHub/Namespaces/PrivateEndpointConnections\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.Network/privateEndpoints/privateEndpoint-dps5i6\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Bye\"},\"groupIds\":[\"namespace\"]}}", "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "197" ], - "x-ms-client-request-id": [ "676fa551-9eee-4577-a916-4a6e1fb1a66a" ], + "x-ms-unique-id": [ "249" ], + "x-ms-client-request-id": [ "2eeb1066-551c-4489-bc03-5c045af1846c" ], "CommandName": [ "Remove-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Remove-AzEventHubPrivateEndpointConnection_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -232,16 +227,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b018d9f8-47f1-497b-bb81-bf5593a5e8d0_M2SN1_M2SN1" ], - "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview\u0026operationType=Delete" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14988" ], - "x-ms-correlation-request-id": [ "c79921e3-a563-468a-8f5b-b978410ac015" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061907Z:c79921e3-a563-468a-8f5b-b978410ac015" ], + "Azure-AsyncOperation": [ "https://management.azure.com:443/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview\u0026operationType=Delete" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14986" ], + "x-ms-request-id": [ "9aca7456-dd06-48e8-970a-8903f4494cd7" ], + "x-ms-correlation-request-id": [ "9aca7456-dd06-48e8-970a-8903f4494cd7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182112Z:9aca7456-dd06-48e8-970a-8903f4494cd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:11 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -251,16 +245,16 @@ "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview\u0026operationType=Delete+3": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview\u0026operationType=Delete+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview\u0026operationType=Delete", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview\u0026operationType=Delete", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "198" ], - "x-ms-client-request-id": [ "676fa551-9eee-4577-a916-4a6e1fb1a66a" ], + "x-ms-unique-id": [ "250" ], + "x-ms-client-request-id": [ "2eeb1066-551c-4489-bc03-5c045af1846c" ], "CommandName": [ "Remove-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Remove-AzEventHubPrivateEndpointConnection_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -274,34 +268,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bda75d66-fad6-4a7b-ab5b-66a72934e993_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], - "x-ms-correlation-request-id": [ "b0a1135b-3a2d-4374-ae0a-ecfc38ff9eb5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061937Z:b0a1135b-3a2d-4374-ae0a-ecfc38ff9eb5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11825" ], + "x-ms-request-id": [ "b8a68b7d-0fa6-4189-bfd0-f19cb47545bc" ], + "x-ms-correlation-request-id": [ "b8a68b7d-0fa6-4189-bfd0-f19cb47545bc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182142Z:b8a68b7d-0fa6-4189-bfd0-f19cb47545bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "468" ], + "Content-Length": [ "400" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d/operationStatus/757e4b32-fe4f-4fc2-9056-3301661f685d\",\"name\":\"757e4b32-fe4f-4fc2-9056-3301661f685d\",\"status\":\"Succeeded\",\"startTime\":\"0001-01-01T00:00:00Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5/operationStatus/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"name\":\"91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5\",\"status\":\"Succeeded\"}", "isContentBase64": false } }, - "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview+4": { + "Remove-AzEventHubPrivateEndpointConnection+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/privateEndpointConnections/757e4b32-fe4f-4fc2-9056-3301661f685d?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/privateEndpointConnections/91e3c7e3-a1d6-43ea-a700-0aa349ab5ad5?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "199" ], - "x-ms-client-request-id": [ "70c643b2-81db-4731-abe9-af7915438cc7" ], + "x-ms-unique-id": [ "251" ], + "x-ms-client-request-id": [ "f916ccc7-f644-45fc-a32a-aaa3a6a8c6b4" ], "CommandName": [ "Get-AzEventHubPrivateEndpointConnection" ], "FullCommandName": [ "Get-AzEventHubPrivateEndpointConnection_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -316,22 +309,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7652680e-d090-4c5e-9823-a2d0d1a124ee_M2SN1_M2SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], - "x-ms-correlation-request-id": [ "0bbb1b9f-cb9e-4fd2-b9c7-7ccbb462d39f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061937Z:0bbb1b9f-cb9e-4fd2-b9c7-7ccbb462d39f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11824" ], + "x-ms-request-id": [ "0b2f73b2-1a00-4033-a59d-5798ff1ef12a" ], + "x-ms-correlation-request-id": [ "0b2f73b2-1a00-4033-a59d-5798ff1ef12a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182146Z:0b2f73b2-1a00-4033-a59d-5798ff1ef12a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:21:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "169" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "105" ], + "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"The requested resource 757e4b32-fe4f-4fc2-9056-3301661f685d does not exist. CorrelationId: 0bbb1b9f-cb9e-4fd2-b9c7-7ccbb462d39f\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"code\":\"PrivateEndpointConnectionNotFound\",\"message\":\"Private endpoint connection not found.\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubSchemaGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubSchemaGroup.Recording.json index 012306ab7de6..82b2f356164b 100644 --- a/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubSchemaGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Remove-AzEventHubSchemaGroup.Recording.json @@ -1,13 +1,13 @@ { - "Remove-AzEventHubSchemaGroup+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubSchemaGroup+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "200" ], - "x-ms-client-request-id": [ "f7678b25-3e73-4d0f-896f-d7fee224bddf" ], + "x-ms-unique-id": [ "252" ], + "x-ms-client-request-id": [ "d0aa7481-d3a2-4192-abb0-516d81c2c160" ], "CommandName": [ "Remove-AzEventHubSchemaGroup" ], "FullCommandName": [ "Remove-AzEventHubSchemaGroup_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,15 +22,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c467595d-e281-4cc2-8aa4-3e9bc71e60a1_M9SN1_M9SN1" ], + "x-ms-request-id": [ "22e2c3ba-c6fb-4882-bb4a-26a044d8fe98_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14987" ], - "x-ms-correlation-request-id": [ "f9cb84b5-e76a-4fe8-a94c-2631e9b3a5ef" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061956Z:f9cb84b5-e76a-4fe8-a94c-2631e9b3a5ef" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14985" ], + "x-ms-correlation-request-id": [ "c206aa60-726b-4d46-b156-fb573b775b17" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182205Z:c206aa60-726b-4d46-b156-fb573b775b17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:55 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:05 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -39,15 +39,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubSchemaGroup+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubSchemaGroup+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGroupyqgrhp?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup8ztcqm?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "201" ], - "x-ms-client-request-id": [ "755e8e2b-ecf8-4b19-9aaf-cf731750f9b1" ], + "x-ms-unique-id": [ "253" ], + "x-ms-client-request-id": [ "72941ee5-a287-460d-ba11-36d4e8ccd152" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -62,34 +62,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "07ea60a2-977c-47f9-968a-e34b93737a61_M9SN1_M9SN1" ], + "x-ms-request-id": [ "83988799-4fc1-4d78-9a71-dba0485120bf_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], - "x-ms-correlation-request-id": [ "a596f766-3e46-4fc7-a468-b281a4d3ebc6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061957Z:a596f766-3e46-4fc7-a468-b281a4d3ebc6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11823" ], + "x-ms-correlation-request-id": [ "76fcde70-1473-4986-8f9b-abda4e639d5a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182205Z:76fcde70-1473-4986-8f9b-abda4e639d5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "318" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"Schema schemaGroupyqgrhp does not exist. TrackingId:07ea60a2-977c-47f9-968a-e34b93737a61_M9SN1_M9SN1_G3, SystemTracker:namespacename9ys3v4.servicebus.windows.net:$schemagroups/schemaGroupyqgrhp, Timestamp:2023-04-17T06:19:57 CorrelationId: a596f766-3e46-4fc7-a468-b281a4d3ebc6\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"message\":\"Schema schemaGroup8ztcqm does not exist. TrackingId:83988799-4fc1-4d78-9a71-dba0485120bf_M5SN1_M5SN1_G9, SystemTracker:namespacenamenysd8k.servicebus.windows.net:$schemagroups/schemaGroup8ztcqm, Timestamp:2023-08-17T18:22:05 CorrelationId: 76fcde70-1473-4986-8f9b-abda4e639d5a\",\"code\":\"NotFound\"}}", "isContentBase64": false } }, - "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview+1": { + "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "202" ], - "x-ms-client-request-id": [ "6f982960-f93e-46cd-a115-868aff613edb" ], + "x-ms-unique-id": [ "254" ], + "x-ms-client-request-id": [ "bb4f8e56-cd01-408a-9cda-62ee00f88854" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -104,34 +104,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4f1075e6-f6f7-4b56-bf26-1b293fbb8837_M9SN1_M9SN1" ], + "x-ms-request-id": [ "9d277a95-721f-473a-a6aa-ab2cdc553297_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], - "x-ms-correlation-request-id": [ "f69aaaf4-b4ea-427d-b56a-849d79dbddd5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061957Z:f69aaaf4-b4ea-427d-b56a-849d79dbddd5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11822" ], + "x-ms-correlation-request-id": [ "85ff27f9-c40e-4a54-af51-d798e99413a4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182206Z:85ff27f9-c40e-4a54-af51-d798e99413a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "521" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j\",\"name\":\"schemaGrouponc47j\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-04-17T06:11:21.6453294Z\",\"createdAtUtc\":\"2023-04-17T06:11:21.6453294Z\",\"eTag\":\"0a09debb-3658-473f-b668-bbc830ae93ff\",\"groupProperties\":{},\"schemaCompatibility\":\"Backward\",\"schemaType\":\"Avro\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn\",\"name\":\"schemaGroup6absgn\",\"type\":\"Microsoft.EventHub/Namespaces/SchemaGroups\",\"location\":\"East US\",\"properties\":{\"updatedAtUtc\":\"2023-08-17T18:12:59.4772884Z\",\"createdAtUtc\":\"2023-08-17T18:12:59.4772884Z\",\"eTag\":\"30859aff-852c-4196-ba58-0a30c3b28d60\",\"groupProperties\":{},\"schemaCompatibility\":\"Backward\",\"schemaType\":\"Avro\"}}", "isContentBase64": false } }, - "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview+2": { + "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "203" ], - "x-ms-client-request-id": [ "2d788596-ad68-4f4e-8a10-5bdbf9d0755f" ], + "x-ms-unique-id": [ "255" ], + "x-ms-client-request-id": [ "fb7b29f7-b7ce-46c6-b34d-9aa4802c1642" ], "CommandName": [ "Remove-AzEventHubSchemaGroup" ], "FullCommandName": [ "Remove-AzEventHubSchemaGroup_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -146,15 +146,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "729d3231-c700-4948-a961-d05553130a1d_M9SN1_M9SN1" ], + "x-ms-request-id": [ "473d6e52-9efa-4422-bad8-e3116e90da2e_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14986" ], - "x-ms-correlation-request-id": [ "70e519c5-add8-4748-832a-da64d64348cb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061958Z:70e519c5-add8-4748-832a-da64d64348cb" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14984" ], + "x-ms-correlation-request-id": [ "fd307cc0-df2c-4624-acbe-09ddda40433d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182207Z:fd307cc0-df2c-4624-acbe-09ddda40433d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:07 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -163,15 +163,15 @@ "isContentBase64": false } }, - "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview+3": { + "Remove-AzEventHubSchemaGroup+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/schemagroups/schemaGrouponc47j?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/schemagroups/schemaGroup6absgn?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "204" ], - "x-ms-client-request-id": [ "de4a4819-0bfc-4d6e-9aac-7411b132d579" ], + "x-ms-unique-id": [ "256" ], + "x-ms-client-request-id": [ "bafbd8c3-104b-47af-9c72-54925c79d068" ], "CommandName": [ "Get-AzEventHubSchemaGroup" ], "FullCommandName": [ "Get-AzEventHubSchemaGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,22 +186,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fef3a7c4-162c-4aa6-91b4-62d55f1ee07a_M9SN1_M9SN1" ], + "x-ms-request-id": [ "4456ecb6-eac9-4b48-a974-223a22a88218_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], - "x-ms-correlation-request-id": [ "58a06b33-2f61-48e5-be6a-401249c265b1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T061958Z:58a06b33-2f61-48e5-be6a-401249c265b1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11821" ], + "x-ms-correlation-request-id": [ "4d5670f0-c675-4d45-92aa-44dfe45dfe4c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182207Z:4d5670f0-c675-4d45-92aa-44dfe45dfe4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:19:57 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "318" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"Schema schemaGrouponc47j does not exist. TrackingId:fef3a7c4-162c-4aa6-91b4-62d55f1ee07a_M9SN1_M9SN1_G3, SystemTracker:namespacename9ys3v4.servicebus.windows.net:$schemagroups/schemaGrouponc47j, Timestamp:2023-04-17T06:19:58 CorrelationId: 58a06b33-2f61-48e5-be6a-401249c265b1\",\"code\":\"NotFound\"}}", + "Content": "{\"error\":{\"message\":\"Schema schemaGroup6absgn does not exist. TrackingId:4456ecb6-eac9-4b48-a974-223a22a88218_M5SN1_M5SN1_G9, SystemTracker:namespacenamenysd8k.servicebus.windows.net:$schemagroups/schemaGroup6absgn, Timestamp:2023-08-17T18:22:07 CorrelationId: 4d5670f0-c675-4d45-92aa-44dfe45dfe4c\",\"code\":\"NotFound\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Recording.json index 8e87f7d3cdc5..66888deced41 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHub+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview+1": { + "Set-AzEventHub+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "205" ], - "x-ms-client-request-id": [ "f52ca4f5-46f3-4ec7-a132-c49a3e30a07c" ], + "x-ms-unique-id": [ "257" ], + "x-ms-client-request-id": [ "5094e136-9c1b-4c98-b29b-64cab6f9a175" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,27 +23,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], - "x-ms-request-id": [ "7a3f649a-c43f-4008-ba10-bbff5d7ca6a4" ], - "x-ms-correlation-request-id": [ "7a3f649a-c43f-4008-ba10-bbff5d7ca6a4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062016Z:7a3f649a-c43f-4008-ba10-bbff5d7ca6a4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11820" ], + "x-ms-request-id": [ "7d7c6b12-ba02-4dd0-892a-e902b18600f0" ], + "x-ms-correlation-request-id": [ "7d7c6b12-ba02-4dd0-892a-e902b18600f0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182227Z:7d7c6b12-ba02-4dd0-892a-e902b18600f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "550" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1\",\"name\":\"eventHubau4ir1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:14.467\",\"updatedAt\":\"2023-04-17T05:55:16.083\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\",\"4\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2\",\"name\":\"eventHubz64mr2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:46.997\",\"updatedAt\":\"2023-08-17T17:39:49.287\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\",\"4\"]}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview+2": { + "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n },\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\",\n \"retentionTimeInHours\": 168\n },\n \"messageRetentionInDays\": 7,\n \"partitionCount\": 5,\n \"status\": \"Active\"\n }\n}", "isContentBase64": false, "Headers": { @@ -59,32 +59,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], - "x-ms-request-id": [ "6a54aace-b1c0-41a3-8c3f-45b9e4272eba" ], - "x-ms-correlation-request-id": [ "6a54aace-b1c0-41a3-8c3f-45b9e4272eba" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062018Z:6a54aace-b1c0-41a3-8c3f-45b9e4272eba" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1170" ], + "x-ms-request-id": [ "9088866f-cc50-428b-9ae9-9533aa1c9686" ], + "x-ms-correlation-request-id": [ "9088866f-cc50-428b-9ae9-9533aa1c9686" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182228Z:9088866f-cc50-428b-9ae9-9533aa1c9686" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1047" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubau4ir1\",\"name\":\"eventHubau4ir1\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHubz64mr2\",\"name\":\"eventHubz64mr2\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":5,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview+3": { + "Set-AzEventHub+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "207" ], - "x-ms-client-request-id": [ "3ae90fd6-56b1-4b61-b710-f6a4e420546e" ], + "x-ms-unique-id": [ "259" ], + "x-ms-client-request-id": [ "75a48792-b3ea-4e2e-833e-72383eaac972" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -100,27 +100,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], - "x-ms-request-id": [ "db5a1b6c-4c7d-4db0-a4d3-6a8e1f74bb1d" ], - "x-ms-correlation-request-id": [ "db5a1b6c-4c7d-4db0-a4d3-6a8e1f74bb1d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062018Z:db5a1b6c-4c7d-4db0-a4d3-6a8e1f74bb1d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11819" ], + "x-ms-request-id": [ "76f3fabe-b24b-4b88-8456-a5514c8264a3" ], + "x-ms-correlation-request-id": [ "76f3fabe-b24b-4b88-8456-a5514c8264a3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182228Z:76f3fabe-b24b-4b88-8456-a5514c8264a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1070" ], + "Content-Length": [ "1069" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx\",\"name\":\"eventHubcuospx\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T05:55:19.077\",\"updatedAt\":\"2023-04-17T05:55:20.073\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8\",\"name\":\"eventHub2i91o8\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T17:39:51.843\",\"updatedAt\":\"2023-08-17T17:39:53.42\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview+4": { + "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n },\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\",\n \"retentionTimeInHours\": 90\n },\n \"messageRetentionInDays\": 7,\n \"partitionCount\": 4,\n \"status\": \"Active\"\n }\n}", "isContentBase64": false, "Headers": { @@ -136,27 +136,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], - "x-ms-request-id": [ "d80562c0-2858-489a-b858-8c2e9bc41dbe" ], - "x-ms-correlation-request-id": [ "d80562c0-2858-489a-b858-8c2e9bc41dbe" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062019Z:d80562c0-2858-489a-b858-8c2e9bc41dbe" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1169" ], + "x-ms-request-id": [ "d4da0f90-f0ff-4a2e-8ed3-978c13548dcc" ], + "x-ms-correlation-request-id": [ "d4da0f90-f0ff-4a2e-8ed3-978c13548dcc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182228Z:d4da0f90-f0ff-4a2e-8ed3-978c13548dcc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1046" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHubcuospx\",\"name\":\"eventHubcuospx\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":90},\"messageRetentionInDays\":4,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub2i91o8\",\"name\":\"eventHub2i91o8\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":90},\"messageRetentionInDays\":4,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+1": { + "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview+5": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview", "Content": "{\n}", "isContentBase64": false, "Headers": { @@ -172,32 +172,145 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], - "x-ms-request-id": [ "2ab4c091-23ef-4567-a5fe-7a9f23fb3c4e" ], - "x-ms-correlation-request-id": [ "2ab4c091-23ef-4567-a5fe-7a9f23fb3c4e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062021Z:2ab4c091-23ef-4567-a5fe-7a9f23fb3c4e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1168" ], + "x-ms-request-id": [ "c14dd2f4-6a4d-4487-9ad9-36befbc8c5ce" ], + "x-ms-correlation-request-id": [ "c14dd2f4-6a4d-4487-9ad9-36befbc8c5ce" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182231Z:c14dd2f4-6a4d-4487-9ad9-36befbc8c5ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "545" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j\",\"name\":\"eventHub8xoc7j\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:30.377Z\",\"updatedAt\":\"2023-08-17T18:22:30.66Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "isContentBase64": false + } + }, + "Set-AzEventHub+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "262" ], + "x-ms-client-request-id": [ "b780765c-b668-46bf-8e62-c440a76ec645" ], + "CommandName": [ "Get-AzEventHub" ], + "FullCommandName": [ "Get-AzEventHub_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11818" ], + "x-ms-request-id": [ "0bd3b892-fc6d-4e0c-ba70-a888ca892012" ], + "x-ms-correlation-request-id": [ "0bd3b892-fc6d-4e0c-ba70-a888ca892012" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182231Z:0bd3b892-fc6d-4e0c-ba70-a888ca892012" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:22:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "543" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j\",\"name\":\"eventHub8xoc7j\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:30.377\",\"updatedAt\":\"2023-08-17T18:22:30.66\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "isContentBase64": false + } + }, + "Set-AzEventHub+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview+7": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\"\n },\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n },\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\",\n \"retentionTimeInHours\": 168\n },\n \"messageRetentionInDays\": 7,\n \"partitionCount\": 4,\n \"status\": \"Active\"\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1121" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1167" ], + "x-ms-request-id": [ "d599df7a-8e65-4463-b998-7ade0620b2cd" ], + "x-ms-correlation-request-id": [ "d599df7a-8e65-4463-b998-7ade0620b2cd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182232Z:d599df7a-8e65-4463-b998-7ade0620b2cd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:22:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1258" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV1c2xukw/eventhubs/eventHub8xoc7j\",\"name\":\"eventHub8xoc7j\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "isContentBase64": false + } + }, + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", + "Content": "{\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "3" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1166" ], + "x-ms-request-id": [ "b9e64d91-64ec-4367-aed7-5e425a3ee369" ], + "x-ms-correlation-request-id": [ "b9e64d91-64ec-4367-aed7-5e425a3ee369" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182234Z:b9e64d91-64ec-4367-aed7-5e425a3ee369" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:22:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "535" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:20:20.793Z\",\"updatedAt\":\"2023-04-17T06:20:20.94Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:34.04Z\",\"updatedAt\":\"2023-08-17T18:22:34.157Z\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+2": { + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "210" ], - "x-ms-client-request-id": [ "472238aa-4c13-40b1-ae77-c7d785f96aab" ], + "x-ms-unique-id": [ "265" ], + "x-ms-client-request-id": [ "39713b76-2cf9-473a-9e6b-abf29804cb31" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -213,32 +326,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], - "x-ms-request-id": [ "3288fb20-1d1b-476c-969e-b5a91762c97f" ], - "x-ms-correlation-request-id": [ "3288fb20-1d1b-476c-969e-b5a91762c97f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062021Z:3288fb20-1d1b-476c-969e-b5a91762c97f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11817" ], + "x-ms-request-id": [ "9ea8ecb7-4f54-4618-8961-639383eafc38" ], + "x-ms-correlation-request-id": [ "9ea8ecb7-4f54-4618-8961-639383eafc38" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182234Z:9ea8ecb7-4f54-4618-8961-639383eafc38" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "533" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:20:20.793\",\"updatedAt\":\"2023-04-17T06:20:20.94\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:34.04\",\"updatedAt\":\"2023-08-17T18:22:34.157\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+3": { + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211" ], - "x-ms-client-request-id": [ "595f9d34-d81d-450c-951e-900b7aa72270" ], + "x-ms-unique-id": [ "266" ], + "x-ms-client-request-id": [ "5063924e-574d-4cb4-8ec3-4d9ed2a61b19" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -254,27 +367,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], - "x-ms-request-id": [ "8a94159f-b237-477c-bc2f-185441b149cb" ], - "x-ms-correlation-request-id": [ "8a94159f-b237-477c-bc2f-185441b149cb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062021Z:8a94159f-b237-477c-bc2f-185441b149cb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11816" ], + "x-ms-request-id": [ "192ccae6-1878-4803-99bc-5f2ddc6adfc0" ], + "x-ms-correlation-request-id": [ "192ccae6-1878-4803-99bc-5f2ddc6adfc0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182235Z:192ccae6-1878-4803-99bc-5f2ddc6adfc0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "533" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:20:20.793\",\"updatedAt\":\"2023-04-17T06:20:20.94\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:34.04\",\"updatedAt\":\"2023-08-17T18:22:34.157\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"]}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+4": { + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": true,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n },\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\",\n \"retentionTimeInHours\": 168\n },\n \"messageRetentionInDays\": 7,\n \"partitionCount\": 4,\n \"status\": \"Active\"\n }\n}", "isContentBase64": false, "Headers": { @@ -290,32 +403,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], - "x-ms-request-id": [ "2260edc2-11b4-4831-ad60-7f2fe440c1cf" ], - "x-ms-correlation-request-id": [ "2260edc2-11b4-4831-ad60-7f2fe440c1cf" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062022Z:2260edc2-11b4-4831-ad60-7f2fe440c1cf" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1165" ], + "x-ms-request-id": [ "9b9512e0-652b-4971-ab15-10e23867c68f" ], + "x-ms-correlation-request-id": [ "9b9512e0-652b-4971-ab15-10e23867c68f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182235Z:9b9512e0-652b-4971-ab15-10e23867c68f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:22 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1035" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+5": { + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "213" ], - "x-ms-client-request-id": [ "726e854c-e7dd-4bdb-91f6-5d0340a1db1a" ], + "x-ms-unique-id": [ "268" ], + "x-ms-client-request-id": [ "0614f463-3a06-4a0c-bbe2-30b78802ecfb" ], "CommandName": [ "Get-AzEventHub" ], "FullCommandName": [ "Get-AzEventHub_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -331,27 +444,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], - "x-ms-request-id": [ "2b1cee40-0627-4bb8-b4ce-5ee6f23d19db" ], - "x-ms-correlation-request-id": [ "2b1cee40-0627-4bb8-b4ce-5ee6f23d19db" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062025Z:2b1cee40-0627-4bb8-b4ce-5ee6f23d19db" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11815" ], + "x-ms-request-id": [ "1abf3338-9a0a-4d9d-ae15-b6b90187a335" ], + "x-ms-correlation-request-id": [ "1abf3338-9a0a-4d9d-ae15-b6b90187a335" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182236Z:1abf3338-9a0a-4d9d-ae15-b6b90187a335" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1057" ], + "Content-Length": [ "1056" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-04-17T06:20:20.793\",\"updatedAt\":\"2023-04-17T06:20:22.28\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"2023-08-17T18:22:34.04\",\"updatedAt\":\"2023-08-17T18:22:35.56\",\"partitionIds\":[\"0\",\"1\",\"2\",\"3\"],\"captureDescription\":{\"enabled\":true,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } }, - "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview+6": { + "Set-AzEventHub+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview+6": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"captureDescription\": {\n \"destination\": {\n \"properties\": {\n \"storageAccountResourceId\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\n \"blobContainer\": \"container\",\n \"archiveNameFormat\": \"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"\n },\n \"name\": \"EventHubArchive.AzureBlockBlob\"\n },\n \"enabled\": false,\n \"encoding\": \"Avro\",\n \"intervalInSeconds\": 600,\n \"sizeLimitInBytes\": 11000000,\n \"skipEmptyArchives\": true\n },\n \"retentionDescription\": {\n \"cleanupPolicy\": \"Delete\",\n \"retentionTimeInHours\": 168\n },\n \"messageRetentionInDays\": 7,\n \"partitionCount\": 4,\n \"status\": \"Active\"\n }\n}", "isContentBase64": false, "Headers": { @@ -367,20 +480,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1181" ], - "x-ms-request-id": [ "a0a7e55c-2a49-427d-bbd5-45d594ffeea0" ], - "x-ms-correlation-request-id": [ "a0a7e55c-2a49-427d-bbd5-45d594ffeea0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062026Z:a0a7e55c-2a49-427d-bbd5-45d594ffeea0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1164" ], + "x-ms-request-id": [ "bdfc3236-4b7c-431b-bda1-c2f989d4783d" ], + "x-ms-correlation-request-id": [ "bdfc3236-4b7c-431b-bda1-c2f989d4783d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182236Z:bdfc3236-4b7c-431b-bda1-c2f989d4783d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1036" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":false,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventhub\",\"name\":\"eventhub\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs\",\"location\":\"eastus\",\"properties\":{\"retentionDescription\":{\"cleanupPolicy\":\"Delete\",\"retentionTimeInHours\":168},\"messageRetentionInDays\":7,\"partitionCount\":4,\"status\":\"Active\",\"createdAt\":\"0001-01-01T00:00:00\",\"updatedAt\":\"0001-01-01T00:00:00\",\"partitionIds\":[],\"captureDescription\":{\"enabled\":false,\"encoding\":\"Avro\",\"destination\":{\"name\":\"EventHubArchive.AzureBlockBlob\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount\",\"blobContainer\":\"container\",\"archiveNameFormat\":\"{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}\"}},\"intervalInSeconds\":600,\"sizeLimitInBytes\":11000000,\"skipEmptyArchives\":true}}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Tests.ps1 index ea12548a949c..f38109800395 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHub.Tests.ps1 @@ -40,6 +40,24 @@ Describe 'Set-AzEventHub' { $eventhub.IntervalInSeconds | Should -Be 600 $eventhub.SizeLimitInBytes | Should -Be 11000000 $eventhub.StorageAccountResourceId | Should -Be $eventhub.StorageAccountResourceId + + # Create EventHub with MSI Capture Enabled + $eventhub = New-AzEventHub -Name $env.eventHub5 -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespaceV1 + $eventhub = Set-AzEventHub -Name $env.eventHub5 -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespaceV1 -ArchiveNameFormat "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" -BlobContainer $env.blobContainer -CaptureEnabled -DestinationName EventHubArchive.AzureBlockBlob -Encoding Avro -IntervalInSeconds 600 -SizeLimitInBytes 11000000 -SkipEmptyArchive -StorageAccountResourceId $env.storageAccountId -IdentityType UserAssigned -UserAssignedIdentityId $env.msi2 + $eventhub.Name | Should -Be $env.eventHub5 + $eventhub.ResourceGroupName | Should -Be $env.resourceGroup + $eventhub.PartitionCount | Should -Be 4 + $eventhub.ArchiveNameFormat | Should -Be "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + $eventhub.BlobContainer | Should -Be $env.blobContainer + $eventhub.CaptureEnabled | Should -Be $true + $eventhub.SkipEmptyArchive | Should -Be $true + $eventhub.DestinationName | Should -Be "EventHubArchive.AzureBlockBlob" + $eventhub.Encoding | Should -Be "Avro" + $eventhub.IntervalInSeconds | Should -Be 600 + $eventhub.SizeLimitInBytes | Should -Be 11000000 + $eventhub.StorageAccountResourceId | Should -Be $eventhub.StorageAccountResourceId + $eventhub.IdentityType | Should -Be $eventhub.IdentityType + $eventhub.UserAssignedIdentityId | Should -be $eventhub.UserAssignedIdentityId } It 'SetViaIdentityExpanded' { diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Recording.json index 01d067a00fad..5eb5207dfedf 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubApplicationGroup+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview+1": { + "Set-AzEventHubApplicationGroup+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "215" ], - "x-ms-client-request-id": [ "430218e7-ada7-48eb-bc32-5a953310663e" ], + "x-ms-unique-id": [ "270" ], + "x-ms-client-request-id": [ "7bf148b4-74c1-40fe-b780-15d9097d3b77" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -18,38 +18,38 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bfee0ff8-708a-40c0-8f5f-83cf65e4af04_M9SN1_M9SN1" ], + "x-ms-request-id": [ "e240c15b-0e61-4c2d-a3d2-485e5395bbba_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], - "x-ms-correlation-request-id": [ "510ec457-b0df-4c4e-8886-f6fa0310a35f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062047Z:510ec457-b0df-4c4e-8886-f6fa0310a35f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11814" ], + "x-ms-correlation-request-id": [ "ff6a7ef3-042c-4a45-879d-525683a2bd95" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182300Z:ff6a7ef3-042c-4a45-879d-525683a2bd95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:22:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "147" ], + "Content-Length": [ "541" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"The requested resource appGroup5p9zhu does not exist. CorrelationId: 510ec457-b0df-4c4e-8886-f6fa0310a35f\",\"code\":\"NotFound\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000}],\"isEnabled\":true}}", "isContentBase64": false } }, - "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview+1": { + "Set-AzEventHubApplicationGroup+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/applicationGroups/appGroup5p9zhu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "216" ], - "x-ms-client-request-id": [ "58c23159-c3d4-46d7-8de6-a8297969277f" ], + "x-ms-unique-id": [ "271" ], + "x-ms-client-request-id": [ "a3af2a70-b98b-477f-9011-d75c430a430b" ], "CommandName": [ "Get-AzEventHubApplicationGroup" ], "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,26 +60,305 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "96d11317-04bb-4ef6-a168-6df6c2ade0f9_M9SN1_M9SN1" ], + "x-ms-request-id": [ "f69cf782-ab03-49ab-8dbf-8f8f4af0ddd4_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], - "x-ms-correlation-request-id": [ "b1f559e4-0945-4723-b4e2-c79682baf78a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062048Z:b1f559e4-0945-4723-b4e2-c79682baf78a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11813" ], + "x-ms-correlation-request-id": [ "e80f8f4d-2785-44b0-b070-0ffb05da341e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182301Z:e80f8f4d-2785-44b0-b070-0ffb05da341e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:20:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "147" ], + "Content-Length": [ "541" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"message\":\"The requested resource appGroup5p9zhu does not exist. CorrelationId: b1f559e4-0945-4723-b4e2-c79682baf78a\",\"code\":\"NotFound\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"isEnabled\": true,\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=key1\",\n \"policies\": [\n {\n \"name\": \"t1\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 10000,\n \"metricId\": \"IncomingMessages\"\n },\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n },\n {\n \"name\": \"t3\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 12000,\n \"metricId\": \"OutgoingMessages\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "581" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "09fbc313-112d-4619-83a5-415418f1a0db_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1163" ], + "x-ms-correlation-request-id": [ "37aa9d25-79cb-4668-be2d-f9cda9eabc54" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182302Z:37aa9d25-79cb-4668-be2d-f9cda9eabc54" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "638" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "273" ], + "x-ms-client-request-id": [ "f02ba2b8-fc8e-4373-a491-1a5a77cdb623" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "12266096-4af5-46e6-820c-4baca7f32a83_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11812" ], + "x-ms-correlation-request-id": [ "7d0b55ac-5e05-4f81-9ae1-6dfc9826d0b7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182303Z:7d0b55ac-5e05-4f81-9ae1-6dfc9826d0b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "638" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "274" ], + "x-ms-client-request-id": [ "0e01157d-6bbb-4d15-8475-02318748f4a9" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9ab82c99-6a68-40a8-b160-85a1927ba74d_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11811" ], + "x-ms-correlation-request-id": [ "bfbe8f0b-b01b-45a2-b876-eb524bc68aea" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182303Z:bfbe8f0b-b01b-45a2-b876-eb524bc68aea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "638" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "275" ], + "x-ms-client-request-id": [ "64cb480d-c787-423a-8a77-53a090da7475" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "237e41d6-22d5-475a-94fc-94cea33637c7_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11810" ], + "x-ms-correlation-request-id": [ "96f9afc0-20ae-4805-bc3d-aea08fcdd52f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182304Z:96f9afc0-20ae-4805-bc3d-aea08fcdd52f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "638" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"isEnabled\": true,\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=key1\",\n \"policies\": [\n {\n \"name\": \"t1\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 10000,\n \"metricId\": \"IncomingMessages\"\n },\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n },\n {\n \"name\": \"t3\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 12000,\n \"metricId\": \"OutgoingMessages\"\n },\n {\n \"name\": \"t4\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 13000,\n \"metricId\": \"IncomingBytes\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "729" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "db5e1606-9f61-4506-bef5-e1a69b5f0f16_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1162" ], + "x-ms-correlation-request-id": [ "9e4c6880-2a8f-4ad1-a4c9-dde789af73bc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182305Z:9e4c6880-2a8f-4ad1-a4c9-dde789af73bc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "732" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t4\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":13000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "277" ], + "x-ms-client-request-id": [ "7c0aa983-49eb-41f4-8ca2-d3067600337e" ], + "CommandName": [ "Get-AzEventHubApplicationGroup" ], + "FullCommandName": [ "Get-AzEventHubApplicationGroup_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6b3b57e2-2aea-4d9d-b20f-80023467c0e7_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11809" ], + "x-ms-correlation-request-id": [ "15a9cd02-3f30-4e1c-9f75-afe9d7ebd510" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182305Z:15a9cd02-3f30-4e1c-9f75-afe9d7ebd510" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "732" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t4\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":13000}],\"isEnabled\":true}}", + "isContentBase64": false + } + }, + "Set-AzEventHubApplicationGroup+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview+6": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"isEnabled\": false,\n \"clientAppGroupIdentifier\": \"NamespaceSASKeyName=key1\",\n \"policies\": [\n {\n \"name\": \"t1\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 10000,\n \"metricId\": \"IncomingMessages\"\n },\n {\n \"name\": \"t2\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 20000,\n \"metricId\": \"OutgoingBytes\"\n },\n {\n \"name\": \"t3\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 12000,\n \"metricId\": \"OutgoingMessages\"\n },\n {\n \"name\": \"t4\",\n \"type\": \"ThrottlingPolicy\",\n \"rateLimitThreshold\": 13000,\n \"metricId\": \"IncomingBytes\"\n }\n ]\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "730" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "28b69c6d-b67d-40d1-98ca-978209109e74_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1161" ], + "x-ms-correlation-request-id": [ "9febf7e4-c62f-4dcd-adfe-1bd3b9e6c869" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182306Z:9febf7e4-c62f-4dcd-adfe-1bd3b9e6c869" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:23:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "733" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/applicationGroups/appGroupk52xm7\",\"name\":\"appGroupk52xm7\",\"type\":\"\",\"location\":\"East US\",\"properties\":{\"clientAppGroupIdentifier\":\"NamespaceSASKeyName=key1\",\"policies\":[{\"type\":\"ThrottlingPolicy\",\"name\":\"t1\",\"metricId\":\"IncomingMessages\",\"rateLimitThreshold\":10000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t2\",\"metricId\":\"OutgoingBytes\",\"rateLimitThreshold\":20000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t3\",\"metricId\":\"OutgoingMessages\",\"rateLimitThreshold\":12000},{\"type\":\"ThrottlingPolicy\",\"name\":\"t4\",\"metricId\":\"IncomingBytes\",\"rateLimitThreshold\":13000}],\"isEnabled\":false}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Tests.ps1 index 03313d9baa35..c74fb855996e 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubApplicationGroup.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Set-AzEventHubApplicationGrou } Describe 'Set-AzEventHubApplicationGroup' { - It 'SetExpanded' -Skip { + It 'SetExpanded' { $t3 = New-AzEventHubThrottlingPolicyConfig -Name t3 -MetricId OutgoingMessages -RateLimitThreshold 12000 $appGroup = Get-AzEventHubApplicationGroup -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.appGroup2 $appGroup.Policy += $t3 @@ -26,13 +26,13 @@ Describe 'Set-AzEventHubApplicationGroup' { $updateAppGroup.ClientAppGroupIdentifier | Should -Be $appGroup.ClientAppGroupIdentifier } - It 'SetViaIdentityExpanded' -Skip { + It 'SetViaIdentityExpanded' { $t4 = New-AzEventHubThrottlingPolicyConfig -Name t4 -MetricId IncomingBytes -RateLimitThreshold 13000 $appGroup = Get-AzEventHubApplicationGroup -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $env.appGroup2 $appGroup.Policy += $t4 - + { Set-AzEventHubApplicationGroup -InputObject $appGroup } | Should -Throw 'Please specify the property you want to update on the -InputObject' - + $updateAppGroup = Set-AzEventHubApplicationGroup -InputObject $appGroup -Policy $appGroup.Policy $updateAppGroup.Name | Should -Be $env.appGroup2 $updateAppGroup.ResourceGroupName | Should -Be $env.resourceGroup diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubAuthorizationRule.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubAuthorizationRule.Recording.json index cc0bf3c2a3a1..e741a65b0f5d 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubAuthorizationRule.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubAuthorizationRule.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+1": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedNamespace+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "217" ], - "x-ms-client-request-id": [ "83a6db9f-af57-403c-8d0a-350fc26ddee1" ], + "x-ms-unique-id": [ "279" ], + "x-ms-client-request-id": [ "b106fbfa-21b3-4a4c-a81b-79115b6d1842" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,27 +23,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], - "x-ms-request-id": [ "6f586043-4a0d-4370-a884-243ee12330d3" ], - "x-ms-correlation-request-id": [ "6f586043-4a0d-4370-a884-243ee12330d3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062106Z:6f586043-4a0d-4370-a884-243ee12330d3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11808" ], + "x-ms-request-id": [ "edc89405-c28b-44df-944a-76804e908654" ], + "x-ms-correlation-request-id": [ "edc89405-c28b-44df-944a-76804e908654" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182329Z:edc89405-c28b-44df-944a-76804e908654" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedNamespace+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+2": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedNamespace+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -59,32 +59,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1180" ], - "x-ms-request-id": [ "82da383c-4e10-4680-9b49-e009aa0eda64" ], - "x-ms-correlation-request-id": [ "82da383c-4e10-4680-9b49-e009aa0eda64" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062112Z:82da383c-4e10-4680-9b49-e009aa0eda64" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1160" ], + "x-ms-request-id": [ "7d79e3ac-4cbc-4bdc-a6e7-1c8d0d54f9db" ], + "x-ms-correlation-request-id": [ "7d79e3ac-4cbc-4bdc-a6e7-1c8d0d54f9db" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182337Z:7d79e3ac-4cbc-4bdc-a6e7-1c8d0d54f9db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "336" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+1": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedEntity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "219" ], - "x-ms-client-request-id": [ "6563741e-2081-459f-b504-9a120560cd92" ], + "x-ms-unique-id": [ "281" ], + "x-ms-client-request-id": [ "3708fd88-37dd-4a5f-8f70-cdd014afba1c" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -100,27 +100,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], - "x-ms-request-id": [ "225935e3-290f-4102-a4df-b6ab97647bde" ], - "x-ms-correlation-request-id": [ "225935e3-290f-4102-a4df-b6ab97647bde" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062113Z:225935e3-290f-4102-a4df-b6ab97647bde" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11807" ], + "x-ms-request-id": [ "1d563553-d6c5-4b5d-b6cc-1de04c2b069f" ], + "x-ms-correlation-request-id": [ "1d563553-d6c5-4b5d-b6cc-1de04c2b069f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182337Z:1d563553-d6c5-4b5d-b6cc-1de04c2b069f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "371" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedEntity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+2": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetExpandedEntity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Send\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -136,32 +136,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1179" ], - "x-ms-request-id": [ "fb26c63d-00d6-4ac1-bbad-fc854614ea05" ], - "x-ms-correlation-request-id": [ "fb26c63d-00d6-4ac1-bbad-fc854614ea05" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062113Z:fb26c63d-00d6-4ac1-bbad-fc854614ea05" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1159" ], + "x-ms-request-id": [ "e3292f8c-17c3-4f5a-80e4-a189b08f54ba" ], + "x-ms-correlation-request-id": [ "e3292f8c-17c3-4f5a-80e4-a189b08f54ba" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182337Z:e3292f8c-17c3-4f5a-80e4-a189b08f54ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "349" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Send\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+1": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "221" ], - "x-ms-client-request-id": [ "263ec310-4636-47ed-bf6a-e2ee9919cde4" ], + "x-ms-unique-id": [ "283" ], + "x-ms-client-request-id": [ "ed43e29d-7488-4321-8084-4f0f59042588" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -177,32 +177,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], - "x-ms-request-id": [ "ca37b40b-35a9-40c7-a8b7-9ed84814227a" ], - "x-ms-correlation-request-id": [ "ca37b40b-35a9-40c7-a8b7-9ed84814227a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062114Z:ca37b40b-35a9-40c7-a8b7-9ed84814227a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11806" ], + "x-ms-request-id": [ "d371497a-b910-429e-a0ce-75fea11bc5e3" ], + "x-ms-correlation-request-id": [ "d371497a-b910-429e-a0ce-75fea11bc5e3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182338Z:d371497a-b910-429e-a0ce-75fea11bc5e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "336" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+2": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "222" ], - "x-ms-client-request-id": [ "7bcc2166-7607-494e-9fbc-8c2465b157f9" ], + "x-ms-unique-id": [ "284" ], + "x-ms-client-request-id": [ "e3f4bf07-f554-4105-9bb1-409a9047fa97" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubNamespaceAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -218,27 +218,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], - "x-ms-request-id": [ "f03cfb23-4246-4c99-a5c1-d4d283314dca" ], - "x-ms-correlation-request-id": [ "f03cfb23-4246-4c99-a5c1-d4d283314dca" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062115Z:f03cfb23-4246-4c99-a5c1-d4d283314dca" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11805" ], + "x-ms-request-id": [ "08cb521c-a6bf-45e4-9ccc-f7928fc5fc0c" ], + "x-ms-correlation-request-id": [ "08cb521c-a6bf-45e4-9ccc-f7928fc5fc0c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182339Z:08cb521c-a6bf-45e4-9ccc-f7928fc5fc0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "336" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationrules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationrules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview+3": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -254,32 +254,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1178" ], - "x-ms-request-id": [ "c01a8c6a-17b0-4de3-a294-f6c82152eb54" ], - "x-ms-correlation-request-id": [ "c01a8c6a-17b0-4de3-a294-f6c82152eb54" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062121Z:c01a8c6a-17b0-4de3-a294-f6c82152eb54" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1158" ], + "x-ms-request-id": [ "34b660c8-28b1-449d-b400-81ec08d29dd7" ], + "x-ms-correlation-request-id": [ "34b660c8-28b1-449d-b400-81ec08d29dd7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182345Z:34b660c8-28b1-449d-b400-81ec08d29dd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "352" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/authorizationRules/auth-rulevrpigf\",\"name\":\"auth-rulevrpigf\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/authorizationRules/auth-ruleo0js46\",\"name\":\"auth-ruleo0js46\",\"type\":\"Microsoft.EventHub/Namespaces/AuthorizationRules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+4": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224" ], - "x-ms-client-request-id": [ "267a6044-4fd5-4794-bdad-4f33ceb47eac" ], + "x-ms-unique-id": [ "286" ], + "x-ms-client-request-id": [ "c7d65417-9e05-4602-8585-da7c3f084fbd" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_Get" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -295,32 +295,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], - "x-ms-request-id": [ "53d09b74-23d2-4899-8bb7-886a1568154b" ], - "x-ms-correlation-request-id": [ "53d09b74-23d2-4899-8bb7-886a1568154b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062122Z:53d09b74-23d2-4899-8bb7-886a1568154b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11804" ], + "x-ms-request-id": [ "142c764b-a5f7-4a44-8444-38bc5bad5f7a" ], + "x-ms-correlation-request-id": [ "142c764b-a5f7-4a44-8444-38bc5bad5f7a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182346Z:142c764b-a5f7-4a44-8444-38bc5bad5f7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "369" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Send\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+5": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "225" ], - "x-ms-client-request-id": [ "df778f7f-5263-4f7d-8ab6-3556caa1e1c1" ], + "x-ms-unique-id": [ "287" ], + "x-ms-client-request-id": [ "1157d8ec-6db4-45f6-8468-d2a723a21f93" ], "CommandName": [ "Az.EventHub.private\\Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "FullCommandName": [ "Get-AzEventHubAuthorizationRule_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -336,27 +336,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], - "x-ms-request-id": [ "16a929fe-0f02-4ef1-a5ed-135e80f5e70b" ], - "x-ms-correlation-request-id": [ "16a929fe-0f02-4ef1-a5ed-135e80f5e70b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062124Z:16a929fe-0f02-4ef1-a5ed-135e80f5e70b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11803" ], + "x-ms-request-id": [ "7cd0cb30-4e60-4e3b-a709-7c4c7de32c46" ], + "x-ms-correlation-request-id": [ "7cd0cb30-4e60-4e3b-a709-7c4c7de32c46" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182346Z:7cd0cb30-4e60-4e3b-a709-7c4c7de32c46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:23 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "369" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationrules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Send\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationrules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"location\":\"eastus\",\"properties\":{\"rights\":[\"Send\"]}}", "isContentBase64": false } }, - "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview+6": { + "Set-AzEventHubAuthorizationRule+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview+6": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"rights\": [ \"Manage\", \"Send\", \"Listen\" ]\n }\n}", "isContentBase64": false, "Headers": { @@ -372,20 +372,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1177" ], - "x-ms-request-id": [ "cfda7fe5-35fc-4cbc-9d98-8d0f2302db86" ], - "x-ms-correlation-request-id": [ "cfda7fe5-35fc-4cbc-9d98-8d0f2302db86" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062125Z:cfda7fe5-35fc-4cbc-9d98-8d0f2302db86" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1157" ], + "x-ms-request-id": [ "384335cf-9fba-4f49-8a40-199ff8405d25" ], + "x-ms-correlation-request-id": [ "384335cf-9fba-4f49-8a40-199ff8405d25" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182347Z:384335cf-9fba-4f49-8a40-199ff8405d25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:21:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:23:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "367" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/authorizationRules/auth-rulee0ymis\",\"name\":\"auth-rulee0ymis\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/authorizationRules/auth-rule60cxny\",\"name\":\"auth-rule60cxny\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/authorizationrules\",\"properties\":{\"rights\":[\"Manage\",\"Send\",\"Listen\"]}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubConsumerGroup.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubConsumerGroup.Recording.json index f5655357c637..f9f227e2607e 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubConsumerGroup.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubConsumerGroup.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubConsumerGroup+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview+1": { + "Set-AzEventHubConsumerGroup+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "227" ], - "x-ms-client-request-id": [ "24728eb7-633d-4cf0-98f8-0fdc6b0edf64" ], + "x-ms-unique-id": [ "289" ], + "x-ms-client-request-id": [ "26d0410a-eac3-4204-91a2-4f7bdb8f8cc5" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -23,27 +23,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], - "x-ms-request-id": [ "a5da9d78-bf57-4dc2-a04b-d4933ddb002c" ], - "x-ms-correlation-request-id": [ "a5da9d78-bf57-4dc2-a04b-d4933ddb002c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062200Z:a5da9d78-bf57-4dc2-a04b-d4933ddb002c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11802" ], + "x-ms-request-id": [ "b6592577-8610-4878-b956-0d78f89c1e1d" ], + "x-ms-correlation-request-id": [ "b6592577-8610-4878-b956-0d78f89c1e1d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182427Z:b6592577-8610-4878-b956-0d78f89c1e1d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:00 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "406" ], + "Content-Length": [ "407" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\"}}", "isContentBase64": false } }, - "Set-AzEventHubConsumerGroup+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview+2": { + "Set-AzEventHubConsumerGroup+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"userMetadata\": \"Second Metadata\"\n }\n}", "isContentBase64": false, "Headers": { @@ -59,32 +59,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1176" ], - "x-ms-request-id": [ "77224942-c25f-4c54-b89b-2561b5da7157" ], - "x-ms-correlation-request-id": [ "77224942-c25f-4c54-b89b-2561b5da7157" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062201Z:77224942-c25f-4c54-b89b-2561b5da7157" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1156" ], + "x-ms-request-id": [ "30adf8ee-d7df-487b-9ede-d1b43b6e33e9" ], + "x-ms-correlation-request-id": [ "30adf8ee-d7df-487b-9ede-d1b43b6e33e9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182428Z:30adf8ee-d7df-487b-9ede-d1b43b6e33e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:00 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "448" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T06:22:01.3069442Z\",\"updatedAt\":\"2023-04-17T06:22:01.3069442Z\",\"userMetadata\":\"Second Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T18:24:27.9008981Z\",\"updatedAt\":\"2023-08-17T18:24:27.9008981Z\",\"userMetadata\":\"Second Metadata\"}}", "isContentBase64": false } }, - "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview+1": { + "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/%24Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/%24Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "229" ], - "x-ms-client-request-id": [ "72e1b378-999d-4ac4-9840-6f34b2f6a79f" ], + "x-ms-unique-id": [ "291" ], + "x-ms-client-request-id": [ "c1050245-215b-4a95-8e4c-868ffb914357" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -100,32 +100,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], - "x-ms-request-id": [ "cb697de3-dc4c-495c-858c-8a7775dfceff" ], - "x-ms-correlation-request-id": [ "cb697de3-dc4c-495c-858c-8a7775dfceff" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062202Z:cb697de3-dc4c-495c-858c-8a7775dfceff" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11801" ], + "x-ms-request-id": [ "6b3e30dd-363a-4a50-ab75-0fe5b9c91b77" ], + "x-ms-correlation-request-id": [ "6b3e30dd-363a-4a50-ab75-0fe5b9c91b77" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182428Z:6b3e30dd-363a-4a50-ab75-0fe5b9c91b77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "439" ], + "Content-Length": [ "440" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\",\"userMetadata\":\"Second Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\",\"userMetadata\":\"Second Metadata\"}}", "isContentBase64": false } }, - "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview+2": { + "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "230" ], - "x-ms-client-request-id": [ "c29fc0c0-3bfc-4374-af2b-ae8184ed5705" ], + "x-ms-unique-id": [ "292" ], + "x-ms-client-request-id": [ "fd2488e7-165b-4d46-bc68-73cbec6dbcb0" ], "CommandName": [ "Get-AzEventHubConsumerGroup" ], "FullCommandName": [ "Get-AzEventHubConsumerGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -141,27 +141,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], - "x-ms-request-id": [ "925fd939-82a0-441c-8a3e-37e1fecf1574" ], - "x-ms-correlation-request-id": [ "925fd939-82a0-441c-8a3e-37e1fecf1574" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062202Z:925fd939-82a0-441c-8a3e-37e1fecf1574" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11800" ], + "x-ms-request-id": [ "8b079e83-3d9c-466e-b588-ba4d1a4108e9" ], + "x-ms-correlation-request-id": [ "8b079e83-3d9c-466e-b588-ba4d1a4108e9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182428Z:8b079e83-3d9c-466e-b588-ba4d1a4108e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "439" ], + "Content-Length": [ "440" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T05:35:39.731Z\",\"updatedAt\":\"2023-04-17T05:35:39.84Z\",\"userMetadata\":\"Second Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T17:15:48.332Z\",\"updatedAt\":\"2023-08-17T17:15:48.426Z\",\"userMetadata\":\"Second Metadata\"}}", "isContentBase64": false } }, - "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview+3": { + "Set-AzEventHubConsumerGroup+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"userMetadata\": \"Third Metadata\"\n }\n}", "isContentBase64": false, "Headers": { @@ -177,20 +177,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1175" ], - "x-ms-request-id": [ "40ff7d25-a83d-433c-80e7-f94de26184da" ], - "x-ms-correlation-request-id": [ "40ff7d25-a83d-433c-80e7-f94de26184da" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062202Z:40ff7d25-a83d-433c-80e7-f94de26184da" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1155" ], + "x-ms-request-id": [ "b86315c6-fca6-4156-bbfb-bf9877e9c2c5" ], + "x-ms-correlation-request-id": [ "b86315c6-fca6-4156-bbfb-bf9877e9c2c5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182428Z:b86315c6-fca6-4156-bbfb-bf9877e9c2c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "447" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName9ys3v4/eventhubs/eventHube8fp3c/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-04-17T06:22:02.4945713Z\",\"updatedAt\":\"2023-04-17T06:22:02.4945713Z\",\"userMetadata\":\"Third Metadata\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/eventhubs/eventHub6mc5ow/consumergroups/$Default\",\"name\":\"$Default\",\"type\":\"Microsoft.EventHub/namespaces/eventhubs/consumergroups\",\"location\":\"eastus\",\"properties\":{\"createdAt\":\"2023-08-17T18:24:28.6081695Z\",\"updatedAt\":\"2023-08-17T18:24:28.6081695Z\",\"userMetadata\":\"Third Metadata\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationBreakPair.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationBreakPair.Recording.json index c6fd1a7f8171..69baa38303d8 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationBreakPair.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationBreakPair.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+1": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "232" ], - "x-ms-client-request-id": [ "c0b79e67-9dfa-4f7b-ac90-957e8058c4aa" ], + "x-ms-unique-id": [ "294" ], + "x-ms-client-request-id": [ "0741adb3-ce7a-44ef-ac34-b58f8a2bd057" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0d71fb73-097d-40fd-935b-6e4bc9b35d60_M11SN1_M11SN1" ], + "x-ms-request-id": [ "49a065d4-9e7b-41b0-99cd-50567afaa647_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11933" ], - "x-ms-correlation-request-id": [ "36b94e7b-a2e1-4d19-9e48-6afcc3d1fc74" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062220Z:36b94e7b-a2e1-4d19-9e48-6afcc3d1fc74" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11799" ], + "x-ms-correlation-request-id": [ "b00990ae-826f-4f39-be9b-541cd0921e8a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182448Z:b00990ae-826f-4f39-be9b-541cd0921e8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/breakPairing?api-version=2022-10-01-preview+2": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/breakPairing?api-version=2023-01-01-preview+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz/breakPairing?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/breakPairing?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "233" ], - "x-ms-client-request-id": [ "0323eef9-ec01-41b9-83c1-a2c32dcefed6" ], + "x-ms-unique-id": [ "295" ], + "x-ms-client-request-id": [ "0b04083d-b0b4-4e9b-91a8-812b117fd570" ], "CommandName": [ "Az.EventHub.private\\Invoke-AzEventHubBreakDisasterRecoveryConfigPairing_Break" ], "FullCommandName": [ "Invoke-AzEventHubBreakDisasterRecoveryConfigPairing_Break" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,15 +64,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b709585d-2fea-40ef-a3ff-a70f3f673c7a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "ddf58f7c-44cd-464c-8223-132ebafd48c6_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "a8a6e585-2fe0-43f9-bf37-c981e8e9a0d5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062221Z:a8a6e585-2fe0-43f9-bf37-c981e8e9a0d5" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], + "x-ms-correlation-request-id": [ "6396248d-95c0-4fc6-993f-d26f3dcf36d6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182449Z:6396248d-95c0-4fc6-993f-d26f3dcf36d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:48 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -82,15 +82,15 @@ "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+3": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "234" ], - "x-ms-client-request-id": [ "dd68590b-911c-468d-a18e-1250ac2f7cf2" ], + "x-ms-unique-id": [ "296" ], + "x-ms-client-request-id": [ "b01c490d-c976-4f8e-b845-42f3df8cf9cb" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -105,34 +105,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "edde50dc-1f73-4e87-8748-b018ef8e4154_M11SN1_M11SN1" ], + "x-ms-request-id": [ "e8376025-69ea-482f-bdfc-6086d92a3758_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11932" ], - "x-ms-correlation-request-id": [ "11829ea9-ece9-44d7-9d2f-2be1e59aacc2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062222Z:11829ea9-ece9-44d7-9d2f-2be1e59aacc2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11798" ], + "x-ms-correlation-request-id": [ "531695c1-ac79-4662-a4b9-c2adde5656a6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182449Z:531695c1-ac79-4662-a4b9-c2adde5656a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+4": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "235" ], - "x-ms-client-request-id": [ "9c609535-bdab-42b2-8923-185f928422c9" ], + "x-ms-unique-id": [ "297" ], + "x-ms-client-request-id": [ "adf08cbf-fa6b-4e25-a2d2-1be955ee0f26" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -147,34 +147,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5a45c1ec-4eff-453c-afb2-efb93199c0a5_M11SN1_M11SN1" ], + "x-ms-request-id": [ "537da2ec-cd66-4a25-aef3-2616a85b0a77_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11931" ], - "x-ms-correlation-request-id": [ "c9ab42f6-d77e-4657-ac74-bc25afbb5fdb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062232Z:c9ab42f6-d77e-4657-ac74-bc25afbb5fdb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11800" ], + "x-ms-correlation-request-id": [ "4ea655a2-2f44-4585-b616-2a9019c8204b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182500Z:4ea655a2-2f44-4585-b616-2a9019c8204b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:32 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:24:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+5": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "236" ], - "x-ms-client-request-id": [ "14428614-a69e-45ed-857b-f80f87045f64" ], + "x-ms-unique-id": [ "298" ], + "x-ms-client-request-id": [ "e818a2cc-a3ea-44ae-9f83-e8d118db0a9c" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -189,34 +189,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "167396a3-a51c-4391-9c56-672545f48bbd_M11SN1_M11SN1" ], + "x-ms-request-id": [ "f75dc738-4a05-454c-a263-0698ed8be701_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11930" ], - "x-ms-correlation-request-id": [ "9171492b-a2b6-481c-95f3-4192bf79b12a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062243Z:9171492b-a2b6-481c-95f3-4192bf79b12a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11799" ], + "x-ms-correlation-request-id": [ "802a0c3f-c1e3-452e-b36e-7345df5944a0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182510Z:802a0c3f-c1e3-452e-b36e-7345df5944a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:43 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:25:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+6": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "237" ], - "x-ms-client-request-id": [ "566ffb41-bd3c-4d16-87c4-1bb199c7e5c4" ], + "x-ms-unique-id": [ "299" ], + "x-ms-client-request-id": [ "e6350555-3537-468c-a45b-11a205f73d9e" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -231,34 +231,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0222a581-8cc9-4f5c-81d7-52d66f4723a7_M11SN1_M11SN1" ], + "x-ms-request-id": [ "9f7b7236-a47f-4557-90ce-1efc7842df4c_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11929" ], - "x-ms-correlation-request-id": [ "7b3bd580-6884-4ee3-b185-8aba522e7c31" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062253Z:7b3bd580-6884-4ee3-b185-8aba522e7c31" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11798" ], + "x-ms-correlation-request-id": [ "1d3b1397-cc68-4354-b16f-961ded6fcba6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182520Z:1d3b1397-cc68-4354-b16f-961ded6fcba6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:22:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:25:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+7": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "238" ], - "x-ms-client-request-id": [ "52e24299-ed81-45b6-b1b6-747e66ffd364" ], + "x-ms-unique-id": [ "300" ], + "x-ms-client-request-id": [ "baa70b3e-addc-4ce3-803b-5cb8662f79f1" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -273,34 +273,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8772b8b9-6328-4439-b802-71568ddd916b_M11SN1_M11SN1" ], + "x-ms-request-id": [ "209910ce-cc10-4508-a1cc-e9dcd1038983_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11928" ], - "x-ms-correlation-request-id": [ "54ccb43c-a269-46a1-ad75-2d11d002627b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062304Z:54ccb43c-a269-46a1-ad75-2d11d002627b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11797" ], + "x-ms-correlation-request-id": [ "ca766d40-e4e7-4456-9d08-4a76ca0ad4bd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182531Z:ca766d40-e4e7-4456-9d08-4a76ca0ad4bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:23:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:25:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+8": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "239" ], - "x-ms-client-request-id": [ "42b669a7-592c-477a-b7e2-0c198f659650" ], + "x-ms-unique-id": [ "301" ], + "x-ms-client-request-id": [ "92ee6064-2a61-46df-b0bf-e7e7972a949c" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -315,34 +315,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0e1284f5-25cc-40d1-ac9a-aecfc6dff759_M11SN1_M11SN1" ], + "x-ms-request-id": [ "7a4ad0ff-fba0-46e9-a223-9749a8c8fb37_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11927" ], - "x-ms-correlation-request-id": [ "509d8a97-2e2a-45de-86c2-0d93fb163037" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062314Z:509d8a97-2e2a-45de-86c2-0d93fb163037" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11796" ], + "x-ms-correlation-request-id": [ "1cbd2b05-b80d-4e4c-a894-dc2ce597d168" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182541Z:1cbd2b05-b80d-4e4c-a894-dc2ce597d168" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:23:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:25:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+9": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "240" ], - "x-ms-client-request-id": [ "c2ab0d96-428d-477f-ac1f-2322ad37792d" ], + "x-ms-unique-id": [ "302" ], + "x-ms-client-request-id": [ "5af31882-ed9e-4051-a592-a971735d214e" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -357,34 +357,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "acc8eb2b-1cf2-457a-83fc-ef9ceae2353d_M11SN1_M11SN1" ], + "x-ms-request-id": [ "c4133c06-bd81-4294-aafb-8865caef2f40_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], - "x-ms-correlation-request-id": [ "a170b394-366f-481b-8905-7bb5b4eb8469" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062324Z:a170b394-366f-481b-8905-7bb5b4eb8469" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11795" ], + "x-ms-correlation-request-id": [ "a64f69f3-722c-4cba-af8b-ed297372f07d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182552Z:a64f69f3-722c-4cba-af8b-ed297372f07d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:23:24 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:25:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+10": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "241" ], - "x-ms-client-request-id": [ "6f0802e8-408c-40ca-b3a3-493a380abd0b" ], + "x-ms-unique-id": [ "303" ], + "x-ms-client-request-id": [ "59a45b99-d5c7-4dca-938e-c6ec29a2a465" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -399,34 +399,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9e0f23e3-4a88-44eb-802b-3c9412306db4_M11SN1_M11SN1" ], + "x-ms-request-id": [ "a56744be-7851-4c67-90fc-1f3026abff37_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], - "x-ms-correlation-request-id": [ "3ed946ec-c557-4eee-b759-a3e932d85523" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062335Z:3ed946ec-c557-4eee-b759-a3e932d85523" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11794" ], + "x-ms-correlation-request-id": [ "e079270c-ce37-4709-b0cd-39f8610c96eb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182602Z:e079270c-ce37-4709-b0cd-39f8610c96eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:23:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:01 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+11": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "242" ], - "x-ms-client-request-id": [ "a644a519-caf2-4486-8282-3030dff4a6ef" ], + "x-ms-unique-id": [ "304" ], + "x-ms-client-request-id": [ "3c4774c8-10d2-405d-a817-4c25df0016eb" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -441,30 +441,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f71a2b10-a70c-4a7d-ab80-37a35523606d_M11SN1_M11SN1" ], + "x-ms-request-id": [ "9ab59a9b-714b-42f3-a6c3-3a7d55c2dee8_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], - "x-ms-correlation-request-id": [ "c0866acc-cb89-411e-af1e-dc68af4c9dba" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062345Z:c0866acc-cb89-411e-af1e-dc68af4c9dba" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11793" ], + "x-ms-correlation-request-id": [ "3453cd24-f20b-4e33-80bf-3778ef5315be" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182612Z:3453cd24-f20b-4e33-80bf-3778ef5315be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:23:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:11 GMT" ] }, "ContentHeaders": { "Content-Length": [ "412" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+12": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+12": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -478,34 +478,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c4e7ee70-beb7-467e-8705-aaf0e11e5d1c_M11SN1_M11SN1" ], + "x-ms-request-id": [ "599665c5-4133-47e8-b60d-54bb05bb81ab_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], - "x-ms-correlation-request-id": [ "f02eac46-20fb-4295-b181-0169d21e83af" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062404Z:f02eac46-20fb-4295-b181-0169d21e83af" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1155" ], + "x-ms-correlation-request-id": [ "389ae48f-285a-4d23-bac6-04bb576e2c9b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182630Z:389ae48f-285a-4d23-bac6-04bb576e2c9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+13": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "244" ], - "x-ms-client-request-id": [ "54425b98-1c0f-44c9-97df-d13622ffb1d9" ], + "x-ms-unique-id": [ "306" ], + "x-ms-client-request-id": [ "4b6c24a6-86ae-4922-8686-95719cf0927e" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -520,34 +520,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4eabf734-3d83-4b68-aadd-445a72648c36_M11SN1_M11SN1" ], + "x-ms-request-id": [ "934dbd11-e4de-4ab5-b5c8-1c077557edbe_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], - "x-ms-correlation-request-id": [ "bee00687-de8e-4b6f-bc08-39e3cd81f04b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062404Z:bee00687-de8e-4b6f-bc08-39e3cd81f04b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11792" ], + "x-ms-correlation-request-id": [ "dd3a8252-b99d-4563-bcfc-3b6d61e19cd9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182631Z:dd3a8252-b99d-4563-bcfc-3b6d61e19cd9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+14": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "245" ], - "x-ms-client-request-id": [ "8bea215b-084b-4450-82d6-36d78510e85e" ], + "x-ms-unique-id": [ "307" ], + "x-ms-client-request-id": [ "c764ce3d-c8bf-435e-85c9-c03f05db3043" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -562,34 +562,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1e171161-495e-4352-9cb2-89975ede695a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "d24914fc-6086-4059-aded-a15b4ebdeb50_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], - "x-ms-correlation-request-id": [ "beed22d9-4c7a-4406-addd-a06f0ed8de77" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062415Z:beed22d9-4c7a-4406-addd-a06f0ed8de77" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11791" ], + "x-ms-correlation-request-id": [ "6cb9f6a0-fcd8-4b85-b901-fa993adfc959" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182641Z:6cb9f6a0-fcd8-4b85-b901-fa993adfc959" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:15 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+15": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "246" ], - "x-ms-client-request-id": [ "c597d809-6b58-4ed4-abe7-124f646617c7" ], + "x-ms-unique-id": [ "308" ], + "x-ms-client-request-id": [ "cc1af6b2-b610-4eaf-8f4b-9dd17832e516" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -604,34 +604,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e7feedff-116f-4f75-88b6-e4c876f8167f_M11SN1_M11SN1" ], + "x-ms-request-id": [ "02aec649-1bdb-493f-bf38-dcd00df9b083_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], - "x-ms-correlation-request-id": [ "dc2af5eb-1834-4743-bb0b-11dccd80e5e1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062425Z:dc2af5eb-1834-4743-bb0b-11dccd80e5e1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11790" ], + "x-ms-correlation-request-id": [ "a26d2747-c53c-4a5a-b0f7-eb38f5adba96" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182651Z:a26d2747-c53c-4a5a-b0f7-eb38f5adba96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:26:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+16": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "247" ], - "x-ms-client-request-id": [ "ca309d3e-4e86-4013-906b-213ac5e2916f" ], + "x-ms-unique-id": [ "309" ], + "x-ms-client-request-id": [ "d4f0dce7-6b1e-4d9b-9347-1471fbba9624" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -646,34 +646,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ef62ee60-ef82-4972-ba70-8d06eb66479c_M11SN1_M11SN1" ], + "x-ms-request-id": [ "ac31fe16-e938-49b3-abb2-f7940c36cea1_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11920" ], - "x-ms-correlation-request-id": [ "db2ef6cc-507b-4f44-a9fe-c3d542da61b0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062436Z:db2ef6cc-507b-4f44-a9fe-c3d542da61b0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11789" ], + "x-ms-correlation-request-id": [ "4c73b9ef-97c2-4552-b26f-40ee0b41a227" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182702Z:4c73b9ef-97c2-4552-b26f-40ee0b41a227" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:01 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+17": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248" ], - "x-ms-client-request-id": [ "e5ed648e-5033-4ecc-9ae6-65dfbad5f660" ], + "x-ms-unique-id": [ "310" ], + "x-ms-client-request-id": [ "e517b1c7-5b26-48fe-bbde-726b438e7f53" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -688,34 +688,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fa161bc7-da9e-4170-99f4-552d3157c12a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "c440c169-d661-4447-aeb0-9b82fea6e0d6_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11919" ], - "x-ms-correlation-request-id": [ "6a6b852e-af0c-42df-b73e-d4cd8e3a1702" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062446Z:6a6b852e-af0c-42df-b73e-d4cd8e3a1702" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11788" ], + "x-ms-correlation-request-id": [ "2baaa605-6f24-4207-90b5-87e5d2bbc3c1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182712Z:2baaa605-6f24-4207-90b5-87e5d2bbc3c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+18": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "249" ], - "x-ms-client-request-id": [ "83005831-6d76-4db3-a7d5-e802bdd1796d" ], + "x-ms-unique-id": [ "311" ], + "x-ms-client-request-id": [ "5bd95a3d-4a4b-42ac-a3c6-265b359cde80" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -730,34 +730,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b02559e8-b8bb-4d1d-8875-227193528a5d_M11SN1_M11SN1" ], + "x-ms-request-id": [ "7e5a592a-aec5-4a2e-860f-a3176949c5bb_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11918" ], - "x-ms-correlation-request-id": [ "703130de-ef47-4700-a717-f209c4b69308" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062456Z:703130de-ef47-4700-a717-f209c4b69308" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11787" ], + "x-ms-correlation-request-id": [ "4423b7dc-9bd8-4b24-88c5-0decf1084f8a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182722Z:4423b7dc-9bd8-4b24-88c5-0decf1084f8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:24:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+19": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "250" ], - "x-ms-client-request-id": [ "ffe45cc8-8f88-4455-b548-1fc68da6196f" ], + "x-ms-unique-id": [ "312" ], + "x-ms-client-request-id": [ "8e3a5f41-6c07-4a9f-a287-5e4a419de4f4" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -772,34 +772,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "acfe68df-54b0-4b57-a6c9-78572d79954f_M11SN1_M11SN1" ], + "x-ms-request-id": [ "4465a845-099c-4f3d-8472-6bd847c83ced_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11917" ], - "x-ms-correlation-request-id": [ "712252c3-8ecd-462f-8790-d96f7a6a1de1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062508Z:712252c3-8ecd-462f-8790-d96f7a6a1de1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11786" ], + "x-ms-correlation-request-id": [ "0e7de616-5799-44a7-b663-9054d2e3ad00" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182733Z:0e7de616-5799-44a7-b663-9054d2e3ad00" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:25:07 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+20": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "251" ], - "x-ms-client-request-id": [ "d7e2469c-c229-4abe-aeed-f4e8a6dca822" ], + "x-ms-unique-id": [ "313" ], + "x-ms-client-request-id": [ "9de89608-3dc4-451c-b31b-f3890f0c4718" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -814,34 +814,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d2d0df70-e850-4482-9c7f-0137bdd76dfa_M11SN1_M11SN1" ], + "x-ms-request-id": [ "579a95fb-7a72-4fa4-ba43-a8135666e1a1_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11916" ], - "x-ms-correlation-request-id": [ "4199293d-b7ae-48a2-b07b-95c6b6622fc9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062518Z:4199293d-b7ae-48a2-b07b-95c6b6622fc9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11785" ], + "x-ms-correlation-request-id": [ "e297ff33-c6b3-47f1-baa8-32ce7be6b933" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182743Z:e297ff33-c6b3-47f1-baa8-32ce7be6b933" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:25:18 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+21": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "252" ], - "x-ms-client-request-id": [ "9d096d6f-a271-4777-ae92-66d13290221b" ], + "x-ms-unique-id": [ "314" ], + "x-ms-client-request-id": [ "765f6b81-8472-4f57-8b2e-0bc6d6b3618c" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -856,34 +856,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4d636b70-4dc0-453b-ab11-ffb36801f280_M11SN1_M11SN1" ], + "x-ms-request-id": [ "f913cec9-f332-492f-be6d-9e4e7379373a_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11915" ], - "x-ms-correlation-request-id": [ "b2352fca-2c52-442d-bb2e-d7f8c36deb4d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062529Z:b2352fca-2c52-442d-bb2e-d7f8c36deb4d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11784" ], + "x-ms-correlation-request-id": [ "16213bbd-b8af-4d79-837b-39d5ea9ff202" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182753Z:16213bbd-b8af-4d79-837b-39d5ea9ff202" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:25:28 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:27:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+22": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "253" ], - "x-ms-client-request-id": [ "27aa3d6c-8399-4e1d-9f71-5a8347d5124b" ], + "x-ms-unique-id": [ "315" ], + "x-ms-client-request-id": [ "f8c7dcc0-0e4f-4bed-ac4f-a76258e7efd2" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -898,34 +898,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6f802686-7577-4b82-83cf-7379f33f7618_M11SN1_M11SN1" ], + "x-ms-request-id": [ "1e2784da-ffe5-4d9f-a771-a81ac8924dd8_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11914" ], - "x-ms-correlation-request-id": [ "03f427aa-084b-4b3e-98bf-eea1977ee225" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062539Z:03f427aa-084b-4b3e-98bf-eea1977ee225" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11783" ], + "x-ms-correlation-request-id": [ "dccaecfe-95f1-42bd-9cd9-46a5b2e02ee3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182804Z:dccaecfe-95f1-42bd-9cd9-46a5b2e02ee3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:25:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+23": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+Break+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "254" ], - "x-ms-client-request-id": [ "2f4c0fa9-a450-44f3-bf6f-a59e254c20e0" ], + "x-ms-unique-id": [ "316" ], + "x-ms-client-request-id": [ "8587810a-e201-47f1-9bfb-0a6b7dc7b940" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -940,34 +940,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5a018721-cb86-459d-be98-be315ec02b28_M11SN1_M11SN1" ], + "x-ms-request-id": [ "160bf77b-7da1-4bb6-8e06-1648c5621e2e_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11913" ], - "x-ms-correlation-request-id": [ "99a951ac-4275-4294-8225-3d3f004b388f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062550Z:99a951ac-4275-4294-8225-3d3f004b388f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11782" ], + "x-ms-correlation-request-id": [ "876ff91e-1367-4228-a8e8-d4731b2122a1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182815Z:876ff91e-1367-4228-a8e8-d4731b2122a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:25:50 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+1": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "255" ], - "x-ms-client-request-id": [ "e5e55718-96d8-4f1f-958b-f916b769e6d0" ], + "x-ms-unique-id": [ "317" ], + "x-ms-client-request-id": [ "d327d18d-a49d-4071-8001-01513870dbde" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -982,34 +982,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cdf90f28-1a6a-40fd-a387-77112f9bbd27_M11SN1_M11SN1" ], + "x-ms-request-id": [ "b557dd27-eac1-4f67-9682-06763454e804_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11912" ], - "x-ms-correlation-request-id": [ "9bf29bb6-be7f-4251-a183-c259724f81ff" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062602Z:9bf29bb6-be7f-4251-a183-c259724f81ff" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11781" ], + "x-ms-correlation-request-id": [ "f5c2029b-d7b7-4b9a-8262-891157d6e8d6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182826Z:f5c2029b-d7b7-4b9a-8262-891157d6e8d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:25 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+2": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "256" ], - "x-ms-client-request-id": [ "c81c62d6-2ad5-4d71-a803-990b33f34460" ], + "x-ms-unique-id": [ "318" ], + "x-ms-client-request-id": [ "a1bac8ce-3289-4b83-a52a-5badc0aeb528" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1024,34 +1024,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8c06d12a-f6f8-45f8-b9c2-62e565ca8a08_M11SN1_M11SN1" ], + "x-ms-request-id": [ "eb84190b-ffaa-45e8-ab87-97f3ab517a7b_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11911" ], - "x-ms-correlation-request-id": [ "0f5bd97f-759c-407e-960a-1719b5a3dc70" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062603Z:0f5bd97f-759c-407e-960a-1719b5a3dc70" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11780" ], + "x-ms-correlation-request-id": [ "0110bdf0-50a2-4941-951c-e38961f504cf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182826Z:0110bdf0-50a2-4941-951c-e38961f504cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:02 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorest5oibwu/providers/Microsoft.EventHub/namespaces/namespacenamejzobdw/disasterRecoveryConfigs/aliastki2cz/breakPairing?api-version=2022-10-01-preview+3": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorestwogfts/providers/Microsoft.EventHub/namespaces/namespacenamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/breakPairing?api-version=2023-01-01-preview+3": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorest5oibwu/providers/Microsoft.EventHub/namespaces/namespacenamejzobdw/disasterRecoveryConfigs/aliastki2cz/breakPairing?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorestwogfts/providers/Microsoft.EventHub/namespaces/namespacenamep9d7hv/disasterRecoveryConfigs/alias0s4m1l/breakPairing?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "257" ], - "x-ms-client-request-id": [ "477becc7-7059-46fb-ace6-8dc54641e805" ], + "x-ms-unique-id": [ "319" ], + "x-ms-client-request-id": [ "3eeb5710-53e4-4d6b-acd9-e3d9f3d63773" ], "CommandName": [ "Az.EventHub.private\\Invoke-AzEventHubBreakDisasterRecoveryConfigPairing_Break" ], "FullCommandName": [ "Invoke-AzEventHubBreakDisasterRecoveryConfigPairing_Break" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1066,15 +1066,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ee5c7f84-bc1a-4ef8-868d-222ef179bd10_M11SN1_M11SN1" ], + "x-ms-request-id": [ "0342b898-1ab9-4a36-b833-3f8dd09f3da0_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "2753d3cc-4b7c-456e-a7ee-5ccba3bcff53" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062604Z:2753d3cc-4b7c-456e-a7ee-5ccba3bcff53" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], + "x-ms-correlation-request-id": [ "0e03153b-1803-491f-8a02-e6510e77010c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182827Z:0e03153b-1803-491f-8a02-e6510e77010c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:26 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1084,15 +1084,15 @@ "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+4": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "258" ], - "x-ms-client-request-id": [ "10ddc97d-0418-43f2-a0de-c81072b9fae5" ], + "x-ms-unique-id": [ "320" ], + "x-ms-client-request-id": [ "826475b6-2ad5-495a-bc7b-dc7cfe12ee2f" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1107,34 +1107,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a2c58510-c58c-4ccd-8be2-74f9d2e64432_M11SN1_M11SN1" ], + "x-ms-request-id": [ "36d955f8-0aee-49fe-8714-7466c47733e8_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11910" ], - "x-ms-correlation-request-id": [ "4d19d43e-cc58-4821-8f6e-e5688e86cf0e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062605Z:4d19d43e-cc58-4821-8f6e-e5688e86cf0e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11779" ], + "x-ms-correlation-request-id": [ "5f1cf080-bf0d-41c9-8459-002efd951ee5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182827Z:5f1cf080-bf0d-41c9-8459-002efd951ee5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+5": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "259" ], - "x-ms-client-request-id": [ "dd510ca4-60c4-470b-8e0f-447e84577c7b" ], + "x-ms-unique-id": [ "321" ], + "x-ms-client-request-id": [ "b021703a-a04a-4dc1-b972-10e85f72f972" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1149,34 +1149,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d21e1266-e4bd-446e-99c4-2956cbd244f9_M11SN1_M11SN1" ], + "x-ms-request-id": [ "2420ca7a-4b4b-4432-9d09-84ad13d01333_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11909" ], - "x-ms-correlation-request-id": [ "961c351e-fb51-4dd9-a89f-fb2eff64122b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062616Z:961c351e-fb51-4dd9-a89f-fb2eff64122b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11778" ], + "x-ms-correlation-request-id": [ "d09f8510-6bde-4ecd-b248-e88494770070" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182838Z:d09f8510-6bde-4ecd-b248-e88494770070" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+6": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "260" ], - "x-ms-client-request-id": [ "8040e6cf-f026-4708-86ad-decfeef82fad" ], + "x-ms-unique-id": [ "322" ], + "x-ms-client-request-id": [ "0b88a55e-0770-4921-95d4-0cfcab9837ad" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1191,34 +1191,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a97c2bd0-c52e-487c-9f00-30d8e2a19391_M11SN1_M11SN1" ], + "x-ms-request-id": [ "1e891345-6fa7-420b-a01c-1eae07a2abb4_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11908" ], - "x-ms-correlation-request-id": [ "af8ac7e3-4d6a-40e2-8b13-108da4058a68" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062627Z:af8ac7e3-4d6a-40e2-8b13-108da4058a68" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11777" ], + "x-ms-correlation-request-id": [ "20d0acd0-a519-40a3-9444-4e8ccbb8625d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182848Z:20d0acd0-a519-40a3-9444-4e8ccbb8625d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:27 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+7": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "261" ], - "x-ms-client-request-id": [ "2a9946ec-e7aa-4de7-87fb-5687da9b91a5" ], + "x-ms-unique-id": [ "323" ], + "x-ms-client-request-id": [ "375866c6-434b-4b06-b277-7d5c626dfbab" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1233,34 +1233,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "12dc8db0-7d9b-409b-adca-3c2cb87ba0d8_M11SN1_M11SN1" ], + "x-ms-request-id": [ "592c47b6-c977-42c2-852a-814c768cd036_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11907" ], - "x-ms-correlation-request-id": [ "35b0c4e7-4680-4a89-8962-a73bd5795d05" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062638Z:35b0c4e7-4680-4a89-8962-a73bd5795d05" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11776" ], + "x-ms-correlation-request-id": [ "06eed106-5529-4f16-b58c-79f9f05f981a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182858Z:06eed106-5529-4f16-b58c-79f9f05f981a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:38 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:28:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+8": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "262" ], - "x-ms-client-request-id": [ "befca540-2142-46e3-a2df-a59c74fdce18" ], + "x-ms-unique-id": [ "324" ], + "x-ms-client-request-id": [ "332c0f31-e471-4659-b541-0f157a3f4c6f" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1275,34 +1275,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5887c3d9-4e0b-4ed1-a1da-6a0762915076_M11SN1_M11SN1" ], + "x-ms-request-id": [ "bcc1bc3d-7c03-48dd-b261-8ece83047f08_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11906" ], - "x-ms-correlation-request-id": [ "c128658d-91b3-4cd6-82af-c8c034bf6fae" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062648Z:c128658d-91b3-4cd6-82af-c8c034bf6fae" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11775" ], + "x-ms-correlation-request-id": [ "11d344f2-f379-4a63-ae6a-132fa8f247a0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182909Z:11d344f2-f379-4a63-ae6a-132fa8f247a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:29:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+9": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "263" ], - "x-ms-client-request-id": [ "bb9724d2-1102-440f-beab-8f5062f5ac30" ], + "x-ms-unique-id": [ "325" ], + "x-ms-client-request-id": [ "35437faf-64b5-40f0-bc8e-65890a81d072" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1317,34 +1317,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0d653cff-5739-4a65-8d96-d8e95508cfe9_M11SN1_M11SN1" ], + "x-ms-request-id": [ "2d48f720-2444-42a6-b772-a7b84739d1e6_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11905" ], - "x-ms-correlation-request-id": [ "dd7bf59e-673c-4dbe-9f9a-59fb9679b6ca" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062659Z:dd7bf59e-673c-4dbe-9f9a-59fb9679b6ca" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11774" ], + "x-ms-correlation-request-id": [ "15153236-cec7-4173-b965-90f4ece0f86d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182919Z:15153236-cec7-4173-b965-90f4ece0f86d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:26:59 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:29:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+10": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "264" ], - "x-ms-client-request-id": [ "86a78dc3-b7f9-4b03-b7d7-8d6cd5b09893" ], + "x-ms-unique-id": [ "326" ], + "x-ms-client-request-id": [ "edd3aada-4758-4e40-bb74-fb60da257f2d" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1359,34 +1359,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1b10af36-31a4-4247-9079-143fc1ef8b06_M11SN1_M11SN1" ], + "x-ms-request-id": [ "a58c1b30-c398-4eff-81fc-5898a78e0827_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11904" ], - "x-ms-correlation-request-id": [ "b0ab8ed0-4185-4321-b6d6-fc9db5547e3a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062710Z:b0ab8ed0-4185-4321-b6d6-fc9db5547e3a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11773" ], + "x-ms-correlation-request-id": [ "812edd71-90c7-4dc1-b30d-26d088ab3742" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182929Z:812edd71-90c7-4dc1-b30d-26d088ab3742" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:29:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+11": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "265" ], - "x-ms-client-request-id": [ "71587ae1-74a4-4819-9f19-925ac5ddc085" ], + "x-ms-unique-id": [ "327" ], + "x-ms-client-request-id": [ "6fe3cede-59d8-4c82-9f62-0efb7532e595" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1401,34 +1401,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e005910c-828f-48e0-aa14-5716eac8deca_M11SN1_M11SN1" ], + "x-ms-request-id": [ "bce8a25a-63b9-4cc9-a275-16a970fdc28b_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11903" ], - "x-ms-correlation-request-id": [ "dc08aa78-5f1f-426f-a07e-037c763c94d9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062721Z:dc08aa78-5f1f-426f-a07e-037c763c94d9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11772" ], + "x-ms-correlation-request-id": [ "3f97bef3-d3be-4e31-806a-aba9c465d096" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182940Z:3f97bef3-d3be-4e31-806a-aba9c465d096" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:29:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+12": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "266" ], - "x-ms-client-request-id": [ "8ecbf0fb-d7ca-4fb1-8347-56695eaeb9da" ], + "x-ms-unique-id": [ "328" ], + "x-ms-client-request-id": [ "b85c94a4-aef0-4473-9523-c914aa89efaf" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1443,30 +1443,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "58fd9854-5f24-43e7-83a5-575553de6314_M11SN1_M11SN1" ], + "x-ms-request-id": [ "fa29328f-775c-48a7-b6b4-81e1a37c34cc_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11902" ], - "x-ms-correlation-request-id": [ "f2c1d82c-6cc9-4b49-aa79-711921c4321a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062731Z:f2c1d82c-6cc9-4b49-aa79-711921c4321a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11771" ], + "x-ms-correlation-request-id": [ "e35f3b96-f3dd-47ce-8cf1-5545ee5f8b4f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T182950Z:e35f3b96-f3dd-47ce-8cf1-5545ee5f8b4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:31 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:29:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "412" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+13": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+13": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\"\n }\n}", "isContentBase64": false, "Headers": { }, @@ -1480,34 +1480,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "48d07ee0-df51-4b38-90d8-6159373330b9_M11SN1_M11SN1" ], + "x-ms-request-id": [ "b4546189-16e0-42e8-8a45-b63cdb6d69e6_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], - "x-ms-correlation-request-id": [ "aa5015fb-f303-4ec9-9bdd-31a2c40993a2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062748Z:aa5015fb-f303-4ec9-9bdd-31a2c40993a2" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1156" ], + "x-ms-correlation-request-id": [ "b4c36e4a-06b7-4b3b-90c0-f5940a9439a0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183012Z:b4c36e4a-06b7-4b3b-90c0-f5940a9439a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:11 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+14": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "268" ], - "x-ms-client-request-id": [ "a3b8a51a-d1fd-4a63-b011-119535023892" ], + "x-ms-unique-id": [ "330" ], + "x-ms-client-request-id": [ "09191620-2ed8-44c3-9b7b-6f81b2eb67f6" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1522,34 +1522,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "70b29b05-d159-489e-a7f1-78c635c98c24_M11SN1_M11SN1" ], + "x-ms-request-id": [ "9e098ef8-b39e-4f04-b968-6510d011e7e4_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11901" ], - "x-ms-correlation-request-id": [ "7289eb55-02b7-4a6b-8aca-e163ce8c4df8" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062749Z:7289eb55-02b7-4a6b-8aca-e163ce8c4df8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11802" ], + "x-ms-correlation-request-id": [ "a540dc98-8858-4158-bd9c-0d91043723e4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183012Z:a540dc98-8858-4158-bd9c-0d91043723e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+15": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "269" ], - "x-ms-client-request-id": [ "fddfe679-2d6e-4cfb-a8ce-524691338bc5" ], + "x-ms-unique-id": [ "331" ], + "x-ms-client-request-id": [ "326d2ff7-cf5b-4e59-9446-c4b5514c8297" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1564,34 +1564,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "97fd5aa2-1929-4a08-a462-776ec83c2901_M11SN1_M11SN1" ], + "x-ms-request-id": [ "1a0d81bd-53d4-4f17-978f-0ceed1677086_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11801" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11900" ], - "x-ms-correlation-request-id": [ "4140005f-7c6e-4d86-b697-b7fe4b0f3344" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062759Z:4140005f-7c6e-4d86-b697-b7fe4b0f3344" ], + "x-ms-correlation-request-id": [ "32bd493b-de78-4727-9106-911a3116338d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183022Z:32bd493b-de78-4727-9106-911a3116338d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:27:58 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+16": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "270" ], - "x-ms-client-request-id": [ "2e69dc1b-d00a-44a8-a1dc-92aa4a6ff0c1" ], + "x-ms-unique-id": [ "332" ], + "x-ms-client-request-id": [ "1ab241a4-41eb-4cb6-98d0-741a4d1b2137" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1606,34 +1606,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dc894d94-0b89-451c-99a6-5262bbba6b45_M11SN1_M11SN1" ], + "x-ms-request-id": [ "8adb47c0-2f30-4ad9-91fc-1d325b70e0d4_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11899" ], - "x-ms-correlation-request-id": [ "ca37c3c7-ec53-44c2-8733-28f6124eceee" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062810Z:ca37c3c7-ec53-44c2-8733-28f6124eceee" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11800" ], + "x-ms-correlation-request-id": [ "d838e98d-c7bf-4d11-b88c-51bc60e9edb8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183033Z:d838e98d-c7bf-4d11-b88c-51bc60e9edb8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:28:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+17": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "271" ], - "x-ms-client-request-id": [ "584f74fc-32de-4150-a866-2b0d14531c6f" ], + "x-ms-unique-id": [ "333" ], + "x-ms-client-request-id": [ "e1bb1545-f6b8-438d-8825-8eece3f35fae" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1648,34 +1648,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "881d5b70-ef74-4b3e-896a-936256d46827_M11SN1_M11SN1" ], + "x-ms-request-id": [ "9f85045b-a8c0-433f-a505-49c9e1f1e4e3_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11898" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "5f824f55-826c-4452-9283-aa9cddf4840e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062820Z:5f824f55-826c-4452-9283-aa9cddf4840e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11799" ], + "x-ms-correlation-request-id": [ "8f67f79e-c5e5-43b6-800f-87840c847b5d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183043Z:8f67f79e-c5e5-43b6-800f-87840c847b5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:28:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+18": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "272" ], - "x-ms-client-request-id": [ "70bf17cf-75f1-4f78-8449-2967ef7af9e9" ], + "x-ms-unique-id": [ "334" ], + "x-ms-client-request-id": [ "c17a8169-3770-4332-8fbe-a5bc27670b64" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1690,34 +1690,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "37de5250-9a06-4cd1-b337-2e0f3305ed64_M11SN1_M11SN1" ], + "x-ms-request-id": [ "3183601a-95e6-46e4-9889-4ffd779e53d1_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11897" ], - "x-ms-correlation-request-id": [ "9d0033ec-980d-4e30-9d1b-f58a430baf55" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062830Z:9d0033ec-980d-4e30-9d1b-f58a430baf55" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11798" ], + "x-ms-correlation-request-id": [ "e75d00de-48aa-4fe9-b884-04ab28405cde" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183054Z:e75d00de-48aa-4fe9-b884-04ab28405cde" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:28:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:30:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+19": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "273" ], - "x-ms-client-request-id": [ "68a9de3e-430e-4a49-9156-722b6270d697" ], + "x-ms-unique-id": [ "335" ], + "x-ms-client-request-id": [ "ea6c4be3-41fa-4abc-8a49-934aca28a684" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1732,34 +1732,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1014c20b-bc0a-497b-bed7-8c596f63ccbd_M11SN1_M11SN1" ], + "x-ms-request-id": [ "8cdfd32d-2aa3-4ecb-ac96-92999fe2a889_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11896" ], - "x-ms-correlation-request-id": [ "db0f578e-386b-4aa2-9734-ae419e0a1e1e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062841Z:db0f578e-386b-4aa2-9734-ae419e0a1e1e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11797" ], + "x-ms-correlation-request-id": [ "b2d448f6-9250-435a-8a49-199df083a34d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183104Z:b2d448f6-9250-435a-8a49-199df083a34d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:28:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:31:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+20": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274" ], - "x-ms-client-request-id": [ "121a6ec0-8360-4449-b407-a65047e3ec96" ], + "x-ms-unique-id": [ "336" ], + "x-ms-client-request-id": [ "6e01ab26-ebd1-47c6-80af-9da3440c0085" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1774,34 +1774,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d487bce1-c4f6-408c-be3f-32c00403686a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "c3887272-bcea-4e76-9db0-b199a003842a_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11895" ], - "x-ms-correlation-request-id": [ "4490dfb8-67f2-4584-ad12-fd23aba7512d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062851Z:4490dfb8-67f2-4584-ad12-fd23aba7512d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11796" ], + "x-ms-correlation-request-id": [ "1f9c90b9-ead3-4f2a-8d36-247d02d88ee1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183114Z:1f9c90b9-ead3-4f2a-8d36-247d02d88ee1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:28:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:31:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+21": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "275" ], - "x-ms-client-request-id": [ "84c7b5eb-9240-4d07-ba31-ca2ed9d798a7" ], + "x-ms-unique-id": [ "337" ], + "x-ms-client-request-id": [ "1fcc8fc5-98b3-4da4-a184-f8f5a2665a95" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1816,34 +1816,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ec798abd-c074-4570-b158-dd8b37382e16_M11SN1_M11SN1" ], + "x-ms-request-id": [ "6332a665-de35-4fbd-94b2-dffd6009d1c6_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11894" ], - "x-ms-correlation-request-id": [ "23b8ec82-d967-4cea-8991-f1d57d2ef5ce" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062902Z:23b8ec82-d967-4cea-8991-f1d57d2ef5ce" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11795" ], + "x-ms-correlation-request-id": [ "91cf398f-ec34-49c8-98fd-aff73c7a0ea5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183124Z:91cf398f-ec34-49c8-98fd-aff73c7a0ea5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:01 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:31:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+22": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "276" ], - "x-ms-client-request-id": [ "4c4bc990-f9bb-4043-a9de-73bca72eac1d" ], + "x-ms-unique-id": [ "338" ], + "x-ms-client-request-id": [ "fa2e6b9b-c85d-4371-9cd9-c7128c859121" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1858,34 +1858,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "820ecc98-eea9-48d6-9fbc-5b5956d3c9e0_M11SN1_M11SN1" ], + "x-ms-request-id": [ "8c410e09-bcfe-41db-9a4d-d9737b1fa3c3_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11893" ], - "x-ms-correlation-request-id": [ "c672ed77-cd58-44aa-9b72-b65ff2d0156e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062912Z:c672ed77-cd58-44aa-9b72-b65ff2d0156e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11794" ], + "x-ms-correlation-request-id": [ "25b12254-0cf0-4964-9f2b-666370c567de" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183135Z:25b12254-0cf0-4964-9f2b-666370c567de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:12 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:31:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "551" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+23": { + "Set-AzEventHubGeoDRConfigurationBreakPair+[NoContext]+BreakViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "277" ], - "x-ms-client-request-id": [ "c602d32b-82d5-4dcd-9d29-ee9b6140431a" ], + "x-ms-unique-id": [ "339" ], + "x-ms-client-request-id": [ "9a417dad-bb28-42aa-bd13-666a138428e1" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1900,22 +1900,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "149854f0-e32f-468d-ad7b-e7aded935c88_M11SN1_M11SN1" ], + "x-ms-request-id": [ "337421f9-af95-4b61-a207-5d7324527a9c_M8SN1_M8SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11892" ], - "x-ms-correlation-request-id": [ "71ad6a5d-6533-4482-b299-ba20529f1049" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062923Z:71ad6a5d-6533-4482-b299-ba20529f1049" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11793" ], + "x-ms-correlation-request-id": [ "059725cc-9163-4311-88c9-6d68e6c3f7da" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183146Z:059725cc-9163-4311-88c9-6d68e6c3f7da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:23 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:31:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "590" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Recording.json index d3767e8a87d0..8158d65658aa 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+1": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "278" ], - "x-ms-client-request-id": [ "0e23d086-cb15-4a7d-879e-f790fd21cc33" ], + "x-ms-unique-id": [ "340" ], + "x-ms-client-request-id": [ "89f8a854-d9e7-4e8c-b52c-71ce1340cdbe" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,34 +22,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "22422f95-51a7-42c0-8363-c738a2e6956e_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f99546ec-4d52-4242-b26c-8998c7dd46e6_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11891" ], - "x-ms-correlation-request-id": [ "95eb13b8-f0d6-43cd-a8e1-4fad004fc163" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062952Z:95eb13b8-f0d6-43cd-a8e1-4fad004fc163" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11792" ], + "x-ms-correlation-request-id": [ "23cca4d9-2a63-41a5-9802-00a23af273f3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183215Z:23cca4d9-2a63-41a5-9802-00a23af273f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "554" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz/failover?api-version=2022-10-01-preview+2": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l/failover?api-version=2023-01-01-preview+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz/failover?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l/failover?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "279" ], - "x-ms-client-request-id": [ "ac4f6eea-6e5a-4bb7-9b9c-c082d31f916f" ], + "x-ms-unique-id": [ "341" ], + "x-ms-client-request-id": [ "e7741983-bbfa-49fc-9f36-e64d2e03d66e" ], "CommandName": [ "Az.EventHub.private\\Invoke-AzEventHubFailDisasterRecoveryConfigOver_Fail" ], "FullCommandName": [ "Invoke-AzEventHubFailDisasterRecoveryConfigOver_Fail" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -64,15 +64,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "56a17466-fa1a-4795-8e4c-4221a462d387_M1SN1_M1SN1" ], + "x-ms-request-id": [ "75317e3c-160c-402b-b068-41d0c595b3f9_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "a7113097-de67-4baa-9215-af93e87a5d50" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062953Z:a7113097-de67-4baa-9215-af93e87a5d50" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], + "x-ms-correlation-request-id": [ "c83cc5ec-13b7-4a92-9f7e-8680b1de1717" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183215Z:c83cc5ec-13b7-4a92-9f7e-8680b1de1717" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:15 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -82,15 +82,15 @@ "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+3": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "280" ], - "x-ms-client-request-id": [ "52f3bf8d-bba4-4fc0-9a34-7f2f96a84df4" ], + "x-ms-unique-id": [ "342" ], + "x-ms-client-request-id": [ "4ed2dd01-16f9-4c62-9950-c3b4d1861259" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -105,34 +105,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2f7c9a7e-6c34-4f19-b000-1e4bba50c3e0_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f88b7c84-f6f3-4ffe-8f87-c2620db99948_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11890" ], - "x-ms-correlation-request-id": [ "bb898cbd-d4a1-47ff-bcc7-9c17fe5936f4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T062953Z:bb898cbd-d4a1-47ff-bcc7-9c17fe5936f4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11791" ], + "x-ms-correlation-request-id": [ "53d9e65c-50ea-449f-85b0-003e45f05edb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183216Z:53d9e65c-50ea-449f-85b0-003e45f05edb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:29:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+4": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "281" ], - "x-ms-client-request-id": [ "793494df-96b0-4fd2-925f-d0641a68298f" ], + "x-ms-unique-id": [ "343" ], + "x-ms-client-request-id": [ "d0f16bb4-10c2-45ae-a3b1-6ef86153c2ad" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -147,34 +147,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "13c84fc6-951b-4de4-971d-9702afbee1e2_M1SN1_M1SN1" ], + "x-ms-request-id": [ "93d3c41c-26a1-47d7-8b11-ca37030774f8_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11889" ], - "x-ms-correlation-request-id": [ "b2517cb9-1442-440e-a73a-9e7d03962dfc" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063005Z:b2517cb9-1442-440e-a73a-9e7d03962dfc" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11790" ], + "x-ms-correlation-request-id": [ "a26280aa-01cf-4ef9-b46a-9f62e1a7057f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183226Z:a26280aa-01cf-4ef9-b46a-9f62e1a7057f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+5": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "282" ], - "x-ms-client-request-id": [ "505dafae-7705-476c-843f-d90f68284400" ], + "x-ms-unique-id": [ "344" ], + "x-ms-client-request-id": [ "7ec15932-1ef6-4433-8b09-bdea93eccfdf" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -189,34 +189,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "09b556e1-b110-4fc0-9166-e485fb57abc7_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f590ba4a-782f-411c-b313-117a53d4bcc0_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11888" ], - "x-ms-correlation-request-id": [ "8e98b7de-09da-4c21-bea4-c27d1b6cddf1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063015Z:8e98b7de-09da-4c21-bea4-c27d1b6cddf1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11789" ], + "x-ms-correlation-request-id": [ "d67bd533-9cca-41af-8643-78d108891292" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183236Z:d67bd533-9cca-41af-8643-78d108891292" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+6": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "283" ], - "x-ms-client-request-id": [ "d4f339eb-49be-4e10-b37b-81c64c55b0f7" ], + "x-ms-unique-id": [ "345" ], + "x-ms-client-request-id": [ "615e7231-ab59-4c8e-9f85-f44c77168559" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -231,34 +231,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b89f7f75-fd1e-4cfb-a599-5386bc2379c9_M1SN1_M1SN1" ], + "x-ms-request-id": [ "64b607e4-92ca-4e6d-af49-87e9f42a0346_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11887" ], - "x-ms-correlation-request-id": [ "ec59c562-7795-41ec-bc3f-8288a298f2a0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063026Z:ec59c562-7795-41ec-bc3f-8288a298f2a0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11788" ], + "x-ms-correlation-request-id": [ "519b41cb-9911-4048-b55c-eb02f280cf40" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183247Z:519b41cb-9911-4048-b55c-eb02f280cf40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+7": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "284" ], - "x-ms-client-request-id": [ "3e4ee090-0408-4cd1-bf96-fa67fe1c040a" ], + "x-ms-unique-id": [ "346" ], + "x-ms-client-request-id": [ "5197d008-9f39-4cec-9466-4b04f9956035" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -273,34 +273,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3d070f20-3d20-451b-b31a-f1955774f1c6_M1SN1_M1SN1" ], + "x-ms-request-id": [ "56566a4f-7189-4880-bcc6-4c4c8b2fff65_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11886" ], - "x-ms-correlation-request-id": [ "8d0e891a-0579-4aff-9d13-0950f263e225" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063036Z:8d0e891a-0579-4aff-9d13-0950f263e225" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11787" ], + "x-ms-correlation-request-id": [ "58664fd0-fb3a-444d-987f-c5fee3946363" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183257Z:58664fd0-fb3a-444d-987f-c5fee3946363" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:32:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+8": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "285" ], - "x-ms-client-request-id": [ "ea84f225-a5ae-4ab4-90c9-94a4c7569a95" ], + "x-ms-unique-id": [ "347" ], + "x-ms-client-request-id": [ "42dfa31e-c814-41cc-b1a0-8b5cbf124975" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -315,34 +315,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ad63462f-5345-4c46-bc07-7228bf5a936b_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f03b7400-9cfe-41dd-8890-d88e03c8a3f4_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11885" ], - "x-ms-correlation-request-id": [ "40fe5aaf-09f6-418b-aaba-e49b67113e1f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063047Z:40fe5aaf-09f6-418b-aaba-e49b67113e1f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11786" ], + "x-ms-correlation-request-id": [ "4f9aa38d-06a6-478e-9e35-edc2741dc2d3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183307Z:4f9aa38d-06a6-478e-9e35-edc2741dc2d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:33:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+9": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "286" ], - "x-ms-client-request-id": [ "ff48079a-57ac-45b1-85ad-a5608b852eaa" ], + "x-ms-unique-id": [ "348" ], + "x-ms-client-request-id": [ "87bddfaa-4831-46e6-855b-48e799779bfa" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -357,34 +357,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6fa9e4d2-07dd-4f57-8f04-73aecc3ae260_M1SN1_M1SN1" ], + "x-ms-request-id": [ "64cb539e-30ce-4532-b8a8-053be56a182a_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11884" ], - "x-ms-correlation-request-id": [ "513449d0-fbb4-48bb-947b-c7ffe938936d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063058Z:513449d0-fbb4-48bb-947b-c7ffe938936d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11785" ], + "x-ms-correlation-request-id": [ "706971c2-a90d-4826-ad3c-9faf7f20aeaf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183318Z:706971c2-a90d-4826-ad3c-9faf7f20aeaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:30:58 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:33:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+10": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "287" ], - "x-ms-client-request-id": [ "038f2716-36c8-467e-9c66-a027434b6dae" ], + "x-ms-unique-id": [ "349" ], + "x-ms-client-request-id": [ "6971fd32-cda5-49c6-88ef-4e83fc64d2cd" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -399,34 +399,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "096ae9d7-302a-437c-b1d0-f6b684527d2b_M1SN1_M1SN1" ], + "x-ms-request-id": [ "f3be980f-a652-4ea5-84a9-78b16dd242ad_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11883" ], - "x-ms-correlation-request-id": [ "e9e947ad-062e-4394-bc5e-efde6476748e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063109Z:e9e947ad-062e-4394-bc5e-efde6476748e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11784" ], + "x-ms-correlation-request-id": [ "12ac0ee4-4434-4a8e-a29e-fab777da7477" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183328Z:12ac0ee4-4434-4a8e-a29e-fab777da7477" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:31:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:33:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+11": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "288" ], - "x-ms-client-request-id": [ "5e6ae548-3a52-42af-9c86-1db4f6e40bbb" ], + "x-ms-unique-id": [ "350" ], + "x-ms-client-request-id": [ "f3b570b2-fd9d-406d-b424-f6228cf44f84" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -441,34 +441,1035 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3510bcd7-6b23-409a-b81d-6973b7c4e51c_M1SN1_M1SN1" ], + "x-ms-request-id": [ "51bd829c-3ab9-4939-8dbc-f23bc8eb8b28_M9SN1_M9SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11882" ], - "x-ms-correlation-request-id": [ "41e2f038-3678-433e-b215-8a845571b62a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063119Z:41e2f038-3678-433e-b215-8a845571b62a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11783" ], + "x-ms-correlation-request-id": [ "d4ba41dd-f2c3-4ade-be40-d779a924a787" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183338Z:d4ba41dd-f2c3-4ade-be40-d779a924a787" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:31:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:33:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "411" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "351" ], + "x-ms-client-request-id": [ "67e36186-46c2-4c0d-96ba-6b68ee6bfda9" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "839fc5fd-d206-49bc-9022-b393d41b8c49_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11782" ], + "x-ms-correlation-request-id": [ "95cf2ceb-f654-4eca-aeca-fa7fa6fb2054" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183348Z:95cf2ceb-f654-4eca-aeca-fa7fa6fb2054" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:33:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "412" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+13": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "352" ], + "x-ms-client-request-id": [ "e70d6dd1-2555-44a3-8d8b-e9b35b749a3c" ], + "CommandName": [ "Remove-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Remove-AzEventHubGeoDRConfiguration_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "2584619a-2e60-42a8-82f8-a77e0faf5364_M9SN1_M9SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14983" ], + "x-ms-correlation-request-id": [ "8ca538c5-4bc7-45ce-8400-4ece0597074a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183359Z:8ca538c5-4bc7-45ce-8400-4ece0597074a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:33:59 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+14": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"partnerNamespace\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\"\n }\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "206" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "39d0b70f-f26a-4af2-88d1-a82d5c490096_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "609342ce-c6b1-44fd-a41c-d38ec1fb3ee8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183708Z:609342ce-c6b1-44fd-a41c-d38ec1fb3ee8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "354" ], + "x-ms-client-request-id": [ "1cc6017a-3508-45e4-a186-bd796bb8b2bd" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8f70a185-a8d8-4085-ba73-f8fbed1e9613_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "ff1c09b8-aa0e-479b-ba27-6b33e9656639" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183709Z:ff1c09b8-aa0e-479b-ba27-6b33e9656639" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "355" ], + "x-ms-client-request-id": [ "61d564cc-b44f-4d69-8d6c-6b0e0f8f39b7" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d2a78f49-b042-4c77-b4f5-461bbffb92fe_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "80804cb8-c7dc-4e39-a123-c38bb884f1d4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183719Z:80804cb8-c7dc-4e39-a123-c38bb884f1d4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "356" ], + "x-ms-client-request-id": [ "27f15bee-4550-47d4-8e64-acf6e44561e7" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d67c05a7-ded9-453a-b8d2-70b84940a172_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "73d5f2e1-5bce-479a-9d50-5bf689ff169e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183729Z:73d5f2e1-5bce-479a-9d50-5bf689ff169e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "357" ], + "x-ms-client-request-id": [ "62607ce8-d19c-4ccf-9cfa-8dcac6ee9ade" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f6d5db6f-688a-4caa-9c07-cc4a8b7de49e_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "1294c09a-e3d4-4b24-a470-5d6d91b1d071" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183740Z:1294c09a-e3d4-4b24-a470-5d6d91b1d071" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "358" ], + "x-ms-client-request-id": [ "fcdc95eb-e076-4e88-bcf2-e7afc53446bd" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "210d9590-efc9-445e-8615-919018df44c1_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "3fb3b803-85a0-4dfd-b395-2a4300df84b7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183750Z:3fb3b803-85a0-4dfd-b395-2a4300df84b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "359" ], + "x-ms-client-request-id": [ "2cea1fd7-7226-4dd4-987d-36c0ada7e725" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "353fe026-8706-40e2-836c-b6fc9138547d_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "32d3355a-a754-43dd-a3ac-44f2f175fe80" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183800Z:32d3355a-a754-43dd-a3ac-44f2f175fe80" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:37:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "360" ], + "x-ms-client-request-id": [ "2bedffa8-4891-42cf-b356-3b46246b4d72" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "dd3aa3ca-8706-42e8-8276-dfcddac28aa8_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "951a3577-d374-486d-8e82-14e376f0392a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183811Z:951a3577-d374-486d-8e82-14e376f0392a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "361" ], + "x-ms-client-request-id": [ "24a438bc-352b-4723-a8d6-37f31ffa7986" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "cec1dbe4-14f9-4a5b-8823-d1f2df6a0b5d_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "31d8c677-8ccf-4649-852d-993efef3758e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183821Z:31d8c677-8ccf-4649-852d-993efef3758e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "362" ], + "x-ms-client-request-id": [ "01e343f8-ceeb-49cc-b2fa-9cc5d5504ce5" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "549a589c-3275-4581-bf43-cbd67cb304d4_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "cf624a5b-cb99-4d82-afa0-8ac761a521a7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183831Z:cf624a5b-cb99-4d82-afa0-8ac761a521a7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "551" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "363" ], + "x-ms-client-request-id": [ "81abdb60-f6c3-4297-a500-d1532392e070" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4ba1c9bc-c9c0-4d8b-a357-3e12d19d3293_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "cd69925d-9f73-4387-830d-4c68aa2b3568" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183843Z:cd69925d-9f73-4387-830d-4c68aa2b3568" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "590" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45\",\"role\":\"Primary\",\"type\":\"MetadataReplication\",\"pendingReplicationOperationsCount\":0}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "364" ], + "x-ms-client-request-id": [ "7ca0c765-2009-4829-876a-20836043a6f8" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6cc2e8fe-1b2d-46cc-a2b2-89735db97b57_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "0a7d4c9a-5a96-40d6-9b84-ed929f8a7c21" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183853Z:0a7d4c9a-5a96-40d6-9b84-ed929f8a7c21" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "554" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "365" ], + "x-ms-client-request-id": [ "e79761b1-33dd-4137-8e53-b8d28fb4bf68" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "0e524d95-8584-47b7-80b7-1baa22ce5f97_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "065ce25e-3be3-4db3-92ea-9198371ec577" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183853Z:065ce25e-3be3-4db3-92ea-9198371ec577" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "554" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorestwogfts/providers/Microsoft.EventHub/namespaces/namespacenamezcpl45/disasterRecoveryConfigs/alias0s4m1l/failover?api-version=2023-01-01-preview+3": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourcegroupautorestwogfts/providers/Microsoft.EventHub/namespaces/namespacenamezcpl45/disasterRecoveryConfigs/alias0s4m1l/failover?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "366" ], + "x-ms-client-request-id": [ "f17f6c6c-7d5c-4645-b3e6-ce5622730af9" ], + "CommandName": [ "Az.EventHub.private\\Invoke-AzEventHubFailDisasterRecoveryConfigOver_Fail" ], + "FullCommandName": [ "Invoke-AzEventHubFailDisasterRecoveryConfigOver_Fail" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "81ad8bde-c74b-403c-8ed2-920d32ec0142_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "2d24356a-563e-496f-9e98-8740b3a5db44" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183854Z:2d24356a-563e-496f-9e98-8740b3a5db44" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:53 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "367" ], + "x-ms-client-request-id": [ "ecdfc990-b06d-4be1-84f3-30c83fecfdff" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "5fcce96f-792d-4692-a4fa-a8ccff70ed04_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "b672c8b3-28a3-46f6-b54c-ec3a2cd2a46f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183854Z:b672c8b3-28a3-46f6-b54c-ec3a2cd2a46f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:38:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "368" ], + "x-ms-client-request-id": [ "b61c4d3d-7ac1-4a75-9c23-cb4961034e77" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "0b37cb3e-ffb0-4105-a5d0-52dd0b93c66a_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "4cb4fe59-8cbd-4b3c-905c-e731aa518715" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183905Z:4cb4fe59-8cbd-4b3c-905c-e731aa518715" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "369" ], + "x-ms-client-request-id": [ "91852856-c09f-4bda-ad82-feb2cd093656" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "fc81296d-3a57-4b12-8155-55a9d2f7315c_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "2ebeea1a-816d-4996-a8c9-5477c9cdb573" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183915Z:2ebeea1a-816d-4996-a8c9-5477c9cdb573" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "370" ], + "x-ms-client-request-id": [ "c7f21592-11f2-46ff-93e2-9f10a88442e8" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "983b482a-119c-4cf5-814c-e160498309bb_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "b4165cbf-6f83-4b9a-bc9c-9eadfb9bce20" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183925Z:b4165cbf-6f83-4b9a-bc9c-9eadfb9bce20" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "371" ], + "x-ms-client-request-id": [ "d1ea9dc7-9907-4f61-a61a-ffcaf0fd56fe" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "c6a724cb-40ab-4828-bd5f-2f3ac9b7f538_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "7a9ebd08-61dc-4eb5-87d4-d0f4ba23d668" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183936Z:7a9ebd08-61dc-4eb5-87d4-d0f4ba23d668" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "372" ], + "x-ms-client-request-id": [ "ec379362-5f92-4962-a1a8-e363b3496d04" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "435a467d-89fa-472f-9da2-a7e5d8c50a31_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "f2ea0cd4-5e18-4561-8faf-2b4825e3b4b6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183946Z:f2ea0cd4-5e18-4561-8faf-2b4825e3b4b6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "373" ], + "x-ms-client-request-id": [ "45203303-5bea-4be9-92b9-ef4025e68e0e" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ce76cea5-2dd9-4ccc-8747-3bad2f60a375_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "766882dd-0f27-45d8-806e-35a1a0a0f8bd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T183956Z:766882dd-0f27-45d8-806e-35a1a0a0f8bd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:39:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "374" ], + "x-ms-client-request-id": [ "b7253a65-19e4-49c5-b7fc-eefaa6a48167" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b87a02e6-bb9a-47ef-8ce8-5b5eeb42d7d1_M4SN1_M4SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "9f8da22f-4333-4153-91ae-ea463072ba22" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184007Z:9f8da22f-4333-4153-91ae-ea463072ba22" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:40:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "553" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv\",\"role\":\"Secondary\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+12": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "289" ], - "x-ms-client-request-id": [ "b437adee-cb35-4fa1-b42b-6b38657bb9c9" ], + "x-ms-unique-id": [ "375" ], + "x-ms-client-request-id": [ "77bcdc5d-42c2-4b5e-b938-56874e705ee3" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -483,34 +1484,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4545b621-bb40-4031-a367-909d59a2484d_M1SN1_M1SN1" ], + "x-ms-request-id": [ "2e4039ff-c129-4d73-9a3c-15ccad0481d7_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11881" ], - "x-ms-correlation-request-id": [ "438b1fc9-ac4d-434f-925a-d3031a35f931" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063130Z:438b1fc9-ac4d-434f-925a-d3031a35f931" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "3f12d5ef-9ceb-4618-ab3d-953229efd30a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184017Z:3f12d5ef-9ceb-4618-ab3d-953229efd30a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:31:30 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:40:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "411" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Accepted\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+13": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "290" ], - "x-ms-client-request-id": [ "81d6cf41-0987-4e0c-9c37-f8ce0fa18ab5" ], + "x-ms-unique-id": [ "376" ], + "x-ms-client-request-id": [ "4dc5e394-7e0a-47cc-b86a-45d2e5e07b02" ], "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -525,34 +1526,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "aa18bc08-a8e6-4842-8154-16675fba8b7d_M1SN1_M1SN1" ], + "x-ms-request-id": [ "6aa51bc2-bda1-40ef-8444-3762d892558c_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11880" ], - "x-ms-correlation-request-id": [ "979a263a-8d97-4091-bf53-13e164a22f2d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063140Z:979a263a-8d97-4091-bf53-13e164a22f2d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "82de9808-ecc9-4217-ab40-e519330e29d2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184027Z:82de9808-ecc9-4217-ab40-e519330e29d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:31:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:40:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "412" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz\",\"name\":\"aliastki2cz\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l\",\"name\":\"alias0s4m1l\",\"type\":\"Microsoft.EventHub/Namespaces/disasterrecoveryconfigs\",\"properties\":{\"provisioningState\":\"Succeeded\",\"partnerNamespace\":\"\",\"role\":\"PrimaryNotReplicating\",\"type\":\"MetadataReplication\"}}", "isContentBase64": false } }, - "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+Fail+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview+14": { + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$DELETE+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+14": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes/disasterRecoveryConfigs/aliastki2cz?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "291" ], - "x-ms-client-request-id": [ "48bc2f1f-0bba-4ec1-8d62-8e3a827d7aa9" ], + "x-ms-unique-id": [ "377" ], + "x-ms-client-request-id": [ "3fc6d8fc-dfb4-41bc-9c15-e643e214f96d" ], "CommandName": [ "Remove-AzEventHubGeoDRConfiguration" ], "FullCommandName": [ "Remove-AzEventHubGeoDRConfiguration_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -567,15 +1568,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7eb119a9-886c-4167-973a-c78507d92cf4_M1SN1_M1SN1" ], + "x-ms-request-id": [ "9c647411-cb0c-4f95-910b-e648ed1d683c_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14985" ], - "x-ms-correlation-request-id": [ "117dce44-781c-4897-b994-bcabc20247e2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230417T063153Z:117dce44-781c-4897-b994-bcabc20247e2" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "07fd65f0-462a-4f1e-8549-6c517eea0cfd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184038Z:07fd65f0-462a-4f1e-8549-6c517eea0cfd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 17 Apr 2023 06:31:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:40:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -584,5 +1585,47 @@ "Content": null, "isContentBase64": false } + }, + "Set-AzEventHubGeoDRConfigurationFailOver+[NoContext]+FailViaIdentity+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv/disasterRecoveryConfigs/alias0s4m1l?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "378" ], + "x-ms-client-request-id": [ "e669bcd7-8b57-40a0-8011-56aceb19afc6" ], + "CommandName": [ "Get-AzEventHubGeoDRConfiguration" ], + "FullCommandName": [ "Get-AzEventHubGeoDRConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "df2d0cd9-caf3-4936-b8fb-e52ff5b06c03_M0SN1_M0SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "1d929209-fabc-4602-ba0e-1b17752ff539" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184339Z:1d929209-fabc-4602-ba0e-1b17752ff539" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:43:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "187" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"message\":\"Alias \u0027alias0s4m1l\u0027 does not exist or is not associated with namespace \u0027namespaceNamep9d7hv\u0027. CorrelationId: 1d929209-fabc-4602-ba0e-1b17752ff539\",\"code\":\"NotFound\"}}", + "isContentBase64": false + } } } \ No newline at end of file diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Tests.ps1 index 15c37b2fe5ef..fc248ddd289b 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubGeoDRConfigurationFailOver.Tests.ps1 @@ -15,9 +15,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Set-AzEventHubGeoDRConfigurat } Describe 'Set-AzEventHubGeoDRConfigurationFailOver' { - It 'Fail' -Skip { + It 'Fail' { Set-AzEventHubGeoDRConfigurationFailOver -ResourceGroupName $env.resourceGroup -NamespaceName $env.secondaryNamespace -Name $env.alias - + while($drConfig.ProvisioningState -ne "Succeeded"){ $drConfig = Get-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.secondaryNamespace if ($TestMode -ne 'playback') { @@ -35,7 +35,7 @@ Describe 'Set-AzEventHubGeoDRConfigurationFailOver' { Start-Sleep 180 } $drConfig = New-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.primaryNamespace -PartnerNamespace $env.secondaryNamespaceResourceId - + while($drConfig.ProvisioningState -ne "Succeeded"){ $drConfig = Get-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.primaryNamespace if ($TestMode -ne 'playback') { @@ -43,11 +43,11 @@ Describe 'Set-AzEventHubGeoDRConfigurationFailOver' { } } } - It 'FailViaIdentity' -Skip { + It 'FailViaIdentity' { $drConfig = Get-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.secondaryNamespace - + Set-AzEventHubGeoDRConfigurationFailOver -InputObject $drConfig - + do { $drConfig = Get-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.secondaryNamespace if ($TestMode -ne 'playback') { @@ -61,7 +61,7 @@ Describe 'Set-AzEventHubGeoDRConfigurationFailOver' { $drConfig.Role | Should -Be "PrimaryNotReplicating" $drConfig = Remove-AzEventHubGeoDRConfiguration -Name $env.alias -ResourceGroupName $env.resourceGroup -NamespaceName $env.secondaryNamespace - + if ($TestMode -ne 'playback') { Start-Sleep 180 } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Recording.json index 008b732ab739..ba38327facfe 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Recording.json @@ -1,15 +1,15 @@ { - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview+1": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "358" ], - "x-ms-client-request-id": [ "3ab4294a-75ff-4eb8-9440-1c8d06baf149" ], + "x-ms-unique-id": [ "379" ], + "x-ms-client-request-id": [ "098ba625-556c-4a31-a9fc-e7506d4d9e04" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -22,36 +22,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "36a44dd2-d687-4ac1-b8a4-5fa7ca2c298d_M2SN1_M2SN1" ], + "x-ms-request-id": [ "b4a0f6b2-dc9e-46bc-b52b-9637f319d336_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11816" ], - "x-ms-correlation-request-id": [ "296b2594-1258-4031-b307-901810bf898b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222810Z:296b2594-1258-4031-b307-901810bf898b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "ea970d91-84a8-4e13-91f5-6e03f30c1c77" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184415Z:ea970d91-84a8-4e13-91f5-6e03f30c1c77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:09 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:44:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2049" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn\",\"name\":\"namespaceV5k98oyn\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev5k98oyn\",\"createdAt\":\"2023-02-20T21:41:44.713Z\",\"updatedAt\":\"2023-02-20T21:49:00.957Z\",\"serviceBusEndpoint\":\"https://namespaceV5k98oyn.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview+2": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "359" ], - "x-ms-client-request-id": [ "ea60b91f-56c2-4f04-b194-93a266823797" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "380" ], + "x-ms-client-request-id": [ "950cbafe-f0c4-4194-87b5-d3dd036c65c0" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -64,30 +64,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a8c0ae41-a1c2-45b8-a182-a7c734a1bf7a_M2SN1_M2SN1" ], + "x-ms-request-id": [ "1af74a7f-3980-44be-a8ec-8a919443eddb_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11815" ], - "x-ms-correlation-request-id": [ "ffb267c9-4942-45d0-ac0b-f819baf2ddf7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222810Z:ffb267c9-4942-45d0-ac0b-f819baf2ddf7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "5630ea11-29d3-43bc-8264-af811f45fae1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184416Z:5630ea11-29d3-43bc-8264-af811f45fae1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:44:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2049" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn\",\"name\":\"namespaceV5k98oyn\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev5k98oyn\",\"createdAt\":\"2023-02-20T21:41:44.713Z\",\"updatedAt\":\"2023-02-20T21:49:00.957Z\",\"serviceBusEndpoint\":\"https://namespaceV5k98oyn.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:03:33.607Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview+3": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"North Europe\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultNamelc8xeg.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"North Europe\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"identity\": {\n \"userAssignedIdentity\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"\n },\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -101,37 +101,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9277d842-e5b1-48e8-abef-ee8cf1086d65_M2SN1_M2SN1" ], + "x-ms-request-id": [ "78d63230-4c51-465f-bfcf-f52e79a78d01_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-correlation-request-id": [ "aeec093f-651e-4d0e-ae38-c62302ac4997" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222823Z:aeec093f-651e-4d0e-ae38-c62302ac4997" ], + "x-ms-correlation-request-id": [ "aa35871e-999d-4f05-90f7-6b2a91db09e6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184431Z:aa35871e-999d-4f05-90f7-6b2a91db09e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:22 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:44:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2336" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn\",\"name\":\"namespaceV5k98oyn\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev5k98oyn\",\"createdAt\":\"2023-02-20T21:41:44.713Z\",\"updatedAt\":\"2023-02-20T22:28:21.88Z\",\"serviceBusEndpoint\":\"https://namespaceV5k98oyn.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:44:29.88Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview+4": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "361" ], - "x-ms-client-request-id": [ "86df58ce-63aa-4c47-820b-4dada3f43239" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "382" ], + "x-ms-client-request-id": [ "b57dd941-3743-4ace-858d-3727c756f9cc" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -143,37 +143,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bcd16355-e0ed-4049-81b8-31e9ca9e6469_M2SN1_M2SN1" ], + "x-ms-request-id": [ "38c52848-eeb4-4993-b518-fda695160d17_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11814" ], - "x-ms-correlation-request-id": [ "b9cff1a8-7595-40f2-99d6-1c0baf1cee88" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222853Z:b9cff1a8-7595-40f2-99d6-1c0baf1cee88" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "75548db6-c97c-498a-b2af-05f3bb6a0564" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184501Z:75548db6-c97c-498a-b2af-05f3bb6a0564" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2334" ], + "Content-Length": [ "2333" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn\",\"name\":\"namespaceV5k98oyn\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev5k98oyn\",\"createdAt\":\"2023-02-20T21:41:44.713Z\",\"updatedAt\":\"2023-02-20T22:28:24.853Z\",\"serviceBusEndpoint\":\"https://namespaceV5k98oyn.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:44:32.05Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview+5": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "362" ], - "x-ms-client-request-id": [ "86df58ce-63aa-4c47-820b-4dada3f43239" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "383" ], + "x-ms-client-request-id": [ "b57dd941-3743-4ace-858d-3727c756f9cc" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -185,36 +185,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e4bbce14-2285-49a4-8747-6af1be5cfc23_M2SN1_M2SN1" ], + "x-ms-request-id": [ "bbe7aa24-56dd-4463-991d-1c1b58cb5db0_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11813" ], - "x-ms-correlation-request-id": [ "90d7b030-8c70-41b2-a56b-b1f83279b261" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222853Z:90d7b030-8c70-41b2-a56b-b1f83279b261" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "1c560ba0-5a22-4ace-a391-386c613d0423" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184501Z:1c560ba0-5a22-4ace-a391-386c613d0423" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2334" ], + "Content-Length": [ "2333" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV5k98oyn\",\"name\":\"namespaceV5k98oyn\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev5k98oyn\",\"createdAt\":\"2023-02-20T21:41:44.713Z\",\"updatedAt\":\"2023-02-20T22:28:24.853Z\",\"serviceBusEndpoint\":\"https://namespaceV5k98oyn.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV512fs36\",\"name\":\"namespaceV512fs36\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\",\"identity\":{\"userAssignedIdentity\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\"}}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev512fs36\",\"createdAt\":\"2023-08-17T17:56:12.023Z\",\"updatedAt\":\"2023-08-17T18:44:32.05Z\",\"serviceBusEndpoint\":\"https://namespaceV512fs36.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+6": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "363" ], - "x-ms-client-request-id": [ "72618ce2-cec6-4a39-a1d4-3f0e491b37eb" ], + "x-ms-unique-id": [ "384" ], + "x-ms-client-request-id": [ "81bf0254-b08e-428a-bffe-12e89a0064ef" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -227,36 +227,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4f2c5595-152f-4fa3-acb6-8becc45683c4_M2SN1_M2SN1" ], + "x-ms-request-id": [ "bf5c65e8-e751-40fa-84f0-c0ff494bfde0_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11812" ], - "x-ms-correlation-request-id": [ "f09b01be-0977-47ad-838e-4c6fa4aaaada" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222854Z:f09b01be-0977-47ad-838e-4c6fa4aaaada" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "18f07bde-c447-4079-9360-b3a854cde6f0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184502Z:18f07bde-c447-4079-9360-b3a854cde6f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T21:10:30.727Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T17:21:19.197Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+7": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "364" ], - "x-ms-client-request-id": [ "3aec392a-353d-4bca-b297-f6d34f3b226b" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "385" ], + "x-ms-client-request-id": [ "90d7f894-ee5f-4a64-ba94-45a9b987e722" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -269,30 +269,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f0c34b50-6324-47cd-bee8-b2443bbbb5b9_M2SN1_M2SN1" ], + "x-ms-request-id": [ "01cd9554-51eb-4d00-b65e-21b46565984c_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11811" ], - "x-ms-correlation-request-id": [ "6ea52106-30f1-48e6-82b5-8a332d8a2245" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222854Z:6ea52106-30f1-48e6-82b5-8a332d8a2245" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "e111d89d-8a45-4d27-a382-82d4cc9e60a2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184505Z:e111d89d-8a45-4d27-a382-82d4cc9e60a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:28:54 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "928" ], + "Content-Length": [ "929" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T21:10:30.727Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T17:21:19.197Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+8": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+8": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyVaultNamelc8xeg.vault.azure.net/\"\n },\n {\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyVaultNamelc8xeg.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\"\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n },\n {\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\"\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -306,37 +306,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "73ef4c3d-3d45-4e37-9652-44726525abc6_M2SN1_M2SN1" ], + "x-ms-request-id": [ "5d29f86f-6cf7-402d-8569-4a6036a1c444_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "48" ], - "x-ms-correlation-request-id": [ "60285fcf-a949-4b6d-ba9d-e3c0a7ab9eee" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222905Z:60285fcf-a949-4b6d-ba9d-e3c0a7ab9eee" ], + "x-ms-correlation-request-id": [ "861d5746-752c-4bc5-957e-d3dc9f93034e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184520Z:861d5746-752c-4bc5-957e-d3dc9f93034e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:29:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1230" ], + "Content-Length": [ "1231" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:05.027Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:45:18.457Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+9": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "366" ], - "x-ms-client-request-id": [ "6ba88ead-f50c-4d84-9778-8c40a34acde2" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "387" ], + "x-ms-client-request-id": [ "50ffcac9-8783-44d8-98a0-2e30ae51336e" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -348,37 +348,79 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ca51fa9f-e815-45dc-848d-dc0435f3fd27_M2SN1_M2SN1" ], + "x-ms-request-id": [ "b4028e1d-61e2-4eae-90c3-745b3ffc102e_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11810" ], - "x-ms-correlation-request-id": [ "15b67d23-9f93-48ff-8044-b043b5b99a27" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222936Z:15b67d23-9f93-48ff-8044-b043b5b99a27" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "bfb8018e-a7f7-4b94-a10b-54165321626e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184550Z:bfb8018e-a7f7-4b94-a10b-54165321626e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:29:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:45:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1231" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:45:18.457Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "isContentBase64": false + } + }, + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "388" ], + "x-ms-client-request-id": [ "50ffcac9-8783-44d8-98a0-2e30ae51336e" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4a0651c8-cb4b-4093-be3b-2d809677d357_M3SN1_M3SN1" ], + "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], + "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "742e271c-62cf-422b-88b4-851963c0a793" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184621Z:742e271c-62cf-422b-88b4-851963c0a793" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 17 Aug 2023 18:46:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:09.153Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:03.21Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+10": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "367" ], - "x-ms-client-request-id": [ "6ba88ead-f50c-4d84-9778-8c40a34acde2" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "389" ], + "x-ms-client-request-id": [ "50ffcac9-8783-44d8-98a0-2e30ae51336e" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -390,36 +432,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c9739eec-04de-4a5e-aa92-8e451e73c65f_M2SN1_M2SN1" ], + "x-ms-request-id": [ "b4790ebe-6c59-40fd-b76e-3b167a777a2c_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11809" ], - "x-ms-correlation-request-id": [ "b10f7953-d1ce-4c94-97ce-b7689ee12bf9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222936Z:b10f7953-d1ce-4c94-97ce-b7689ee12bf9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "fd5b6785-bb31-4162-86f7-4a2cbfdf5851" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184621Z:fd5b6785-bb31-4162-86f7-4a2cbfdf5851" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:29:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:46:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:09.153Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:03.21Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+11": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "368" ], - "x-ms-client-request-id": [ "598341db-1e50-4495-b443-a6732813f5cd" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "390" ], + "x-ms-client-request-id": [ "4ae4ffa6-9aaf-401f-a50a-725c5a350b49" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -432,30 +474,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "941563ee-1b72-467d-94aa-414754a07f0e_M2SN1_M2SN1" ], + "x-ms-request-id": [ "d577bf1c-ae77-4e15-a149-9b018585ea23_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11808" ], - "x-ms-correlation-request-id": [ "94765347-0068-4323-9f61-9a0d09091e0a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222936Z:94765347-0068-4323-9f61-9a0d09091e0a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "845bf1e1-1970-47e8-9970-b05f528044b5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184622Z:845bf1e1-1970-47e8-9970-b05f528044b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:29:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:46:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:09.153Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:03.21Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+12": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+13": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultNamelc8xeg.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key2\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -469,37 +511,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b08cf689-0cea-4952-9996-e1a55344adc9_M2SN1_M2SN1" ], + "x-ms-request-id": [ "09ac11c1-123a-4010-89c1-6eb843baf082_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "47" ], - "x-ms-correlation-request-id": [ "bd3f4e9a-e1aa-4a06-a1ca-bff98eeac77b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T222945Z:bd3f4e9a-e1aa-4a06-a1ca-bff98eeac77b" ], + "x-ms-correlation-request-id": [ "a66df962-b791-42aa-b503-30f330757952" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184633Z:a66df962-b791-42aa-b503-30f330757952" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:29:45 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:46:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1324" ], + "Content-Length": [ "1325" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:44.913Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:32.343Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+13": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "370" ], - "x-ms-client-request-id": [ "c51f1f86-efcd-4e06-af6a-bd45e8551144" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "392" ], + "x-ms-client-request-id": [ "1b75ff68-0f9b-44e5-b811-74c9f1994e76" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -511,37 +553,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "75a9bae2-058a-4c54-b078-63fb64867a5d_M2SN1_M2SN1" ], + "x-ms-request-id": [ "cddfce79-9ba7-45ef-afa7-827c9cce8588_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11825" ], - "x-ms-correlation-request-id": [ "fab6ff76-1599-4a2b-8961-7da4d24f268a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223016Z:fab6ff76-1599-4a2b-8961-7da4d24f268a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "47825cb6-2e93-4284-bae0-90288d6e8241" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184703Z:47825cb6-2e93-4284-bae0-90288d6e8241" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1321" ], + "Content-Length": [ "1322" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:48.083Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:36.053Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+14": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "371" ], - "x-ms-client-request-id": [ "c51f1f86-efcd-4e06-af6a-bd45e8551144" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "393" ], + "x-ms-client-request-id": [ "1b75ff68-0f9b-44e5-b811-74c9f1994e76" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -553,36 +595,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3a976efd-15c0-44d8-b210-9fd6bc5b8ce4_M2SN1_M2SN1" ], + "x-ms-request-id": [ "f77d5e26-7e97-41bb-b05e-000a15edfd53_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11824" ], - "x-ms-correlation-request-id": [ "985586ec-cb26-4068-8fbd-50ac66115a75" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223017Z:985586ec-cb26-4068-8fbd-50ac66115a75" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "fe13abc7-1d16-461b-85e6-86b221a50c80" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184703Z:fe13abc7-1d16-461b-85e6-86b221a50c80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1321" ], + "Content-Length": [ "1322" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:48.083Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:36.053Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+15": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "372" ], - "x-ms-client-request-id": [ "d2de3ea3-e450-41f1-8d88-012ee8ce9f02" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "394" ], + "x-ms-client-request-id": [ "f23bf7cd-ec85-446d-bf45-017ff2ee0c42" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -595,30 +637,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "00ed837b-0d0b-472c-acf5-10f2aead0c60_M2SN1_M2SN1" ], + "x-ms-request-id": [ "1217cfb8-3277-43c9-8bea-6fefdccf1bc0_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11823" ], - "x-ms-correlation-request-id": [ "88dec0a0-599d-46ec-bd23-7d26e8b9dc0f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223017Z:88dec0a0-599d-46ec-bd23-7d26e8b9dc0f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "e9b13b7c-53bb-43ee-8593-e25564f4a11a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184703Z:e9b13b7c-53bb-43ee-8593-e25564f4a11a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1321" ], + "Content-Length": [ "1322" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:29:48.083Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key2\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:46:36.053Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+16": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+17": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultNamelc8xeg.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyVaultName4wvqm0.vault.azure.net/\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -632,37 +674,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "37974720-5bbf-4824-b5b0-0bf449057d95_M2SN1_M2SN1" ], + "x-ms-request-id": [ "c41cb5d5-2b23-43b6-9ab3-13ff17b8dcfb_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "46" ], - "x-ms-correlation-request-id": [ "d2b83d11-64c8-4c5a-a1b5-3c8a361c80ad" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223025Z:d2b83d11-64c8-4c5a-a1b5-3c8a361c80ad" ], + "x-ms-correlation-request-id": [ "47c3e8bd-83f7-496d-8815-f01fe70e6eba" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184714Z:47c3e8bd-83f7-496d-8815-f01fe70e6eba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:25 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1230" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:30:25.283Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:13.44Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+17": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "374" ], - "x-ms-client-request-id": [ "9c3d1ada-3d9f-467d-8a35-5ae3a7e76c94" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "396" ], + "x-ms-client-request-id": [ "a08676b2-425a-4fd4-8e70-1f63f2df8c1d" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -674,37 +716,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d2a0ee3c-8476-4163-ae93-ba11c871f5ed_M2SN1_M2SN1" ], + "x-ms-request-id": [ "7de640c8-26f0-4370-b590-0faf9c5afa24_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11822" ], - "x-ms-correlation-request-id": [ "5cf9b1ce-62f2-4c74-b036-8b4869b73715" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223056Z:5cf9b1ce-62f2-4c74-b036-8b4869b73715" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "2090fea2-3aa3-49f9-b76c-ebda167cccbf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184744Z:2090fea2-3aa3-49f9-b76c-ebda167cccbf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:30:28.317Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:16.03Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+18": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "375" ], - "x-ms-client-request-id": [ "9c3d1ada-3d9f-467d-8a35-5ae3a7e76c94" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "397" ], + "x-ms-client-request-id": [ "a08676b2-425a-4fd4-8e70-1f63f2df8c1d" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -716,36 +758,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4227f9cb-798b-44c4-aae9-928bafe66a40_M2SN1_M2SN1" ], + "x-ms-request-id": [ "d73d915e-8ecf-42dd-8ec8-5a34a65fc069_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11821" ], - "x-ms-correlation-request-id": [ "2609d165-0aa1-4e65-84a9-aaef22033f8f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223056Z:2609d165-0aa1-4e65-84a9-aaef22033f8f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "6dc90ea0-9d68-49e3-9b6e-0acc12e9ad59" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184744Z:6dc90ea0-9d68-49e3-9b6e-0acc12e9ad59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:30:28.317Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:16.03Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+19": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "376" ], - "x-ms-client-request-id": [ "687c0c20-4106-496a-831f-a4d83550dabb" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "398" ], + "x-ms-client-request-id": [ "ebe2d5dc-35f0-40ac-bb84-cd7703d47886" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -758,30 +800,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0bf782e8-dd0d-4ccf-9ba7-2ad36fd9fced_M2SN1_M2SN1" ], + "x-ms-request-id": [ "c08e447f-550f-480f-8174-78c5dbb09a7f_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11820" ], - "x-ms-correlation-request-id": [ "2b0ac7cf-caef-4256-8169-cbef60503d92" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223056Z:2b0ac7cf-caef-4256-8169-cbef60503d92" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "0ee53f21-dae5-47ae-8aa3-eafc0bdbbace" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184744Z:0ee53f21-dae5-47ae-8aa3-eafc0bdbbace" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:30:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1227" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:30:28.317Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:16.03Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+20": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+21": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned, UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned, UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -795,37 +837,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1bf2be49-403b-403b-bcf4-dde32919d07b_M2SN1_M2SN1" ], + "x-ms-request-id": [ "24644bd2-4d20-49f0-88af-f79f1c7896a4_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "45" ], - "x-ms-correlation-request-id": [ "cd4d7fc8-3d09-480c-8246-d5637b1fd82c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223105Z:cd4d7fc8-3d09-480c-8246-d5637b1fd82c" ], + "x-ms-correlation-request-id": [ "3121684a-dee5-439e-9bdf-571ce8bf6a4e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184754Z:3121684a-dee5-439e-9bdf-571ce8bf6a4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:31:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:47:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1244" ], + "Content-Length": [ "1245" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:31:04.827Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:53.857Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+21": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "378" ], - "x-ms-client-request-id": [ "c05f8b34-4b6c-4397-8049-bba4dac07a62" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "400" ], + "x-ms-client-request-id": [ "b40b01c0-7dff-41e9-a202-a28239694e1c" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -837,37 +879,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "156ccb67-0f7b-4acf-9170-5a5013ab51aa_M2SN1_M2SN1" ], + "x-ms-request-id": [ "54355ebe-cf01-4bd2-9323-b40ab604c10a_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11819" ], - "x-ms-correlation-request-id": [ "88905410-0894-4225-aab5-518563471c10" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223135Z:88905410-0894-4225-aab5-518563471c10" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "ffef0138-efd1-4460-bf15-f829fdb481e7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184824Z:ffef0138-efd1-4460-bf15-f829fdb481e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:31:35 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:48:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1435" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:31:05.947Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:55.73Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+22": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "379" ], - "x-ms-client-request-id": [ "c05f8b34-4b6c-4397-8049-bba4dac07a62" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "401" ], + "x-ms-client-request-id": [ "b40b01c0-7dff-41e9-a202-a28239694e1c" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -879,37 +921,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "aa81ae08-ba89-4288-a3be-e3d2bc66488d_M2SN1_M2SN1" ], + "x-ms-request-id": [ "110f1552-71b6-4380-9b0c-b7d95874f59e_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11818" ], - "x-ms-correlation-request-id": [ "737e9084-9680-4dae-938d-8ce727a6d697" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223205Z:737e9084-9680-4dae-938d-8ce727a6d697" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "1ef49260-0388-4a13-8e7b-cc3a0fc6eb94" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184854Z:1ef49260-0388-4a13-8e7b-cc3a0fc6eb94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:32:05 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:48:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1435" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:31:05.947Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:47:55.73Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+23": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "380" ], - "x-ms-client-request-id": [ "c05f8b34-4b6c-4397-8049-bba4dac07a62" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "402" ], + "x-ms-client-request-id": [ "b40b01c0-7dff-41e9-a202-a28239694e1c" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -921,37 +963,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e4ca4c8e-b98c-48e4-abb0-0518d85af20b_M8SN1_M8SN1" ], + "x-ms-request-id": [ "8c75553f-feea-4ecc-9950-1fa50049bf2f_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11817" ], - "x-ms-correlation-request-id": [ "d66b1f00-a27e-447a-a77b-5fe73c699504" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223236Z:d66b1f00-a27e-447a-a77b-5fe73c699504" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "fd762ef1-b420-4812-a946-f018e89ea64e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184925Z:fd762ef1-b420-4812-a946-f018e89ea64e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:32:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:49:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1527" ], + "Content-Length": [ "1529" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:07.81Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:48:55.347Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+24": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "381" ], - "x-ms-client-request-id": [ "c05f8b34-4b6c-4397-8049-bba4dac07a62" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "403" ], + "x-ms-client-request-id": [ "b40b01c0-7dff-41e9-a202-a28239694e1c" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -963,36 +1005,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6771a108-39a9-41f4-aaed-1361747f11d3_M8SN1_M8SN1" ], + "x-ms-request-id": [ "62344c87-4108-4e52-9185-5ae25f033f07_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11816" ], - "x-ms-correlation-request-id": [ "4b725ed1-4ecd-41a2-a17a-7e9edbe88df7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223236Z:4b725ed1-4ecd-41a2-a17a-7e9edbe88df7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "7543f947-9469-47ef-a7b5-321d126e6714" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184925Z:7543f947-9469-47ef-a7b5-321d126e6714" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:32:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:49:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1527" ], + "Content-Length": [ "1529" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:07.81Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:48:55.347Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+25": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "382" ], - "x-ms-client-request-id": [ "5826872c-1742-413a-a8fa-64f02f37db0e" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "404" ], + "x-ms-client-request-id": [ "9e56282f-535b-496d-8cf0-979e070d660b" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -1005,30 +1047,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cd91ddb5-6c92-4f63-8375-776bb18a766e_M8SN1_M8SN1" ], + "x-ms-request-id": [ "c7bb07e7-a523-44e4-951c-6a6594cabddf_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11815" ], - "x-ms-correlation-request-id": [ "0f114bb9-dcc7-4378-b67c-03671628f866" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223236Z:0f114bb9-dcc7-4378-b67c-03671628f866" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "eb994b62-8e60-4478-8ca8-e9d2e3073ab4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184925Z:eb994b62-8e60-4478-8ca8-e9d2e3073ab4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:32:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:49:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1527" ], + "Content-Length": [ "1529" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:07.81Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:48:55.347Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+26": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+27": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned, UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyvaultnamelc8xeg.vault.azure.net\",\n \"keyVersion\": \"\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"East US\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"SystemAssigned, UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n },\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\": {\n }\n }\n },\n \"properties\": {\n \"encryption\": {\n \"keyVaultProperties\": [\n {\n \"keyName\": \"key1\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n },\n {\n \"keyName\": \"key3\",\n \"keyVaultUri\": \"https://keyvaultname4wvqm0.vault.azure.net\",\n \"keyVersion\": \"\"\n }\n ],\n \"keySource\": \"Microsoft.KeyVault\",\n \"requireInfrastructureEncryption\": false\n },\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -1042,37 +1084,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7f1f0d21-689d-482b-bf42-c4637284d689_M8SN1_M8SN1" ], + "x-ms-request-id": [ "df6356f4-460d-4a5f-9f44-1cb427f6a314_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "44" ], - "x-ms-correlation-request-id": [ "dcd722a8-77d3-46bb-b699-901deef74cf0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223245Z:dcd722a8-77d3-46bb-b699-901deef74cf0" ], + "x-ms-correlation-request-id": [ "1392639f-ead4-4a6f-a219-733ce5496dd2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T184935Z:1392639f-ead4-4a6f-a219-733ce5496dd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:32:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:49:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1529" ], + "Content-Length": [ "1531" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:44.3Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:49:34.27Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+27": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "384" ], - "x-ms-client-request-id": [ "ca025680-650e-41da-81c2-c1ba53aefd16" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "406" ], + "x-ms-client-request-id": [ "d8e766d0-fe5f-4b48-b360-fe7dfdf1dcce" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1084,37 +1126,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0d483674-2977-4bcf-9dfc-2a5c42f01981_M8SN1_M8SN1" ], + "x-ms-request-id": [ "23634daa-a1a1-4267-ae26-39faa7e9f792_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11814" ], - "x-ms-correlation-request-id": [ "0755f9d4-546b-4e51-bf9b-5499fb920571" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223315Z:0755f9d4-546b-4e51-bf9b-5499fb920571" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "100cae9f-3828-47b5-b61c-d9613051c32b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185006Z:100cae9f-3828-47b5-b61c-d9613051c32b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:33:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:50:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:47.597Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:49:36.74Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+28": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "385" ], - "x-ms-client-request-id": [ "ca025680-650e-41da-81c2-c1ba53aefd16" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "407" ], + "x-ms-client-request-id": [ "d8e766d0-fe5f-4b48-b360-fe7dfdf1dcce" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1126,37 +1168,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "70843eb1-f99d-4186-8590-8f9919fad29f_M8SN1_M8SN1" ], + "x-ms-request-id": [ "103deb43-5202-4f9b-b756-2ab57bed4a1b_M1SN1_M1SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11813" ], - "x-ms-correlation-request-id": [ "9d29623f-19a3-4a55-91f8-ce222e9ad446" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223345Z:9d29623f-19a3-4a55-91f8-ce222e9ad446" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "28017082-9ad7-47cf-8683-9f3f33309198" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185036Z:28017082-9ad7-47cf-8683-9f3f33309198" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:33:44 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:50:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1695" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:32:47.597Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:49:36.74Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+29": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "386" ], - "x-ms-client-request-id": [ "ca025680-650e-41da-81c2-c1ba53aefd16" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "408" ], + "x-ms-client-request-id": [ "d8e766d0-fe5f-4b48-b360-fe7dfdf1dcce" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1168,37 +1210,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d40112e7-64c4-4235-a4c3-5b719a068af0_M8SN1_M8SN1" ], + "x-ms-request-id": [ "cda71ef5-71ae-4853-955a-b78b9f9f60c6_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11812" ], - "x-ms-correlation-request-id": [ "94778e06-a0fd-4e44-a346-52dcfcda55b3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223415Z:94778e06-a0fd-4e44-a346-52dcfcda55b3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "10f4437a-fc44-4976-bd8a-5e3944120c5e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185106Z:10f4437a-fc44-4976-bd8a-5e3944120c5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:34:15 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:51:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1787" ], + "Content-Length": [ "1789" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:33:54.26Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:50:50.873Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview+30": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "387" ], - "x-ms-client-request-id": [ "ca025680-650e-41da-81c2-c1ba53aefd16" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "409" ], + "x-ms-client-request-id": [ "d8e766d0-fe5f-4b48-b360-fe7dfdf1dcce" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1210,29 +1252,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b2a6b575-bbe2-4e5d-a899-afc7c256b248_M8SN1_M8SN1" ], + "x-ms-request-id": [ "af928c7b-5771-44be-80e7-c22e0e26001c_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11811" ], - "x-ms-correlation-request-id": [ "fb887e61-ae6b-4c25-9a57-336dd986c157" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223416Z:fb887e61-ae6b-4c25-9a57-336dd986c157" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "dce247ee-2e03-4330-ba47-6a2a41b6fe20" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185107Z:dce247ee-2e03-4330-ba47-6a2a41b6fe20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:34:16 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:51:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1787" ], + "Content-Length": [ "1789" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamebv9kel\",\"name\":\"namespaceNamebv9kel\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"4ccec6e4-ca58-41e4-8783-cc49b860ef47\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultnamelc8xeg.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacenamebv9kel\",\"createdAt\":\"2023-02-20T21:03:18.59Z\",\"updatedAt\":\"2023-02-20T22:33:54.26Z\",\"serviceBusEndpoint\":\"https://namespaceNamebv9kel.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceName45sv1u\",\"name\":\"namespaceName45sv1u\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"East US\",\"tags\":{},\"identity\":{\"principalId\":\"67b90cb6-eb4b-461d-a56f-26d386a629d5\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"type\":\"SystemAssigned, UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"},\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2\":{\"clientId\":\"440d7336-c408-4327-ad13-10a4e71aad64\",\"principalId\":\"1bdb6af0-4284-47f4-b049-94aa2868d90b\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"encryption\":{\"keySource\":\"Microsoft.KeyVault\",\"keyVaultProperties\":[{\"keyName\":\"key1\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"},{\"keyName\":\"key3\",\"keyVaultUri\":\"https://keyvaultname4wvqm0.vault.azure.net\",\"keyVersion\":\"\"}],\"requireInfrastructureEncryption\":false},\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacename45sv1u\",\"createdAt\":\"2023-08-17T17:14:10.403Z\",\"updatedAt\":\"2023-08-17T18:50:50.873Z\",\"serviceBusEndpoint\":\"https://namespaceName45sv1u.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+31": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+32": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"northeurope\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\"\n },\n \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": {\n \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\": {\n }\n }\n }\n}", "isContentBase64": false, "Headers": { @@ -1247,79 +1289,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d1abe733-8604-424b-af6f-7a78c0b0340c_M8SN1_M8SN1" ], + "x-ms-request-id": [ "c1a713f6-1f55-4b13-80d2-5ae5353d84cb_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "43" ], - "x-ms-correlation-request-id": [ "0786e32a-e9aa-4420-a010-cad3804e4ed1" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223419Z:0786e32a-e9aa-4420-a010-cad3804e4ed1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:34:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1019" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:34:18.317Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", - "isContentBase64": false - } - }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+32": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "389" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a5cbf07b-415c-4c8a-ba73-8a359f9b555d_M8SN1_M8SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11810" ], - "x-ms-correlation-request-id": [ "7aef0f56-af70-4084-ac43-a059714c7f8d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223449Z:7aef0f56-af70-4084-ac43-a059714c7f8d" ], + "x-ms-correlation-request-id": [ "49fc5153-c2cd-442c-b874-2769c08c1783" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185112Z:49fc5153-c2cd-442c-b874-2769c08c1783" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:34:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:51:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1019" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:34:18.317Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+33": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "390" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "411" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1331,37 +1331,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cdee545f-e211-4cd8-a8d4-127dd4db1a87_M5SN1_M5SN1" ], + "x-ms-request-id": [ "7c4e13f3-bfb2-4290-8037-cc60c859c7b4_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11816" ], - "x-ms-correlation-request-id": [ "af2c2cf6-6da8-4852-8300-1c6c6278a01f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223520Z:af2c2cf6-6da8-4852-8300-1c6c6278a01f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "c3eb2319-7b98-4e45-bea0-1283c3f58dac" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185142Z:c3eb2319-7b98-4e45-bea0-1283c3f58dac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:35:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:51:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1019" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:34:18.317Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+34": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "391" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "412" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1373,37 +1373,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8840d5fa-f15d-46f1-a457-23af3b5d6650_M8SN1_M8SN1" ], + "x-ms-request-id": [ "7057bbe4-ea65-41b7-aa44-98098bf791a9_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11815" ], - "x-ms-correlation-request-id": [ "49e1ecf1-76e9-40f8-93c9-57293f90d817" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223550Z:49e1ecf1-76e9-40f8-93c9-57293f90d817" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "e62f42df-5578-4f04-bf97-5ddf16572370" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185213Z:e62f42df-5578-4f04-bf97-5ddf16572370" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:35:50 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:52:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+35": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "392" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "413" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1415,37 +1415,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7c021257-523e-4725-bf53-4e000ffc4a20_M8SN1_M8SN1" ], + "x-ms-request-id": [ "0a3b17e8-8db1-4cd4-9e7f-cd546b403a78_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11814" ], - "x-ms-correlation-request-id": [ "9894415c-5d92-49f2-bc89-2d62717b66fb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223620Z:9894415c-5d92-49f2-bc89-2d62717b66fb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "aefd3211-605c-4bb1-bc45-bc4c7b36f55d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185243Z:aefd3211-605c-4bb1-bc45-bc4c7b36f55d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:36:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:52:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+36": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "393" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "414" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1457,37 +1457,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a470ccb1-ec23-4303-8c5c-ddc09d5379c4_M8SN1_M8SN1" ], + "x-ms-request-id": [ "24b6b96f-e723-4134-a4a2-34fe3565afde_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11813" ], - "x-ms-correlation-request-id": [ "cec15413-aab8-4bc0-83c9-e96720e703f6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223650Z:cec15413-aab8-4bc0-83c9-e96720e703f6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "fb3ded06-d9ae-4788-be28-d6f2dd2efe15" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185314Z:fb3ded06-d9ae-4788-be28-d6f2dd2efe15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:36:50 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:53:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+37": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "394" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "415" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1499,37 +1499,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "807aae7a-489f-4e23-a4be-0ea67be4a2a8_M7SN1_M7SN1" ], + "x-ms-request-id": [ "d6024d60-4a8b-46b5-bfce-7ceb5fc5ea55_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11812" ], - "x-ms-correlation-request-id": [ "5aeb6014-a04b-465c-b1ca-39c7697f1779" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223721Z:5aeb6014-a04b-465c-b1ca-39c7697f1779" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "7581255c-8820-49d0-8eda-8274e156cf79" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185344Z:7581255c-8820-49d0-8eda-8274e156cf79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:37:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:53:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+38": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "395" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "416" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1541,37 +1541,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4befd266-689e-4f0c-ad9e-515ba3f67bf0_M7SN1_M7SN1" ], + "x-ms-request-id": [ "3d28546d-8dac-4f44-9c76-700aec97e93d_M1SN1_M1SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11811" ], - "x-ms-correlation-request-id": [ "d496efef-3c8c-47e3-8451-ae630dd3250f" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223751Z:d496efef-3c8c-47e3-8451-ae630dd3250f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "dde51e08-7c5c-4136-abf1-e0ab397cd2af" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185414Z:dde51e08-7c5c-4136-abf1-e0ab397cd2af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:37:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:54:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+39": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "396" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "417" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1583,37 +1583,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "92810bbd-0753-4ea8-98d3-36b315c77d24_M7SN1_M7SN1" ], + "x-ms-request-id": [ "7d40237e-ea5d-48e9-89a1-f77791f20eca_M1SN1_M1SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11810" ], - "x-ms-correlation-request-id": [ "4f933c78-4f9a-4366-a48a-4294a31a7c15" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223821Z:4f933c78-4f9a-4366-a48a-4294a31a7c15" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "3e90e7f5-5dde-4b2b-b50b-58c55a52ca06" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185445Z:3e90e7f5-5dde-4b2b-b50b-58c55a52ca06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:38:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:54:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1015" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:51:11.3Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+40": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "397" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "418" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1625,37 +1625,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b9d4c7ae-fce9-47c0-a038-8944ad23fe8b_M7SN1_M7SN1" ], + "x-ms-request-id": [ "adf3d087-bfea-4d52-8249-c9f6aea8b036_M1SN1_M1SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11809" ], - "x-ms-correlation-request-id": [ "fd698f22-9e92-4fd9-aa70-359504f320f0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223851Z:fd698f22-9e92-4fd9-aa70-359504f320f0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "e26cd39d-b59b-48a7-a65b-8e910e7f6994" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185519Z:e26cd39d-b59b-48a7-a65b-8e910e7f6994" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:38:51 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:55:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+41": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "398" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "419" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1667,37 +1667,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "182b15cd-9d24-4c80-95a2-a436fcb9f82f_M7SN1_M7SN1" ], + "x-ms-request-id": [ "3f9627a4-c433-45e0-944a-0ccd0be45d6a_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11808" ], - "x-ms-correlation-request-id": [ "4c671cbe-bab7-4295-b479-81d1f32ab385" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223922Z:4c671cbe-bab7-4295-b479-81d1f32ab385" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "c691a42b-868d-4dba-ab73-13985b82b81d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185549Z:c691a42b-868d-4dba-ab73-13985b82b81d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:39:22 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:55:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+42": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "399" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "420" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1709,37 +1709,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3154e3b1-85ba-4cae-ad56-22192bf83c90_M7SN1_M7SN1" ], + "x-ms-request-id": [ "900d50cb-065a-4624-b5e2-fa3fe400b449_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11807" ], - "x-ms-correlation-request-id": [ "e8d02a43-97f7-4f14-9c10-954838373403" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T223952Z:e8d02a43-97f7-4f14-9c10-954838373403" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "06205a0a-77f0-4d29-a1bb-b28c509995d9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185620Z:06205a0a-77f0-4d29-a1bb-b28c509995d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:39:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:56:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+43": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+43": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "400" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "421" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1751,37 +1751,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7aebddc7-87c9-40d3-981f-09b8ae3d9193_M7SN1_M7SN1" ], + "x-ms-request-id": [ "bf5cbcf0-cbd5-4b67-b370-62722ea382a5_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11816" ], - "x-ms-correlation-request-id": [ "c35b6849-f088-4490-8e17-ad669e6ee6e4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224022Z:c35b6849-f088-4490-8e17-ad669e6ee6e4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "8737262f-32e1-4d1f-962f-991af3a69102" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185650Z:8737262f-32e1-4d1f-962f-991af3a69102" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:40:21 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:56:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+44": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+44": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "401" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "422" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1793,37 +1793,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dceb7873-6577-4d13-b52f-e1e38f078fb5_M11SN1_M11SN1" ], + "x-ms-request-id": [ "72a35afe-631e-423b-94c2-4aa365071f94_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11815" ], - "x-ms-correlation-request-id": [ "f451f3c5-c43c-41d6-9681-91762df1c1d4" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224052Z:f451f3c5-c43c-41d6-9681-91762df1c1d4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "7142bb02-ef8e-444b-8728-ec4cf1d8f83c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185721Z:7142bb02-ef8e-444b-8728-ec4cf1d8f83c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:40:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:57:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+45": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+45": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "402" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "423" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1835,37 +1835,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7ebf4596-a14b-4e23-9764-e54b5c547150_M11SN1_M11SN1" ], + "x-ms-request-id": [ "a78ebd44-17fd-46a7-af06-4905c87b97a6_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11814" ], - "x-ms-correlation-request-id": [ "338a9fd1-b096-4a7d-9738-fa281110bde2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224123Z:338a9fd1-b096-4a7d-9738-fa281110bde2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "eabb6d3f-7119-4be8-b4c4-4f62f42883d0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185751Z:eabb6d3f-7119-4be8-b4c4-4f62f42883d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:41:22 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:57:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1014" ], + "Content-Length": [ "1012" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:35:28.05Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"ActivatingIdentity\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:55:15.59Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+46": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+46": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "403" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "424" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1877,37 +1877,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fa0c9ddb-7735-41cf-a34b-a00208d0196f_M11SN1_M11SN1" ], + "x-ms-request-id": [ "0945f43a-9d87-4e1b-a627-eb125b89ecc8_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11813" ], - "x-ms-correlation-request-id": [ "8fe9bcb1-f915-47a8-b92c-515d6c450d9d" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224153Z:8fe9bcb1-f915-47a8-b92c-515d6c450d9d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "x-ms-correlation-request-id": [ "f9e9a10b-6638-41e9-b61c-0f47febed470" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185822Z:f9e9a10b-6638-41e9-b61c-0f47febed470" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:41:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:58:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1107" ], + "Content-Length": [ "1105" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:41:26.92Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:21.24Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+47": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+47": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "404" ], - "x-ms-client-request-id": [ "21d41548-e982-48cf-ae79-3bf8fbf0b41a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateExpanded" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateExpanded" ], + "x-ms-unique-id": [ "425" ], + "x-ms-client-request-id": [ "f0836b3f-bec8-44a9-9588-6c72e2eac266" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateExpanded" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -1919,36 +1919,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "794f7a58-1735-4665-a8a0-cdbb8c8471c6_M11SN1_M11SN1" ], + "x-ms-request-id": [ "7b4e52e9-b63b-450f-b7b2-6fd6d588871d_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11812" ], - "x-ms-correlation-request-id": [ "cc24aa31-c53d-4e32-b21a-cdbaba0eb21c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224153Z:cc24aa31-c53d-4e32-b21a-cdbaba0eb21c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-correlation-request-id": [ "e41539fa-1e04-46e4-b6b8-01e0c6b0f44e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185822Z:e41539fa-1e04-46e4-b6b8-01e0c6b0f44e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:41:52 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:58:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1107" ], + "Content-Length": [ "1105" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:41:26.92Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:21.24Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+48": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+48": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405" ], - "x-ms-client-request-id": [ "0035a75f-b935-40d2-aebf-cc92b541bafd" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "x-ms-unique-id": [ "426" ], + "x-ms-client-request-id": [ "8a4ed563-d405-455f-8dbf-585ef699c080" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -1961,29 +1961,29 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4dbe4d7d-02b8-4402-a9ce-1346ce92f952_M11SN1_M11SN1" ], + "x-ms-request-id": [ "b1a873df-12eb-4c19-a97b-6344aefc1f01_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11811" ], - "x-ms-correlation-request-id": [ "b6da4aa6-b5ef-4175-bd1b-e47e42cb75d9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224154Z:b6da4aa6-b5ef-4175-bd1b-e47e42cb75d9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-correlation-request-id": [ "8b5d8ac1-ff0c-4e4e-bd44-d098d0c49b69" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185823Z:8b5d8ac1-ff0c-4e4e-bd44-d098d0c49b69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:41:53 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:58:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1107" ], + "Content-Length": [ "1105" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:41:26.92Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1\":{\"clientId\":\"38a989a1-3fab-4015-b546-cbcf7a67aa89\",\"principalId\":\"624205aa-192c-4303-9606-990d06cbd997\"}}},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:21.24Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+49": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+49": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": "{\n \"location\": \"North Europe\",\n \"sku\": {\n \"name\": \"Premium\",\n \"tier\": \"Premium\",\n \"capacity\": 1\n },\n \"identity\": {\n \"type\": \"None\"\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Enabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { @@ -1998,37 +1998,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1dc63ab3-921a-4613-a060-19483a4f34a8_M11SN1_M11SN1" ], + "x-ms-request-id": [ "c4bf93be-571c-4669-9080-b7b770250431_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "42" ], - "x-ms-correlation-request-id": [ "79cb2529-bf5f-4766-98cb-77652032c5e5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224203Z:79cb2529-bf5f-4766-98cb-77652032c5e5" ], + "x-ms-correlation-request-id": [ "3f5adf57-12d9-4e3a-8869-901c5e509c4e" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185833Z:3f5adf57-12d9-4e3a-8869-901c5e509c4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:02 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:58:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "789" ], + "Content-Length": [ "787" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:42:01.907Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:32.527Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+50": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+50": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "407" ], - "x-ms-client-request-id": [ "fed3e0c7-cf0e-4303-a240-c14bb446d0b3" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "428" ], + "x-ms-client-request-id": [ "0908aaeb-dd47-42d2-a31d-c20363891d8b" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2040,37 +2040,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c4c385a1-f5cb-42ab-b74f-d19ac736f514_M11SN1_M11SN1" ], + "x-ms-request-id": [ "048ac509-8912-461d-8cce-481045c3fc87_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11810" ], - "x-ms-correlation-request-id": [ "822a4e17-ba87-4df8-a615-c811d05e2fb5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224233Z:822a4e17-ba87-4df8-a615-c811d05e2fb5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-correlation-request-id": [ "04fb93ce-5a78-4a0d-8b7a-085ada00545b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185903Z:04fb93ce-5a78-4a0d-8b7a-085ada00545b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "785" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:42:05.51Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:35.933Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview+51": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview+51": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "408" ], - "x-ms-client-request-id": [ "fed3e0c7-cf0e-4303-a240-c14bb446d0b3" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "429" ], + "x-ms-client-request-id": [ "0908aaeb-dd47-42d2-a31d-c20363891d8b" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2082,36 +2082,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a3e6501b-9828-4231-b17c-f0dc4bf23e6d_M11SN1_M11SN1" ], + "x-ms-request-id": [ "5a8f7c91-6e37-4a73-894f-7f3d5ffbc464_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11809" ], - "x-ms-correlation-request-id": [ "8b70b42a-e403-421b-aefd-0d1854b2cee7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224233Z:8b70b42a-e403-421b-aefd-0d1854b2cee7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-correlation-request-id": [ "00714ba0-2082-4751-be5b-a2b763672e68" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185904Z:00714ba0-2082-4751-be5b-a2b763672e68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "785" ], + "Content-Length": [ "784" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV6jku62c\",\"name\":\"namespaceV6jku62c\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6jku62c\",\"createdAt\":\"2023-02-20T22:34:18.317Z\",\"updatedAt\":\"2023-02-20T22:42:05.51Z\",\"serviceBusEndpoint\":\"https://namespaceV6jku62c.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Premium\",\"tier\":\"Premium\",\"capacity\":1},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV6tyl2ks\",\"name\":\"namespaceV6tyl2ks\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"North Europe\",\"tags\":{},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Enabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev6tyl2ks\",\"createdAt\":\"2023-08-17T18:51:11.3Z\",\"updatedAt\":\"2023-08-17T18:58:35.933Z\",\"serviceBusEndpoint\":\"https://namespaceV6tyl2ks.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+1": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "409" ], - "x-ms-client-request-id": [ "75570710-b594-4189-a896-37ea0b43bb91" ], + "x-ms-unique-id": [ "430" ], + "x-ms-client-request-id": [ "50e0e077-6563-4036-b94d-654c6ac2d5ea" ], "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_Get" ], + "FullCommandName": [ "Get-AzEventHubNamespace_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2124,36 +2124,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "195f4f53-c8e6-422d-a8ff-3247f58ceb67_M11SN1_M11SN1" ], + "x-ms-request-id": [ "298c4734-68ab-43f7-9dda-8ab70eb507e9_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11808" ], - "x-ms-correlation-request-id": [ "77eb342c-fc9e-4643-99d1-5f29c2a7bc53" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224233Z:77eb342c-fc9e-4643-99d1-5f29c2a7bc53" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "f7263c7a-fdf4-4ca3-8638-a161420c7853" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185904Z:f7263c7a-fdf4-4ca3-8638-a161420c7853" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "810" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T21:33:48.68Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:48:18.063Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+2": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "410" ], - "x-ms-client-request-id": [ "5aef0536-9732-40af-9229-f85707753446" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "431" ], + "x-ms-client-request-id": [ "0644114b-d966-42f4-aad7-0dcdd47a80d4" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2166,30 +2166,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "813bd7af-c6d3-4f3d-9fd2-a54e8e209056_M11SN1_M11SN1" ], + "x-ms-request-id": [ "a4d33141-6f3a-43ef-95eb-6f477ff58530_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11807" ], - "x-ms-correlation-request-id": [ "9012d191-4372-42c2-8c59-5495e4f7d495" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224234Z:9012d191-4372-42c2-8c59-5495e4f7d495" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "x-ms-correlation-request-id": [ "aeaade0a-0bab-4745-8de4-407a0253ac33" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185904Z:aeaade0a-0bab-4745-8de4-407a0253ac33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:34 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "810" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T21:33:48.68Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T17:48:18.063Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+3": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": false,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 0,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -2203,37 +2203,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a01e8a1d-c60d-458c-bbc6-02946e208baf_M11SN1_M11SN1" ], + "x-ms-request-id": [ "af1d2bbd-d296-4918-be6e-80e5d4be2c9e_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "41" ], - "x-ms-correlation-request-id": [ "b201137c-3689-4d5b-95b1-665517949185" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224241Z:b201137c-3689-4d5b-95b1-665517949185" ], + "x-ms-correlation-request-id": [ "8bbe0f39-93c0-414e-84c9-8b2f966f2d73" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185911Z:8bbe0f39-93c0-414e-84c9-8b2f966f2d73" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:42:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:42:40.653Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:11.33Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+4": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "412" ], - "x-ms-client-request-id": [ "c36b896d-8153-41b1-8cd7-e9474120ba09" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "433" ], + "x-ms-client-request-id": [ "09febeaa-6bbe-4ec8-b872-8236cbc63dc2" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2245,37 +2245,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8533dc39-b5ee-43c2-81cf-911b158cc0d7_M11SN1_M11SN1" ], + "x-ms-request-id": [ "2fbc0bc5-5508-44a5-a25d-de7ead23fd16_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11806" ], - "x-ms-correlation-request-id": [ "f557e7f8-9d97-46a6-987b-804f9006bb13" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224311Z:f557e7f8-9d97-46a6-987b-804f9006bb13" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "x-ms-correlation-request-id": [ "429ebcff-2873-4d7c-bc44-a4cc5c8148ca" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185941Z:429ebcff-2873-4d7c-bc44-a4cc5c8148ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "809" ], + "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:42:43.9Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:13.26Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+5": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "413" ], - "x-ms-client-request-id": [ "c36b896d-8153-41b1-8cd7-e9474120ba09" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "434" ], + "x-ms-client-request-id": [ "09febeaa-6bbe-4ec8-b872-8236cbc63dc2" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2287,36 +2287,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fc595123-9488-4662-9952-0f7688b82786_M11SN1_M11SN1" ], + "x-ms-request-id": [ "e5352a0f-3b8c-4653-9b68-7c42e4ca1f8d_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11805" ], - "x-ms-correlation-request-id": [ "da78a7cf-4593-4ded-a873-4ee795520801" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224311Z:da78a7cf-4593-4ded-a873-4ee795520801" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "x-ms-correlation-request-id": [ "31d71090-6aa7-4d3a-a5ac-3b75f358756b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185942Z:31d71090-6aa7-4d3a-a5ac-3b75f358756b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "809" ], + "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:42:43.9Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:13.26Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+6": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "414" ], - "x-ms-client-request-id": [ "a8cf187d-b667-4695-bcc0-b838e54f9d5b" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "435" ], + "x-ms-client-request-id": [ "1740a83a-9f9c-40ef-ac44-3b2a625f394e" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2329,30 +2329,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0b446b40-0d02-432d-8703-6f4a29c109e4_M11SN1_M11SN1" ], + "x-ms-request-id": [ "3907f02e-3943-4cbd-a336-44dbf1a3787e_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11804" ], - "x-ms-correlation-request-id": [ "0e414592-bb61-4b28-85e9-e83c3394ed0e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224311Z:0e414592-bb61-4b28-85e9-e83c3394ed0e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "x-ms-correlation-request-id": [ "0fc6a2b2-ec3d-4631-a03f-c5b497ce3ac2" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185942Z:0fc6a2b2-ec3d-4631-a03f-c5b497ce3ac2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:11 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "809" ], + "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:42:43.9Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":false,\"maximumThroughputUnits\":0,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:13.26Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+7": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+7": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 10\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -2366,37 +2366,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fc1de4ff-d4d3-4681-8f19-ef5b572a10ac_M11SN1_M11SN1" ], + "x-ms-request-id": [ "c7ed136d-9b98-454c-baa8-df7fdbeaae51_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "40" ], - "x-ms-correlation-request-id": [ "63426623-6d69-419a-9a2f-b5f78f9b4f7e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224318Z:63426623-6d69-419a-9a2f-b5f78f9b4f7e" ], + "x-ms-correlation-request-id": [ "f3a5d9b7-bed6-48a1-819c-cb3e93b8352a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T185949Z:f3a5d9b7-bed6-48a1-819c-cb3e93b8352a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:17 GMT" ] + "Date": [ "Thu, 17 Aug 2023 18:59:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "814" ], + "Content-Length": [ "815" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:18.327Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:49.083Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+8": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "416" ], - "x-ms-client-request-id": [ "4bc94478-e468-4a0e-b9de-b6233924cd11" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "437" ], + "x-ms-client-request-id": [ "16460dfb-057a-433e-99b4-149127ba6dda" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2408,37 +2408,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bb824ce2-cd17-4c75-b862-d17ba0445c2d_M11SN1_M11SN1" ], + "x-ms-request-id": [ "2910aed2-73ef-4d36-b459-1fd7ddc77cf6_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11803" ], - "x-ms-correlation-request-id": [ "40ecb1e1-79b4-41e8-8411-4d11f5646e2b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224348Z:40ecb1e1-79b4-41e8-8411-4d11f5646e2b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], + "x-ms-correlation-request-id": [ "07688b2f-4e67-42a1-989d-b90308edb2f6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190019Z:07688b2f-4e67-42a1-989d-b90308edb2f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:19.937Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:52.213Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+9": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "417" ], - "x-ms-client-request-id": [ "4bc94478-e468-4a0e-b9de-b6233924cd11" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "438" ], + "x-ms-client-request-id": [ "16460dfb-057a-433e-99b4-149127ba6dda" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2450,36 +2450,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "29669262-8226-4445-8f8b-505e684a93b3_M11SN1_M11SN1" ], + "x-ms-request-id": [ "834a34c8-26d5-4bc7-9a9e-a5308c6983f4_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11802" ], - "x-ms-correlation-request-id": [ "158fa934-47d1-4e8e-bdf0-d8efcb8197b6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224349Z:158fa934-47d1-4e8e-bdf0-d8efcb8197b6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], + "x-ms-correlation-request-id": [ "64617f25-c211-4eda-adb1-43c68788d5dc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190020Z:64617f25-c211-4eda-adb1-43c68788d5dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:19.937Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:52.213Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+10": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "418" ], - "x-ms-client-request-id": [ "767882b7-0843-4416-82ea-8f389c62e449" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "439" ], + "x-ms-client-request-id": [ "55ddab1a-49ed-4c74-a2a7-7a5483f42e74" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2492,30 +2492,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5f921f05-7f11-4d20-bc9c-ff8e0c55e0cb_M11SN1_M11SN1" ], + "x-ms-request-id": [ "b397199f-98bf-4ee1-8b73-a4b65a62b18e_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11801" ], - "x-ms-correlation-request-id": [ "6f26c2ed-c41d-40f3-ad53-a5c790b14a9b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224349Z:6f26c2ed-c41d-40f3-ad53-a5c790b14a9b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], + "x-ms-correlation-request-id": [ "0dee5c51-8297-44c2-9995-1375cc52ef13" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190021Z:0dee5c51-8297-44c2-9995-1375cc52ef13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:19.937Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":10},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T18:59:52.213Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+11": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+11": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 18,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -2529,37 +2529,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "741743d5-5822-4510-97e8-cf5669d0bd5c_M11SN1_M11SN1" ], + "x-ms-request-id": [ "7ab2d0c9-6f5a-4564-8e78-c8cfecbe90a2_M3SN1_M3SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "39" ], - "x-ms-correlation-request-id": [ "57f91851-59b7-4a25-9ed4-df83e66a7519" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224356Z:57f91851-59b7-4a25-9ed4-df83e66a7519" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "40" ], + "x-ms-correlation-request-id": [ "f72716a1-6d07-4dd2-b02f-02957a3131d9" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190028Z:f72716a1-6d07-4dd2-b02f-02957a3131d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:43:56 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:56.107Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:00:28.07Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+12": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "420" ], - "x-ms-client-request-id": [ "ea6b192b-ab4f-4cdf-8624-1a38c02a7fbb" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "441" ], + "x-ms-client-request-id": [ "b5c73034-154a-499c-95b0-171157f21597" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2571,37 +2571,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "de222dcf-54c8-467d-b041-66a0cef8942b_M11SN1_M11SN1" ], + "x-ms-request-id": [ "d15d3655-fbea-4326-857e-fa9cd02e6300_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11800" ], - "x-ms-correlation-request-id": [ "26273b06-15ec-4e9b-b006-59bdc0251264" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224426Z:26273b06-15ec-4e9b-b006-59bdc0251264" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], + "x-ms-correlation-request-id": [ "57a70d0f-1508-4d4b-8c9f-72380772dd75" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190059Z:57a70d0f-1508-4d4b-8c9f-72380772dd75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:44:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:59.437Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:00:31.357Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+13": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "421" ], - "x-ms-client-request-id": [ "ea6b192b-ab4f-4cdf-8624-1a38c02a7fbb" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "442" ], + "x-ms-client-request-id": [ "b5c73034-154a-499c-95b0-171157f21597" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2613,36 +2613,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "be5f1db3-d835-411c-bea5-202a2e515b11_M11SN1_M11SN1" ], + "x-ms-request-id": [ "08683b52-199f-4e2b-a77c-bbeedab0bb5d_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11799" ], - "x-ms-correlation-request-id": [ "1807a483-5e27-45c0-8fc7-eeeb5bcc2892" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224427Z:1807a483-5e27-45c0-8fc7-eeeb5bcc2892" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], + "x-ms-correlation-request-id": [ "51a3032b-0718-4168-98bc-61f9b03ae19d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190059Z:51a3032b-0718-4168-98bc-61f9b03ae19d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:44:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:59.437Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:00:31.357Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+14": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "422" ], - "x-ms-client-request-id": [ "0712af2f-e057-4d93-8f7a-43fd6de9f1e7" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "443" ], + "x-ms-client-request-id": [ "c061651c-7a49-4cf2-b3ed-af0f2374a865" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2655,30 +2655,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ddcb18e2-3d97-4c67-960e-edbd4c36d48a_M11SN1_M11SN1" ], + "x-ms-request-id": [ "af6d06cf-8d2c-490d-a3f8-8e3904a4f661_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11798" ], - "x-ms-correlation-request-id": [ "7a821f3a-b551-4510-8560-77015a4cff65" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224427Z:7a821f3a-b551-4510-8560-77015a4cff65" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], + "x-ms-correlation-request-id": [ "0a77df42-f3f4-40aa-b97e-5bd019c70d02" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190059Z:0a77df42-f3f4-40aa-b97e-5bd019c70d02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:44:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:00:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:43:59.437Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":18,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:00:31.357Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+15": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+15": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.1\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -2692,37 +2692,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6e095209-7797-443b-ab58-377ec900ddcc_M11SN1_M11SN1" ], + "x-ms-request-id": [ "0a4bd1a0-a601-48b9-b728-37a65574d12f_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "38" ], - "x-ms-correlation-request-id": [ "b9923643-1818-481d-89dd-4730e8b23b1b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224434Z:b9923643-1818-481d-89dd-4730e8b23b1b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "39" ], + "x-ms-correlation-request-id": [ "2171b1b2-7ce6-44a4-b2a6-50bf72a906ec" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190107Z:2171b1b2-7ce6-44a4-b2a6-50bf72a906ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:44:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:01:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:44:33.747Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:06.81Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+16": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "424" ], - "x-ms-client-request-id": [ "1bcb0ab1-6fe4-473c-b972-ce3d28b3da5a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "445" ], + "x-ms-client-request-id": [ "e826e816-a5b3-4059-ba99-c09dfceae866" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2734,37 +2734,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1b524468-d8cb-41fc-9af5-d168b85a53af_M11SN1_M11SN1" ], + "x-ms-request-id": [ "8718d52a-b6a9-4719-ae51-694997c7ff2b_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11808" ], - "x-ms-correlation-request-id": [ "19bf1006-0e34-4b3a-9e86-81c8337b04e3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224504Z:19bf1006-0e34-4b3a-9e86-81c8337b04e3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], + "x-ms-correlation-request-id": [ "f09d6d3c-e4ac-4137-a110-ce67108a6ad7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190137Z:f09d6d3c-e4ac-4137-a110-ce67108a6ad7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:01:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:44:35.183Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:10.53Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+17": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "425" ], - "x-ms-client-request-id": [ "1bcb0ab1-6fe4-473c-b972-ce3d28b3da5a" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "446" ], + "x-ms-client-request-id": [ "e826e816-a5b3-4059-ba99-c09dfceae866" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2776,36 +2776,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cd759a1f-a60b-4cac-819e-308a29c7fb5f_M11SN1_M11SN1" ], + "x-ms-request-id": [ "d67cc397-b1be-4c35-97a8-753d5b58a72e_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11807" ], - "x-ms-correlation-request-id": [ "8bd70ab4-9cb0-492f-b9c1-93fa04481f0c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224504Z:8bd70ab4-9cb0-492f-b9c1-93fa04481f0c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], + "x-ms-correlation-request-id": [ "a919d3e3-d5a9-4766-a2a4-760fd848f7b4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190137Z:a919d3e3-d5a9-4766-a2a4-760fd848f7b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:01:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:44:35.183Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:10.53Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+18": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "426" ], - "x-ms-client-request-id": [ "c3e6afe0-32d8-49ce-8e6a-ead1ae3b1010" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "447" ], + "x-ms-client-request-id": [ "13cc14fc-ab13-4eb3-923d-25e7c6b20d75" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2818,30 +2818,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "523fd847-2d6f-4b1c-91e9-8146ef4838db_M11SN1_M11SN1" ], + "x-ms-request-id": [ "aa1dbb8b-5e80-4065-853e-187f7b92d17f_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11806" ], - "x-ms-correlation-request-id": [ "6853acb7-0e32-472b-866d-e33f0b1a401a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224505Z:6853acb7-0e32-472b-866d-e33f0b1a401a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], + "x-ms-correlation-request-id": [ "66f6adbb-b55c-415b-abc5-5e57761c347b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190138Z:66f6adbb-b55c-415b-abc5-5e57761c347b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:01:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:44:35.183Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.1\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:10.53Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+19": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+19": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.0\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.0\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -2855,37 +2855,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "471d41ac-0278-459c-97bc-0a4e0a4ef4da_M11SN1_M11SN1" ], + "x-ms-request-id": [ "e07e26dc-6bd0-46cf-9a9f-4f5f003741be_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "40" ], - "x-ms-correlation-request-id": [ "edb13d50-64dc-4255-9396-41fad010d546" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224512Z:edb13d50-64dc-4255-9396-41fad010d546" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "38" ], + "x-ms-correlation-request-id": [ "a5a8762e-e1c2-4f1f-b52b-a9a2d58fd35f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190145Z:a5a8762e-e1c2-4f1f-b52b-a9a2d58fd35f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:11 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:01:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:11.763Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:45.19Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+20": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "428" ], - "x-ms-client-request-id": [ "6663ee7f-3186-45b6-8cbe-2ad8332f0a86" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "449" ], + "x-ms-client-request-id": [ "c5726b86-a51d-4b36-9d0f-ac7aafdbe6bc" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2897,37 +2897,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "db4a8d37-fa43-4d6e-b4d2-ed1139279345_M11SN1_M11SN1" ], + "x-ms-request-id": [ "9d27b10c-4bb3-4a77-a218-535fcf532c48_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11805" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "47bdcbe4-2c5c-47ce-890b-21a4dce51cb8" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224542Z:47bdcbe4-2c5c-47ce-890b-21a4dce51cb8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], + "x-ms-correlation-request-id": [ "51d0a155-b8bd-4dd4-870d-9d842b5b84b8" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190216Z:51d0a155-b8bd-4dd4-870d-9d842b5b84b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:42 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:14.217Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:46.62Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+21": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "429" ], - "x-ms-client-request-id": [ "6663ee7f-3186-45b6-8cbe-2ad8332f0a86" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "450" ], + "x-ms-client-request-id": [ "c5726b86-a51d-4b36-9d0f-ac7aafdbe6bc" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -2939,36 +2939,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ada246f2-18c0-493b-b862-3b5fde40bf68_M0SN1_M0SN1" ], + "x-ms-request-id": [ "ae695c81-27f3-4624-9d8a-36a81127aa67_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11804" ], - "x-ms-correlation-request-id": [ "f21aa346-a6e4-4b59-b4e6-53369662f2f7" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224542Z:f21aa346-a6e4-4b59-b4e6-53369662f2f7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], + "x-ms-correlation-request-id": [ "ff3be672-df36-4320-831b-48ff83066787" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190216Z:ff3be672-df36-4320-831b-48ff83066787" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:42 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:14.217Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:46.62Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+22": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "430" ], - "x-ms-client-request-id": [ "33b8205c-1a29-4296-8715-a3e73d1bad80" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "451" ], + "x-ms-client-request-id": [ "89f7b962-b1ce-4b1f-a177-7de7dc0a7262" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -2981,30 +2981,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b808a06b-73d1-4e9b-865f-bd737c1a7704_M0SN1_M0SN1" ], + "x-ms-request-id": [ "6a698dc1-ae4f-4377-836d-076e29c9d45b_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11803" ], - "x-ms-correlation-request-id": [ "792b2dc5-2fca-4982-8354-46aef579099c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224543Z:792b2dc5-2fca-4982-8354-46aef579099c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], + "x-ms-correlation-request-id": [ "5c472e3f-3f58-4f42-a212-0576457787e4" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190217Z:5c472e3f-3f58-4f42-a212-0576457787e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:42 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:14.217Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.0\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:01:46.62Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+23": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+23": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -3018,37 +3018,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "58fecb0a-ef8d-4103-9590-01bcc0bc2bc6_M0SN1_M0SN1" ], + "x-ms-request-id": [ "7435a42a-fa7d-458f-8e73-a8d3cafc334c_M5SN1_M5SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "39" ], - "x-ms-correlation-request-id": [ "8728d525-d594-4c06-bcc1-064ccb92a0c2" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224549Z:8728d525-d594-4c06-bcc1-064ccb92a0c2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "37" ], + "x-ms-correlation-request-id": [ "16999627-378d-4be7-90c8-de226fa65409" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190224Z:16999627-378d-4be7-90c8-de226fa65409" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:45:49 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "814" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:49.443Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:02:24.42Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+24": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "432" ], - "x-ms-client-request-id": [ "d1d53e2a-7a8d-4cbc-8e90-7b7d7be8da63" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "453" ], + "x-ms-client-request-id": [ "ce9d9e15-1407-4540-bcf5-ac0b2adc2a20" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3060,37 +3060,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "48ea6aaa-5699-49ff-9980-6c20ac6395a5_M0SN1_M0SN1" ], + "x-ms-request-id": [ "22782e5d-5492-45d9-88fa-e14328ec05ea_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11802" ], - "x-ms-correlation-request-id": [ "2984a25c-3496-4390-a954-e20368cb904e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224620Z:2984a25c-3496-4390-a954-e20368cb904e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], + "x-ms-correlation-request-id": [ "8f7c54ee-d9b2-4518-af18-2f49032773c0" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190255Z:8f7c54ee-d9b2-4518-af18-2f49032773c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:50.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:02:25.863Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+25": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "433" ], - "x-ms-client-request-id": [ "d1d53e2a-7a8d-4cbc-8e90-7b7d7be8da63" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "454" ], + "x-ms-client-request-id": [ "ce9d9e15-1407-4540-bcf5-ac0b2adc2a20" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3102,36 +3102,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2672e271-e5d8-4fad-9b9a-3e8c6292400f_M0SN1_M0SN1" ], + "x-ms-request-id": [ "770cf62b-2559-4e37-b690-facb20bb0377_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11801" ], - "x-ms-correlation-request-id": [ "a91e1090-0586-46f8-93cf-e2d9b7018c56" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224620Z:a91e1090-0586-46f8-93cf-e2d9b7018c56" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], + "x-ms-correlation-request-id": [ "c655fb3d-223b-4160-8d6c-09902a3a1684" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190256Z:c655fb3d-223b-4160-8d6c-09902a3a1684" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:19 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:50.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:02:25.863Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+26": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "434" ], - "x-ms-client-request-id": [ "8fe1c148-e8d0-4be4-8694-60df23f1fca9" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "455" ], + "x-ms-client-request-id": [ "e6a829d4-7fe5-4fdd-9ab2-b1790c297f5a" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -3144,30 +3144,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dfde4346-b4a4-43ac-974b-189afb9e9e83_M0SN1_M0SN1" ], + "x-ms-request-id": [ "34ccf1f0-f2bc-4c67-a5f6-ab175242b8fb_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11800" ], - "x-ms-correlation-request-id": [ "094e1f3d-e01c-4339-8556-ed38dab0bbed" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224620Z:094e1f3d-e01c-4339-8556-ed38dab0bbed" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], + "x-ms-correlation-request-id": [ "f5ae4ec4-0315-4cff-8f44-7d7d85d8f84a" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190256Z:f5ae4ec4-0315-4cff-8f44-7d7d85d8f84a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:20 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:02:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:45:50.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:02:25.863Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+27": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+27": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": false\n }\n}", "isContentBase64": false, "Headers": { }, @@ -3181,37 +3181,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "889c81a3-7eca-495e-977b-a19cace0fd81_M0SN1_M0SN1" ], + "x-ms-request-id": [ "98c081d2-0e03-42d2-9c3a-82c2883eb489_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "38" ], - "x-ms-correlation-request-id": [ "85622788-ce31-4870-a932-199b30d63fb5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224627Z:85622788-ce31-4870-a932-199b30d63fb5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "36" ], + "x-ms-correlation-request-id": [ "3257e1e7-2ca2-4916-8d95-6afb596dd206" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190304Z:3257e1e7-2ca2-4916-8d95-6afb596dd206" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:26 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:03:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "814" ], + "Content-Length": [ "815" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:46:27.38Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:03.65Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+28": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "436" ], - "x-ms-client-request-id": [ "d9b42e41-5390-4b33-895f-4079bf30fdbb" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "457" ], + "x-ms-client-request-id": [ "4744e506-8584-42ce-b12a-4905d06872de" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3223,37 +3223,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8e822e24-4e4f-4773-aea4-59eb687baaab_M0SN1_M0SN1" ], + "x-ms-request-id": [ "3c364055-6c99-4943-9582-c581fdeec438_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11799" ], - "x-ms-correlation-request-id": [ "0294bff6-381f-466d-aa9f-379e4dae07d5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224658Z:0294bff6-381f-466d-aa9f-379e4dae07d5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], + "x-ms-correlation-request-id": [ "5fb3daaa-1a34-4fea-bb0c-d7c043c8e244" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190334Z:5fb3daaa-1a34-4fea-bb0c-d7c043c8e244" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:58 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:03:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "813" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:46:29.457Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:05.267Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+29": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "437" ], - "x-ms-client-request-id": [ "d9b42e41-5390-4b33-895f-4079bf30fdbb" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "458" ], + "x-ms-client-request-id": [ "4744e506-8584-42ce-b12a-4905d06872de" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3265,36 +3265,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "772780be-7a9d-43df-bf86-c2d011d57ba8_M0SN1_M0SN1" ], + "x-ms-request-id": [ "66c1d849-16a2-4dac-8a19-70421d0cceda_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11798" ], - "x-ms-correlation-request-id": [ "53cb8531-e562-4c9e-96da-f3b6a36754bd" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224658Z:53cb8531-e562-4c9e-96da-f3b6a36754bd" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], + "x-ms-correlation-request-id": [ "485cfe05-9b79-4be0-942d-d7a19a40cb5d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190334Z:485cfe05-9b79-4be0-942d-d7a19a40cb5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:58 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:03:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "813" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:46:29.457Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:05.267Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+30": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "438" ], - "x-ms-client-request-id": [ "3c4d7be1-4f9e-4e66-bcd8-14a0af24e3f3" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "459" ], + "x-ms-client-request-id": [ "049dbabe-cdea-43a2-ac6b-08ec91667e53" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -3307,30 +3307,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d1dfe4b1-d3eb-4b0d-b4fd-21e5a0c9204f_M0SN1_M0SN1" ], + "x-ms-request-id": [ "692cf95d-8194-47ac-84d1-79abeba82319_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11797" ], - "x-ms-correlation-request-id": [ "b66fc682-e9e1-4edf-814f-8b8fffcab72c" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224659Z:b66fc682-e9e1-4edf-814f-8b8fffcab72c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11933" ], + "x-ms-correlation-request-id": [ "11d3950a-476a-40b3-9934-992d408ac04b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190335Z:11d3950a-476a-40b3-9934-992d408ac04b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:46:59 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:03:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "813" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:46:29.457Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":false,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:05.267Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+31": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+31": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -3344,37 +3344,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4ab10689-469e-4019-bbee-646e15e7aa11_M0SN1_M0SN1" ], + "x-ms-request-id": [ "1be0a568-2cbb-4323-943a-527ef2bd9494_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "37" ], - "x-ms-correlation-request-id": [ "8a7985d4-f300-4b20-97e0-c50c96713ab5" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224706Z:8a7985d4-f300-4b20-97e0-c50c96713ab5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "35" ], + "x-ms-correlation-request-id": [ "3a6354ee-3faf-4a36-9be0-34f7e2fab6c3" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190342Z:3a6354ee-3faf-4a36-9be0-34f7e2fab6c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:47:06 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:03:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "813" ], + "Content-Length": [ "815" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:06.13Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:41.867Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+32": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "440" ], - "x-ms-client-request-id": [ "57abd2bd-3197-4f45-9947-9f959e59b320" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "461" ], + "x-ms-client-request-id": [ "0a30c15d-1e45-4359-95e7-1c73efc2bb7b" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3386,37 +3386,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "795e95e3-058c-421c-b392-e226976f1c67_M0SN1_M0SN1" ], + "x-ms-request-id": [ "1a4798bf-d174-49e2-bcfa-278748bbcb94_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11796" ], - "x-ms-correlation-request-id": [ "7a5d682a-4430-4969-86c4-1686c61c5205" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224737Z:7a5d682a-4430-4969-86c4-1686c61c5205" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11932" ], + "x-ms-correlation-request-id": [ "971ef4d7-8702-495a-b155-07cd7d92fbde" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190412Z:971ef4d7-8702-495a-b155-07cd7d92fbde" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:47:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:08.733Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:43.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+33": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "441" ], - "x-ms-client-request-id": [ "57abd2bd-3197-4f45-9947-9f959e59b320" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "462" ], + "x-ms-client-request-id": [ "0a30c15d-1e45-4359-95e7-1c73efc2bb7b" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3428,36 +3428,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e8d19cc8-f572-45af-80e3-6a9ff48e4c47_M0SN1_M0SN1" ], + "x-ms-request-id": [ "4113736f-096c-44e1-ae70-adfecac3f3e4_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11795" ], - "x-ms-correlation-request-id": [ "0055df84-ba2d-48c3-89b3-e284bc604ed0" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224737Z:0055df84-ba2d-48c3-89b3-e284bc604ed0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11931" ], + "x-ms-correlation-request-id": [ "503f1113-bdcd-4854-886d-b43ae305d27c" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190413Z:503f1113-bdcd-4854-886d-b43ae305d27c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:47:36 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:08.733Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:43.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+34": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "442" ], - "x-ms-client-request-id": [ "9f648bab-5fbd-4a36-bfba-fd780d8672e7" ], - "CommandName": [ "Get-AzEventHubNamespaceV2" ], - "FullCommandName": [ "Get-AzEventHubNamespaceV2_GetViaIdentity" ], + "x-ms-unique-id": [ "463" ], + "x-ms-client-request-id": [ "6ed7352a-f8ec-4a01-899c-c762c2a7bf40" ], + "CommandName": [ "Get-AzEventHubNamespace" ], + "FullCommandName": [ "Get-AzEventHubNamespace_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ], "Authorization": [ "[Filtered]" ] @@ -3470,30 +3470,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "357945d7-a053-499e-80d6-364036a33d28_M0SN1_M0SN1" ], + "x-ms-request-id": [ "127ca34f-00c0-4bfb-836a-ed0a3a952dc7_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11794" ], - "x-ms-correlation-request-id": [ "ce590695-3235-4cf2-a023-6eec991362cb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224737Z:ce590695-3235-4cf2-a023-6eec991362cb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11930" ], + "x-ms-correlation-request-id": [ "dfd3ca5c-b75f-4bbd-bb79-dc28cf39bb51" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190413Z:dfd3ca5c-b75f-4bbd-bb79-dc28cf39bb51" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:47:37 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:08.733Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:03:43.833Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+35": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+35": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", - "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k1\": \"v1\",\n \"k2\": \"v2\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", + "Content": "{\n \"location\": \"South Central US\",\n \"tags\": {\n \"k2\": \"v2\",\n \"k1\": \"v1\"\n },\n \"sku\": {\n \"name\": \"Standard\",\n \"tier\": \"Standard\",\n \"capacity\": 12\n },\n \"properties\": {\n \"minimumTlsVersion\": \"1.2\",\n \"isAutoInflateEnabled\": true,\n \"publicNetworkAccess\": \"Disabled\",\n \"maximumThroughputUnits\": 25,\n \"kafkaEnabled\": true,\n \"zoneRedundant\": true,\n \"disableLocalAuth\": true\n }\n}", "isContentBase64": false, "Headers": { }, @@ -3507,37 +3507,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "de8e06e3-3015-47fe-9df8-957e0ef13202_M0SN1_M0SN1" ], + "x-ms-request-id": [ "2831bd25-febf-4647-981c-b7eb47d3eac8_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "36" ], - "x-ms-correlation-request-id": [ "712c11c5-c672-436f-85c5-749692e58e99" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224744Z:712c11c5-c672-436f-85c5-749692e58e99" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "34" ], + "x-ms-correlation-request-id": [ "916befb1-c87c-4322-bf49-8273ae385dcf" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190421Z:916befb1-c87c-4322-bf49-8273ae385dcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:47:43 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "813" ], + "Content-Length": [ "815" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:44.28Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Updating\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:04:20.893Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Activating\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+36": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "444" ], - "x-ms-client-request-id": [ "c61cd648-9f45-4187-8d68-ff037e6b029d" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "465" ], + "x-ms-client-request-id": [ "8fd023f4-ad4b-424e-8207-12896ccf9544" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3549,37 +3549,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "943f5d3d-ac73-4788-8a8b-dcf619f2bda6_M0SN1_M0SN1" ], + "x-ms-request-id": [ "64c2ac68-46a8-45b5-bdcd-863f89556e58_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11793" ], - "x-ms-correlation-request-id": [ "59c8500e-52c4-4b82-a9ba-46564df29be6" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224814Z:59c8500e-52c4-4b82-a9ba-46564df29be6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11929" ], + "x-ms-correlation-request-id": [ "0b6002a2-e7c6-4417-b3d1-8d095cb8a52d" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190451Z:0b6002a2-e7c6-4417-b3d1-8d095cb8a52d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:14 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:48.313Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:04:23.19Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } }, - "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview+37": { + "Set-AzEventHubNamespaceV2+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "445" ], - "x-ms-client-request-id": [ "c61cd648-9f45-4187-8d68-ff037e6b029d" ], - "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespaceV2_CreateViaIdentity" ], - "FullCommandName": [ "New-AzEventHubNamespaceV2_CreateViaIdentity" ], + "x-ms-unique-id": [ "466" ], + "x-ms-client-request-id": [ "8fd023f4-ad4b-424e-8207-12896ccf9544" ], + "CommandName": [ "Az.EventHub.private\\New-AzEventHubNamespace_CreateViaIdentity" ], + "FullCommandName": [ "New-AzEventHubNamespace_CreateViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.3", "Az.EventHub/0.1.0" ] }, @@ -3591,22 +3591,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9de54c5e-a6bd-4d60-841a-e2918260fbba_M0SN1_M0SN1" ], + "x-ms-request-id": [ "0fed7fa9-3ecf-4768-82f3-4fddd68314f5_M4SN1_M4SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11792" ], - "x-ms-correlation-request-id": [ "fbe0acf2-aa95-47ee-892a-ce10823137ae" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224815Z:fbe0acf2-aa95-47ee-892a-ce10823137ae" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11928" ], + "x-ms-correlation-request-id": [ "649adb60-e106-4736-8610-a3ca8807ca5f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190452Z:649adb60-e106-4736-8610-a3ca8807ca5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:15 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:04:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "811" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceV3ay0fzu\",\"name\":\"namespaceV3ay0fzu\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k1\":\"v1\",\"k2\":\"v2\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3ay0fzu\",\"createdAt\":\"2023-02-20T21:33:00.96Z\",\"updatedAt\":\"2023-02-20T22:47:48.313Z\",\"serviceBusEndpoint\":\"https://namespaceV3ay0fzu.servicebus.windows.net:443/\",\"status\":\"Active\"}}", + "Content": "{\"sku\":{\"name\":\"Standard\",\"tier\":\"Standard\",\"capacity\":12},\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceV3u4l018\",\"name\":\"namespaceV3u4l018\",\"type\":\"Microsoft.EventHub/Namespaces\",\"location\":\"South Central US\",\"tags\":{\"k2\":\"v2\",\"k1\":\"v1\"},\"properties\":{\"minimumTlsVersion\":\"1.2\",\"publicNetworkAccess\":\"Disabled\",\"disableLocalAuth\":true,\"zoneRedundant\":true,\"isAutoInflateEnabled\":true,\"maximumThroughputUnits\":25,\"kafkaEnabled\":true,\"provisioningState\":\"Succeeded\",\"metricId\":\"326100e2-f69d-4268-8503-075374f62b6e:namespacev3u4l018\",\"createdAt\":\"2023-08-17T17:47:26.903Z\",\"updatedAt\":\"2023-08-17T19:04:23.19Z\",\"serviceBusEndpoint\":\"https://namespaceV3u4l018.servicebus.windows.net:443/\",\"status\":\"Active\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Tests.ps1 index f1c979a74f8d..2a5eda992b40 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNamespaceV2.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Set-AzEventHubNamespaceV2')) } function assertNamespaceUpdates{ - param([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace]$expectedNamespace,[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace]$namespace) + param([Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace]$expectedNamespace,[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace]$namespace) $expectedNamespace.SkuName | Should -Be $namespace.SkuName $expectedNamespace.SkuCapacity | Should -Be $namespace.SkuCapacity @@ -31,7 +31,7 @@ function assertNamespaceUpdates{ $expectedNamespace.PublicNetworkAccess | Should -Be $namespace.PublicNetworkAccess $expectedNamespace.AlternateName | Should -Be $namespace.AlternateName $expectedNamespace.IdentityType | Should -Be $namespace.IdentityType - + if ($expectedNamespace.RequireInfrastructureEncryption -ne $true){ $namespace.RequireInfrastructureEncryption | Should -Not -Be $true } @@ -55,7 +55,7 @@ function assertNamespaceUpdates{ } Describe 'Set-AzEventHubNamespaceV2' { - It 'SetExpanded' -Skip { + It 'SetExpanded' { # Add Encryption Config to NamespaceV5 which was created in New-AzEventHubNamespaceV2 $ec1 = New-AzEventHubKeyVaultPropertiesObject -KeyName key3 -KeyVaulturi $env.keyVaulturi -UserAssignedIdentity $env.msi1 $eventhubNamespace = Get-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV5 @@ -99,7 +99,7 @@ Describe 'Set-AzEventHubNamespaceV2' { $namespace.UserAssignedIdentity.Count | Should -Be 2 $eventHubNamespace.UserAssignedIdentity = $namespace.UserAssignedIdentity assertNamespaceUpdates $eventHubNamespace $namespace - + # Create a namespace with UserAssignedIdentity and use Set-Az cmdlet to set IdentityType to None $eventhubNamespace = New-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV6 -SkuName Premium -Location northeurope -IdentityType UserAssigned -UserAssignedIdentityId $env.msi1 $eventHubNamespace.UserAssignedIdentity.Count | Should -Be 1 @@ -107,7 +107,7 @@ Describe 'Set-AzEventHubNamespaceV2' { $eventhubNamespace = Set-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV6 -IdentityType None -UserAssignedIdentity:$null $eventhubNamespace.IdentityType | Should -Be $null } - It 'SetViaIdentityExpanded' -Skip { + It 'SetViaIdentityExpanded' { $expectedNamespace = Get-AzEventHubNamespaceV2 -ResourceGroupName $env.resourceGroup -Name $env.namespaceV3 $namespace = Set-AzEventHubNamespaceV2 -InputObject $expectedNamespace -EnableAutoInflate:$false -MaximumThroughputUnit 0 $expectedNamespace.EnableAutoInflate = $false diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Recording.json b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Recording.json index d4aaaafa47fc..a7a532c17364 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Recording.json @@ -1,13 +1,13 @@ { - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+1": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446" ], - "x-ms-client-request-id": [ "fa6dc05a-8c68-491a-99d4-cd04d4a8e6e1" ], + "x-ms-unique-id": [ "467" ], + "x-ms-client-request-id": [ "9f7d1e60-52b4-4de7-ab66-855eb7a753c7" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,36 +22,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "370716b9-a07b-42f9-a3b5-d813353c1557_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11791" ], - "x-ms-correlation-request-id": [ "f339e146-dfd2-4e22-a0de-4e57b45b3099" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224834Z:f339e146-dfd2-4e22-a0de-4e57b45b3099" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11927" ], + "x-ms-request-id": [ "82fd2200-0add-4615-b037-284d74f431f1" ], + "x-ms-correlation-request-id": [ "82fd2200-0add-4615-b037-284d74f431f1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190511Z:82fd2200-0add-4615-b037-284d74f431f1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:33 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "389" ], + "Content-Length": [ "456" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+2": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"defaultAction\": \"Allow\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n }\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n }\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n }\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Enabled\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"trustedServiceAccessEnabled\": false,\n \"defaultAction\": \"Allow\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n }\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n }\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n }\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Enabled\"\n }\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "980" ] + "Content-Length": [ "1022" ] } }, "Response": { @@ -59,34 +58,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c0627325-4df7-4a1b-9b96-c9c3d89a83d9_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], - "x-ms-correlation-request-id": [ "9093b755-fbfe-4e4a-957b-955f1e498a07" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224841Z:9093b755-fbfe-4e4a-957b-955f1e498a07" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "1c002b46-e047-43aa-bbdc-59fa9b2a42ed" ], + "x-ms-correlation-request-id": [ "1c002b46-e047-43aa-bbdc-59fa9b2a42ed" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190523Z:1c002b46-e047-43aa-bbdc-59fa9b2a42ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:40 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1204" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+3": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "448" ], - "x-ms-client-request-id": [ "2ee08e01-a80e-45aa-a42a-18675fe53af3" ], + "x-ms-unique-id": [ "469" ], + "x-ms-client-request-id": [ "f9173d4e-64a5-4e3b-9071-ef0aabebc12b" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -101,36 +99,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "03bc1dc9-1896-4798-9a6b-8b04cb8ed67a_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11790" ], - "x-ms-correlation-request-id": [ "50da8d79-a394-45fa-9401-ad41b5b677eb" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224841Z:50da8d79-a394-45fa-9401-ad41b5b677eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], + "x-ms-request-id": [ "733adc31-ea5f-4cd1-9b63-893d1a3074fc" ], + "x-ms-correlation-request-id": [ "733adc31-ea5f-4cd1-9b63-893d1a3074fc" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190524Z:733adc31-ea5f-4cd1-9b63-893d1a3074fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1204" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+4": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Enabled\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"trustedServiceAccessEnabled\": false,\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Enabled\"\n }\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1132" ] + "Content-Length": [ "1174" ] } }, "Response": { @@ -138,34 +135,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3cf2097b-1cf8-4139-adf8-4ad40de4c05d_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], - "x-ms-correlation-request-id": [ "a145b0c0-4851-4905-9b90-b5b803b32ce9" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224848Z:a145b0c0-4851-4905-9b90-b5b803b32ce9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-request-id": [ "b82becdc-05d4-4791-8cbc-5db5a5d140d6" ], + "x-ms-correlation-request-id": [ "b82becdc-05d4-4791-8cbc-5db5a5d140d6" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190535Z:b82becdc-05d4-4791-8cbc-5db5a5d140d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:47 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1136" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+5": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "450" ], - "x-ms-client-request-id": [ "4441f346-80b2-4dd9-aa6b-5347f689763f" ], + "x-ms-unique-id": [ "471" ], + "x-ms-client-request-id": [ "21ebe52e-188c-4601-ba5f-ebb48ce0b140" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -180,36 +176,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d72afdd7-4a3a-4333-bb2e-a70af3f81b73_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11789" ], - "x-ms-correlation-request-id": [ "9eb4afaa-c038-42bc-b929-6fbcfbd5b016" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224848Z:9eb4afaa-c038-42bc-b929-6fbcfbd5b016" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], + "x-ms-request-id": [ "e5a5ee3b-64fc-4f2f-aedd-28300accb54f" ], + "x-ms-correlation-request-id": [ "e5a5ee3b-64fc-4f2f-aedd-28300accb54f" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190536Z:e5a5ee3b-64fc-4f2f-aedd-28300accb54f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:48 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1136" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+6": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+6": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", - "Content": "{\n \"properties\": {\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Disabled\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", + "Content": "{\n \"properties\": {\n \"trustedServiceAccessEnabled\": false,\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Disabled\"\n }\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1133" ] + "Content-Length": [ "1175" ] } }, "Response": { @@ -217,34 +212,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "363f6508-91cb-4f84-b270-183674a41129_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1172" ], - "x-ms-correlation-request-id": [ "a209a4f3-d46a-4dc9-b5a7-fd0e7904e93e" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224855Z:a209a4f3-d46a-4dc9-b5a7-fd0e7904e93e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-request-id": [ "2c3fa654-894f-4ca9-8c82-d7334145e76b" ], + "x-ms-correlation-request-id": [ "2c3fa654-894f-4ca9-8c82-d7334145e76b" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190547Z:2c3fa654-894f-4ca9-8c82-d7334145e76b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:55 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1204" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+7": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "452" ], - "x-ms-client-request-id": [ "72ea142e-8aea-4f5e-a305-fa368288484e" ], + "x-ms-unique-id": [ "473" ], + "x-ms-client-request-id": [ "4cdc1d70-1905-48e3-b2cd-3c09dd36e002" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -259,29 +253,28 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "bc6b53e1-eb61-48ae-9494-fc6e5c5d68bc_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11788" ], - "x-ms-correlation-request-id": [ "0118b449-b9dd-42cf-8c41-326b6c7d27a3" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224856Z:0118b449-b9dd-42cf-8c41-326b6c7d27a3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], + "x-ms-request-id": [ "1be1e17c-9e48-42f7-97a4-f43e3c70d683" ], + "x-ms-correlation-request-id": [ "1be1e17c-9e48-42f7-97a4-f43e3c70d683" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190548Z:1be1e17c-9e48-42f7-97a4-f43e3c70d683" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:48:55 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1204" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+8": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+8": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"trustedServiceAccessEnabled\": true,\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Disabled\"\n }\n}", "isContentBase64": false, "Headers": { @@ -296,34 +289,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e4ae0275-fe67-4804-8b6b-94670387aaed_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1171" ], - "x-ms-correlation-request-id": [ "ad33e4f9-fcb1-4b15-b276-36600fd59269" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224903Z:ad33e4f9-fcb1-4b15-b276-36600fd59269" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-request-id": [ "d5c49929-06b5-4755-b032-1f59047a06cb" ], + "x-ms-correlation-request-id": [ "d5c49929-06b5-4755-b032-1f59047a06cb" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190559Z:d5c49929-06b5-4755-b032-1f59047a06cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:02 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:05:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1172" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+1": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "454" ], - "x-ms-client-request-id": [ "98cc2ef9-fa21-4751-ac39-2951ed3ee191" ], + "x-ms-unique-id": [ "475" ], + "x-ms-client-request-id": [ "ce63c70d-b95c-4b9a-96d0-f3b1e39903e8" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -338,34 +330,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "42c85b45-b33d-4557-89b7-60cf5b39ece2_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11787" ], - "x-ms-correlation-request-id": [ "57bb3370-d1a8-4207-af62-f38f0a5b359b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224903Z:57bb3370-d1a8-4207-af62-f38f0a5b359b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], + "x-ms-request-id": [ "42ad2a97-95ed-49a4-b323-daad29226edd" ], + "x-ms-correlation-request-id": [ "42ad2a97-95ed-49a4-b323-daad29226edd" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190600Z:42ad2a97-95ed-49a4-b323-daad29226edd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1172" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+2": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "455" ], - "x-ms-client-request-id": [ "a9a0e6a8-cf07-4386-9a5b-fc01e96754e4" ], + "x-ms-unique-id": [ "476" ], + "x-ms-client-request-id": [ "6bc71f44-c0a0-45a4-adc8-5f46f72912e8" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -380,34 +371,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "394388af-6a41-4c1d-bddf-a19ad9a1b5fa_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11786" ], - "x-ms-correlation-request-id": [ "bb3a0bab-f8e0-42ab-acd3-f8ae0e811a8a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224904Z:bb3a0bab-f8e0-42ab-acd3-f8ae0e811a8a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], + "x-ms-request-id": [ "78126303-dfd9-43bd-8e16-a378bf29f6c5" ], + "x-ms-correlation-request-id": [ "78126303-dfd9-43bd-8e16-a378bf29f6c5" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190601Z:78126303-dfd9-43bd-8e16-a378bf29f6c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:03 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1172" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+3": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "456" ], - "x-ms-client-request-id": [ "8b28dc5f-6572-41a3-94c3-10767e833e6f" ], + "x-ms-unique-id": [ "477" ], + "x-ms-client-request-id": [ "4d28e7ba-65e1-4838-b68c-eea56a211389" ], "CommandName": [ "Get-AzEventHubNetworkRuleSet" ], "FullCommandName": [ "Get-AzEventHubNetworkRuleSet_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -422,29 +412,28 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f0bd0875-bc00-4eb7-8856-9be6523c25ea_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11785" ], - "x-ms-correlation-request-id": [ "3332c1a9-ee15-4a0c-b4ab-9cf1c9da8258" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224904Z:3332c1a9-ee15-4a0c-b4ab-9cf1c9da8258" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], + "x-ms-request-id": [ "646bbc61-020d-4f10-abdf-cffcc3196bf1" ], + "x-ms-correlation-request-id": [ "646bbc61-020d-4f10-abdf-cffcc3196bf1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190602Z:646bbc61-020d-4f10-abdf-cffcc3196bf1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:04 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1172" ], + "Content-Length": [ "1203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkrulesets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":true,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview+4": { + "Set-AzEventHubNetworkRuleSet+[NoContext]+SetViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default?api-version=2022-10-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default?api-version=2023-01-01-preview", "Content": "{\n \"properties\": {\n \"trustedServiceAccessEnabled\": false,\n \"defaultAction\": \"Deny\",\n \"virtualNetworkRules\": [\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n },\n {\n \"subnet\": {\n \"id\": \"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"\n },\n \"ignoreMissingVnetServiceEndpoint\": false\n }\n ],\n \"ipRules\": [\n {\n \"ipMask\": \"1.1.1.1\",\n \"action\": \"Allow\"\n },\n {\n \"ipMask\": \"2.2.2.2\",\n \"action\": \"Allow\"\n }\n ],\n \"publicNetworkAccess\": \"Disabled\"\n }\n}", "isContentBase64": false, "Headers": { @@ -459,22 +448,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8a199058-9859-4301-a76e-00053adced70_M0SN1_M0SN1" ], - "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], - "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1170" ], - "x-ms-correlation-request-id": [ "5ae1b9e8-33c3-4ea4-950b-4cd1195ffa9b" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224911Z:5ae1b9e8-33c3-4ea4-950b-4cd1195ffa9b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-request-id": [ "a67ff17a-492d-40ff-a95b-8117ce6baaff" ], + "x-ms-correlation-request-id": [ "a67ff17a-492d-40ff-a95b-8117ce6baaff" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190615Z:a67ff17a-492d-40ff-a95b-8117ce6baaff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:10 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1204" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}]}}", + "Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.EventHub/Namespaces/NetworkRuleSets\",\"location\":\"eastus\",\"properties\":{\"publicNetworkAccess\":\"Disabled\",\"defaultAction\":\"Deny\",\"virtualNetworkRules\":[{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2\"},\"ignoreMissingVnetServiceEndpoint\":false},{\"subnet\":{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourcegroups/automatedpowershelltesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3\"},\"ignoreMissingVnetServiceEndpoint\":false}],\"ipRules\":[{\"ipMask\":\"1.1.1.1\",\"action\":\"Allow\"},{\"ipMask\":\"2.2.2.2\",\"action\":\"Allow\"}],\"trustedServiceAccessEnabled\":false,\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Tests.ps1 index 8516587396ac..2a658bfe59c7 100644 --- a/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Set-AzEventHubNetworkRuleSet.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Set-AzEventHubNetworkRuleSet' } Describe 'Set-AzEventHubNetworkRuleSet' { - It 'SetExpanded' -Skip { + It 'SetExpanded' { $ipRule1 = New-AzEventHubIPRuleConfig -IPMask 1.1.1.1 -Action Allow $ipRule2 = New-AzEventHubIPRuleConfig -IPMask 2.2.2.2 -Action Allow @@ -28,21 +28,21 @@ Describe 'Set-AzEventHubNetworkRuleSet' { $networkRuleSet.VirtualNetworkRule.Count | Should -Be 3 $networkRuleSet.IPRule.Count | Should -Be 2 $networkRuleSet.PublicNetworkAccess | Should -Be "Enabled" - $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $null + $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $false $networkRuleSet = Set-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -DefaultAction Deny $networkRuleSet.DefaultAction | Should -Be "Deny" $networkRuleSet.VirtualNetworkRule.Count | Should -Be 3 $networkRuleSet.IPRule.Count | Should -Be 2 $networkRuleSet.PublicNetworkAccess | Should -Be "Enabled" - $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $null + $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $false $networkRuleSet = Set-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -PublicNetworkAccess Disabled $networkRuleSet.DefaultAction | Should -Be "Deny" $networkRuleSet.VirtualNetworkRule.Count | Should -Be 3 $networkRuleSet.IPRule.Count | Should -Be 2 $networkRuleSet.PublicNetworkAccess | Should -Be "Disabled" - $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $null + $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $false $networkRuleSet = Set-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -TrustedServiceAccessEnabled $networkRuleSet.DefaultAction | Should -Be "Deny" @@ -53,16 +53,16 @@ Describe 'Set-AzEventHubNetworkRuleSet' { } - It 'SetViaIdentityExpanded' -Skip { + It 'SetViaIdentityExpanded' { $networkRuleSet = Get-AzEventHubNetworkRuleSet -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace - + { Set-AzEventHubNetworkRuleSet -InputObject $networkRuleSet } | Should -Throw 'Please specify the property you want to update on the -InputObject' - + $networkRuleSet = Set-AzEventHubNetworkRuleSet -InputObject $networkRuleSet -TrustedServiceAccessEnabled:$false $networkRuleSet.DefaultAction | Should -Be "Deny" $networkRuleSet.VirtualNetworkRule.Count | Should -Be 3 $networkRuleSet.IPRule.Count | Should -Be 2 $networkRuleSet.PublicNetworkAccess | Should -Be "Disabled" - $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $null + $networkRuleSet.TrustedServiceAccessEnabled | Should -Be $false } } diff --git a/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Recording.json b/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Recording.json index 42c000a30be0..410cc8aac9de 100644 --- a/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Recording.json +++ b/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Recording.json @@ -1,15 +1,15 @@ { - "Test-AzEventHubName+[NoContext]+NamespaceAvailability+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/providers/Microsoft.EventHub/checkNameAvailability?api-version=2022-10-01-preview+1": { + "Test-AzEventHubName+[NoContext]+NamespaceAvailability+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/providers/Microsoft.EventHub/checkNameAvailability?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/providers/Microsoft.EventHub/checkNameAvailability?api-version=2022-10-01-preview", - "Content": "{\n \"name\": \"namespaceNamemcqtjf\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/providers/Microsoft.EventHub/checkNameAvailability?api-version=2023-01-01-preview", + "Content": "{\n \"name\": \"namespaceV1c2xukw\"\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "35" ] + "Content-Length": [ "33" ] } }, "Response": { @@ -17,15 +17,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "eb86a64f-6251-4745-aaf8-5f0cc2fb8be0_M0SN1_M0SN1" ], + "x-ms-request-id": [ "66f16a33-102b-46b9-b386-a365e22ef830_M11SN1_M11SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "8c37b9ba-1123-4d24-9b0d-9a348affda8a" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224942Z:8c37b9ba-1123-4d24-9b0d-9a348affda8a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "331cfa6f-df04-488a-a6b0-6ab5416f9bf1" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190653Z:331cfa6f-df04-488a-a6b0-6ab5416f9bf1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:41 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:52 GMT" ] }, "ContentHeaders": { "Content-Length": [ "159" ], @@ -36,11 +36,11 @@ "isContentBase64": false } }, - "Test-AzEventHubName+[NoContext]+AliasAvailability+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/disasterRecoveryConfigs/checkNameAvailability?api-version=2022-10-01-preview+1": { + "Test-AzEventHubName+[NoContext]+AliasAvailability+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/disasterRecoveryConfigs/checkNameAvailability?api-version=2023-01-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest8r5bsz/providers/Microsoft.EventHub/namespaces/namespaceNamemcqtjf/disasterRecoveryConfigs/checkNameAvailability?api-version=2022-10-01-preview", - "Content": "{\n \"name\": \"alias5dci43\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k/disasterRecoveryConfigs/checkNameAvailability?api-version=2023-01-01-preview", + "Content": "{\n \"name\": \"alias0s4m1l\"\n}", "isContentBase64": false, "Headers": { }, @@ -54,15 +54,15 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d5ce9cc3-5255-4731-85bc-a6b531161ac6_M0SN1_M0SN1" ], + "x-ms-request-id": [ "b35cd4b4-f6ef-401f-b928-35bb85e83d59_M6SN1_M6SN1" ], "Server-SB": [ "Service-Bus-Resource-Provider/SN1" ], "Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "71a4350c-f129-4821-862c-9e0d5cc8e1ce" ], - "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230220T224942Z:71a4350c-f129-4821-862c-9e0d5cc8e1ce" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "11bc2f90-6bf4-4f50-8404-5e0e691e8da7" ], + "x-ms-routing-request-id": [ "SOUTHCENTRALUS:20230817T190653Z:11bc2f90-6bf4-4f50-8404-5e0e691e8da7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 20 Feb 2023 22:49:42 GMT" ] + "Date": [ "Thu, 17 Aug 2023 19:06:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "38" ], diff --git a/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Tests.ps1 b/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Tests.ps1 index 5854195105e9..2d18386cd862 100644 --- a/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Tests.ps1 +++ b/src/EventHub/EventHub.Autorest/test/Test-AzEventHubName.Tests.ps1 @@ -15,12 +15,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzEventHubName')) } Describe 'Test-AzEventHubName' { - It 'NamespaceAvailability' { - $checkName = Test-AzEventHubName -NamespaceName $env.namespace + It 'NamespaceAvailability' { + $checkName = Test-AzEventHubName -NamespaceName $env.namespaceV1 $checkName.NameAvailable | Should -Be $false } - It 'AliasAvailability' -Skip { + It 'AliasAvailability' { $checkName = Test-AzEventHubName -NamespaceName $env.namespace -ResourceGroupName $env.resourceGroup -AliasName $env.alias $checkName.NameAvailable | Should -Be $true } diff --git a/src/EventHub/EventHub.Autorest/test/deployment-template/disasterRecoveryParameter.json b/src/EventHub/EventHub.Autorest/test/deployment-template/disasterRecoveryParameter.json index 4bff3f45dc6d..3b1650c2c278 100644 --- a/src/EventHub/EventHub.Autorest/test/deployment-template/disasterRecoveryParameter.json +++ b/src/EventHub/EventHub.Autorest/test/deployment-template/disasterRecoveryParameter.json @@ -3,10 +3,10 @@ "contentVersion": "1.0.0.0", "parameters": { "namespace_name": { - "value": "namespaceNamezeilhk" + "value": "namespaceNamep9d7hv" }, "secondarynamespace_name": { - "value": "namespaceNamel472yk" + "value": "namespaceNamezcpl45" } } } diff --git a/src/EventHub/EventHub.Autorest/test/deployment-template/keyVaultParameter.json b/src/EventHub/EventHub.Autorest/test/deployment-template/keyVaultParameter.json index 49b01367a5b7..bb572cda00ea 100644 --- a/src/EventHub/EventHub.Autorest/test/deployment-template/keyVaultParameter.json +++ b/src/EventHub/EventHub.Autorest/test/deployment-template/keyVaultParameter.json @@ -3,13 +3,13 @@ "contentVersion": "1.0.0.0", "parameters": { "key_Vault_Name": { - "value": "keyVaultNameeichba" + "value": "keyVaultName4wvqm0" }, "tenant_id": { "value": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "object_id": { - "value": "ae29ca1a-1ce9-4f48-af9a-62e4065e1cab" + "value": "67b90cb6-eb4b-461d-a56f-26d386a629d5" }, "object_id_msi1": { "value": "624205aa-192c-4303-9606-990d06cbd997" diff --git a/src/EventHub/EventHub.Autorest/test/deployment-template/parameter.json b/src/EventHub/EventHub.Autorest/test/deployment-template/parameter.json index ba66ad2dd868..38b280899529 100644 --- a/src/EventHub/EventHub.Autorest/test/deployment-template/parameter.json +++ b/src/EventHub/EventHub.Autorest/test/deployment-template/parameter.json @@ -3,34 +3,34 @@ "contentVersion": "1.0.0.0", "parameters": { "namespace_name": { - "value": "namespaceName3yqds5" + "value": "namespaceNamenysd8k" }, "system_assigned_namespace_name": { - "value": "namespaceNamendmtj8" + "value": "namespaceName45sv1u" }, "namespace_auth_rule_name": { - "value": "auth-rulesuh1f2" + "value": "auth-ruletay4fg" }, "eventhub_auth_rule_name": { - "value": "auth-rule63at0l" + "value": "auth-rule3xagfb" }, "eventhub_name": { - "value": "eventHubiftc5o" + "value": "eventHub6mc5ow" }, "schema_group_name": { - "value": "schemaGroupctyb3u" + "value": "schemaGroup5ht9so" }, "appgroup_name": { - "value": "appGroupws9rzp" + "value": "appGroupl6sfgw" }, "peName1": { - "value": "privateEndpoint-ayni98" + "value": "privateEndpoint-dps5i6" }, "peName2": { - "value": "privateEndpoint-zcidrk" + "value": "privateEndpoint-y8fngz" }, "namespaceResourceId": { - "value": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwusdi7/providers/Microsoft.EventHub/namespaces/namespaceName3yqds5" + "value": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamenysd8k" } } } diff --git a/src/EventHub/EventHub.Autorest/test/env.json b/src/EventHub/EventHub.Autorest/test/env.json index 8d775e2d59d3..4b4739a3ec6f 100644 --- a/src/EventHub/EventHub.Autorest/test/env.json +++ b/src/EventHub/EventHub.Autorest/test/env.json @@ -1,56 +1,58 @@ { - "systemAssignedNamespaceName": "namespaceNameev506j", - "storageAccountId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount", - "subnetId2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2", - "namespaceSecondaryKey": "iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=", - "authRule": "auth-rulepisblj", - "namespaceV8": "namespaceV8w6vg7d", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "namespaceV2": "namespaceV2dnrofp", - "appGroup": "appGroupz3jbkw", - "namespacePrimaryKey": "iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=", - "secondaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceName3dqfes", - "consumerGroup": "$Default", - "SubscriptionId": "326100e2-f69d-4268-8503-075374f62b6e", - "resourceGroup": "resourceGroupAutorest5oibwu", - "subnetId3": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3", - "secondaryNamespace": "namespaceName3dqfes", - "namespaceV7": "namespaceV7x4sgpf", - "keyVaultUri": "https://keyVaultNamebaqigt.vault.azure.net/", - "eventHubAuthRule": "auth-rule61or5h", - "namespaceV3": "namespaceV3zlj8ve", - "schemaGroup": "schemaGroup9lfs8c", - "clusterResourceGroup": "AutomatedPowershellTesting", - "namespace": "namespaceName9ys3v4", - "eventHub3": "eventHubcuospx", - "cluster2": "cluster3aze2g", - "authRule3": "auth-rulegsto5k", - "primaryNamespace": "namespaceNamejzobdw", - "consumerGroup3": "consumerGroup0kjoen", - "eventHubAuthRule3": "auth-rulel8kejb", - "namespaceV6": "namespaceV6hya1v0", - "namespaceV1": "namespaceV14g8v1y", - "consumerGroup2": "consumerGroupw0ctse", - "appGroup2": "appGroup5p9zhu", - "createdCluster": "TestClusterAutomatic", - "authRule2": "auth-rulevrpigf", + "cluster": "clusterudo04w", + "namespaceV5": "namespaceV512fs36", + "eventHub3": "eventHub2i91o8", + "namespaceV2": "namespaceV2xn7q8m", + "namespaceV3": "namespaceV3u4l018", + "systemAssignedNamespaceName": "namespaceName45sv1u", + "namespaceV8": "namespaceV8uloxqk", + "primaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamep9d7hv", + "schemaGroup3": "schemaGroup6absgn", "msi2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2", - "alias": "aliastki2cz", - "eventHub9": "eventHub9w25oh1", - "eventHub": "eventHube8fp3c", - "eventHubSecondaryKey": "iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=", - "appGroup3": "appGroup5oasut", - "subnetId1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default", - "namespaceV4": "namespaceV4ctmhy5", - "schemaGroup3": "schemaGrouponc47j", - "schemaGroup2": "schemaGroupyqgrhp", - "eventHubPrimaryKey": "iYDN3AnUhVnSBGPn5RJtoYJZoy2Ks7eeR0TW2uM2yCI=", - "eventHub2": "eventHubau4ir1", - "cluster": "clusterrwmjxo", - "eventHubAuthRule2": "auth-rulee0ymis", - "primaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorest5oibwu/providers/Microsoft.EventHub/namespaces/namespaceNamejzobdw", - "namespaceV5": "namespaceV5w346xo", + "authRule2": "auth-ruleo0js46", + "primaryNamespace": "namespaceNamep9d7hv", + "schemaGroup": "schemaGroup5ht9so", + "eventHub9": "eventHub9j169dz", + "createdCluster": "TestClusterAutomatic", + "eventHub5": "eventHub8xoc7j", + "keyVaultUri": "https://keyVaultName4wvqm0.vault.azure.net/", + "appGroup": "appGroupl6sfgw", + "appGroup3": "appGroupxksjoq", + "schemaGroup2": "schemaGroup8ztcqm", + "subnetId3": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3", + "resourceGroup": "resourceGroupAutorestwogfts", + "appGroup2": "appGroupk52xm7", + "alias": "alias0s4m1l", + "SubscriptionId": "326100e2-f69d-4268-8503-075374f62b6e", + "namespaceSecondaryKey": "amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=", + "authRule3": "auth-rulez1devx", + "eventHub2": "eventHubz64mr2", + "eventHubPrimaryKey": "amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=", + "eventHubAuthRule2": "auth-rule60cxny", + "namespacePrimaryKey": "amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=", + "namespace": "namespaceNamenysd8k", "msi1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1", - "namespaceV9": "namespaceV9oi8cv1", - "blobContainer": "container" + "cluster2": "clusterar3wxp", + "consumerGroup3": "consumerGroup815m4b", + "subnetId1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default", + "namespaceV4": "namespaceV4ewifs5", + "consumerGroup2": "consumerGroupi10pxq", + "namespaceV9": "namespaceV9qyei6j", + "secondaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwogfts/providers/Microsoft.EventHub/namespaces/namespaceNamezcpl45", + "clusterResourceGroup": "AutomatedPowershellTesting", + "consumerGroup": "$Default", + "eventHub": "eventHub6mc5ow", + "authRule": "auth-ruletay4fg", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "namespaceV7": "namespaceV7maiqyc", + "namespaceV1": "namespaceV1c2xukw", + "eventHub4": "eventHubkubr2o", + "eventHubSecondaryKey": "amDWTC1UmLcC9c4dbKx2Ne2pFS8cHJpFqVNzmXhmlPA=", + "secondaryNamespace": "namespaceNamezcpl45", + "namespaceV6": "namespaceV6tyl2ks", + "storageAccountId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount", + "blobContainer": "container", + "eventHubAuthRule3": "auth-ruleaeyxi0", + "eventHubAuthRule": "auth-rule3xagfb", + "subnetId2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2" } diff --git a/src/EventHub/EventHub.Autorest/test/localEnv.json b/src/EventHub/EventHub.Autorest/test/localEnv.json index c7429f874176..616b8a1e97e3 100644 --- a/src/EventHub/EventHub.Autorest/test/localEnv.json +++ b/src/EventHub/EventHub.Autorest/test/localEnv.json @@ -1,56 +1,57 @@ { - "keyVaultUri": "https://keyVaultNameeichba.vault.azure.net/", - "cluster": "cluster8xskjv", + "eventHub2": "eventHub8rbp3s", "storageAccountId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Storage/storageAccounts/testpsstoragaccount", - "consumerGroup3": "consumerGroupa2tj0h", - "cluster2": "clustery2fp6n", - "eventHubAuthRule2": "auth-rulew5qxne", "consumerGroup": "$Default", - "subnetId1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default", - "createdCluster": "TestClusterAutomatic", + "msi2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2", + "eventHub3": "eventHub1s3gm7", + "namespacePrimaryKey": "V+0u4ngBthQMcIcuvuOrHwvDoapcUqfRTpUDQYWx0Yw=", "blobContainer": "container", - "namespaceV6": "namespaceV6s7ct24", + "authRule2": "auth-rule0in7cg", + "eventHub": "eventHubymr1c9", + "primaryNamespace": "namespaceNamexa4ylm", + "secondaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestx7y95b/providers/Microsoft.EventHub/namespaces/namespaceNamei0s259", + "createdCluster": "TestClusterAutomatic", + "authRule": "auth-rule60epd2", + "systemAssignedNamespaceName": "namespaceNameuwhby1", + "eventHubAuthRule2": "auth-rulep26ix4", + "SubscriptionId": "326100e2-f69d-4268-8503-075374f62b6e", + "namespaceSecondaryKey": "V+0u4ngBthQMcIcuvuOrHwvDoapcUqfRTpUDQYWx0Yw=", + "msi1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1", + "secondaryNamespace": "namespaceNamei0s259", + "authRule3": "auth-ruletjmlzu", + "alias": "aliasa506pl", + "namespaceV8": "namespaceV8fwx5n3", + "eventHubAuthRule3": "auth-ruleimvfso", + "appGroup": "appGroupbzu7jr", + "schemaGroup": "schemaGroupaskzjx", + "namespaceV4": "namespaceV4zgrx09", + "appGroup2": "appGroupbe39dc", + "namespace": "namespaceName9062tg", + "eventHubPrimaryKey": "V+0u4ngBthQMcIcuvuOrHwvDoapcUqfRTpUDQYWx0Yw=", + "namespaceV5": "namespaceV5gnp24x", + "namespaceV3": "namespaceV3fx4w12", + "consumerGroup3": "consumerGroupqwsoxi", + "cluster2": "clusterutsdc3", + "cluster": "clusterjvra8m", + "eventHubSecondaryKey": "V+0u4ngBthQMcIcuvuOrHwvDoapcUqfRTpUDQYWx0Yw=", + "consumerGroup2": "consumerGroupyuehif", "clusterResourceGroup": "AutomatedPowershellTesting", - "eventHub9": "eventHub9qoacf2", - "msi2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI2", - "namespaceV4": "namespaceV45mvdsu", - "namespacePrimaryKey": "0Z8sbQuzdjLFajqbbsUyaL3gUrAF1ylMDt6vsdZJNa8=", - "namespaceV7": "namespaceV7p231q4", - "primaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwusdi7/providers/Microsoft.EventHub/namespaces/namespaceNamezeilhk", - "authRule3": "auth-rule42scmu", - "appGroup2": "appGroupp8k6qa", - "appGroup": "appGroupws9rzp", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "alias": "alias6udv3k", - "systemAssignedNamespaceName": "namespaceNamendmtj8", - "namespaceV1": "namespaceV1a7m6fj", - "schemaGroup3": "schemaGroup13azhc", - "eventHubPrimaryKey": "0Z8sbQuzdjLFajqbbsUyaL3gUrAF1ylMDt6vsdZJNa8=", - "namespaceV8": "namespaceV864jsad", - "appGroup3": "appGroupnpkf6x", - "namespaceV3": "namespaceV3tg5icw", - "namespaceV9": "namespaceV9stg72n", - "schemaGroup": "schemaGroupctyb3u", + "eventHub4": "eventHub24f17y", + "schemaGroup3": "schemaGroupg1je04", "subnetId3": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default3", - "eventHub2": "eventHubvqb395", - "eventHubAuthRule3": "auth-rule8yc4kv", - "eventHubAuthRule": "auth-rule63at0l", - "secondaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestwusdi7/providers/Microsoft.EventHub/namespaces/namespaceNamel472yk", - "namespace": "namespaceName3yqds5", - "eventHubSecondaryKey": "0Z8sbQuzdjLFajqbbsUyaL3gUrAF1ylMDt6vsdZJNa8=", - "schemaGroup2": "schemaGroupd1qmct", "subnetId2": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default2", - "namespaceV2": "namespaceV2xokf37", - "authRule": "auth-rulesuh1f2", - "resourceGroup": "resourceGroupAutorestwusdi7", - "eventHub3": "eventHubax5u62", - "eventHub": "eventHubiftc5o", - "namespaceSecondaryKey": "0Z8sbQuzdjLFajqbbsUyaL3gUrAF1ylMDt6vsdZJNa8=", - "msi1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/ps-testing/providers/Microsoft.ManagedIdentity/userAssignedIdentities/PS-Testing-MSI1", - "primaryNamespace": "namespaceNamezeilhk", - "authRule2": "auth-rulez9a7y2", - "namespaceV5": "namespaceV50i3ltr", - "secondaryNamespace": "namespaceNamel472yk", - "SubscriptionId": "326100e2-f69d-4268-8503-075374f62b6e", - "consumerGroup2": "consumerGroupsc3l09" + "namespaceV2": "namespaceV2hae6px", + "namespaceV1": "namespaceV1tbp90q", + "keyVaultUri": "https://keyVaultName8imkbg.vault.azure.net/", + "eventHubAuthRule": "auth-rulefv083t", + "resourceGroup": "resourceGroupAutorestx7y95b", + "schemaGroup2": "schemaGroupdnlvim", + "namespaceV6": "namespaceV6wgxnzl", + "eventHub9": "eventHub98grx4y", + "namespaceV7": "namespaceV7zwanky", + "subnetId1": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/AutomatedPowershellTesting/providers/Microsoft.Network/virtualNetworks/testpsvn/subnets/default", + "primaryNamespaceResourceId": "/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestx7y95b/providers/Microsoft.EventHub/namespaces/namespaceNamexa4ylm", + "appGroup3": "appGroupitbcuk", + "namespaceV9": "namespaceV924j13s" } diff --git a/src/EventHub/EventHub.Autorest/test/utils.ps1 b/src/EventHub/EventHub.Autorest/test/utils.ps1 index f44a5dcf3b15..ad6a277787c6 100644 --- a/src/EventHub/EventHub.Autorest/test/utils.ps1 +++ b/src/EventHub/EventHub.Autorest/test/utils.ps1 @@ -55,6 +55,8 @@ function setupEnv() { $eventHub = "eventHub" + (RandomString -allChars $false -len 6) $eventHub2 = "eventHub" + (RandomString -allChars $false -len 6) $eventHub3 = "eventHub" + (RandomString -allChars $false -len 6) + $eventHub4 = "eventHub" + (RandomString -allChars $false -len 6) + $eventHub5 = "eventHub" + (RandomString -allChars $false -len 6) $eventHub9 = "eventHub9" + (RandomString -allChars $false -len 6) $cluster = "cluster" + (RandomString -allChars $false -len 6) $cluster2 = "cluster" + (RandomString -allChars $false -len 6) @@ -102,6 +104,8 @@ function setupEnv() { $env.Add("eventHub2", $eventHub2) $env.Add("eventHub3", $eventHub3) $env.Add("eventHub9", $eventHub9) + $env.Add("eventHub4", $eventHub4) + $env.Add("eventHub5", $eventHub5) $env.Add("createdCluster", "TestClusterAutomatic") $env.Add("cluster", $cluster) $env.Add("cluster2", $cluster2) diff --git a/src/EventHub/EventHub/Az.EventHub.psd1 b/src/EventHub/EventHub/Az.EventHub.psd1 index 278e9f7ce8b3..d494eb7dbfaa 100644 --- a/src/EventHub/EventHub/Az.EventHub.psd1 +++ b/src/EventHub/EventHub/Az.EventHub.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2023/5/22 +# Generated on: 8/21/2023 # @{ @@ -129,7 +129,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','EventHub' + Tags = 'Azure', 'ResourceManager', 'ARM', 'EventHub' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -155,7 +155,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/EventHub/EventHub/help/Approve-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub/help/Approve-AzEventHubPrivateEndpointConnection.md index e1ca8bd241f3..2acc5ec90a9f 100644 --- a/src/EventHub/EventHub/help/Approve-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub/help/Approve-AzEventHubPrivateEndpointConnection.md @@ -215,7 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub/help/Deny-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub/help/Deny-AzEventHubPrivateEndpointConnection.md index dfdb14001b5e..e31800ebf763 100644 --- a/src/EventHub/EventHub/help/Deny-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub/help/Deny-AzEventHubPrivateEndpointConnection.md @@ -217,7 +217,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHub.md b/src/EventHub/EventHub/help/Get-AzEventHub.md index b6f309c993af..9e18968bc4c5 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHub.md +++ b/src/EventHub/EventHub/help/Get-AzEventHub.md @@ -218,7 +218,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubApplicationGroup.md b/src/EventHub/EventHub/help/Get-AzEventHubApplicationGroup.md index 0446ce340e81..604b348c5b36 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubApplicationGroup.md @@ -174,7 +174,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub/help/Get-AzEventHubAuthorizationRule.md index 115e411349b5..2f1c9373c509 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubAuthorizationRule.md @@ -206,7 +206,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubCluster.md b/src/EventHub/EventHub/help/Get-AzEventHubCluster.md index bedfd6ed4878..1d9dea73ae0e 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubCluster.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubCluster.md @@ -149,7 +149,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubClusterNamespace.md b/src/EventHub/EventHub/help/Get-AzEventHubClusterNamespace.md index bf79ac97e02c..967eeb53a6e0 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubClusterNamespace.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubClusterNamespace.md @@ -107,7 +107,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespaceIdContainer +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespaceIdContainer ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubClustersAvailableRegion.md b/src/EventHub/EventHub/help/Get-AzEventHubClustersAvailableRegion.md index 772c2d548320..5f7a0c18ac09 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubClustersAvailableRegion.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubClustersAvailableRegion.md @@ -70,7 +70,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAvailableCluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAvailableCluster ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubConsumerGroup.md b/src/EventHub/EventHub/help/Get-AzEventHubConsumerGroup.md index 5b1593814cc1..7aa492b6ffad 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubConsumerGroup.md @@ -209,7 +209,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubGeoDRConfiguration.md b/src/EventHub/EventHub/help/Get-AzEventHubGeoDRConfiguration.md index 42d39981e122..8bd7ebccdd44 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubGeoDRConfiguration.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubGeoDRConfiguration.md @@ -158,7 +158,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubKey.md b/src/EventHub/EventHub/help/Get-AzEventHubKey.md index 45088a05e9c5..4d931253c36c 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubKey.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubKey.md @@ -216,7 +216,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubNamespace.md b/src/EventHub/EventHub/help/Get-AzEventHubNamespace.md index 9f6a5c72d7c5..15bf636cc289 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubNamespace.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubNamespace.md @@ -186,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubNetworkRuleSet.md b/src/EventHub/EventHub/help/Get-AzEventHubNetworkRuleSet.md index 944c74ee5fe6..f40bc657a7c8 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubNetworkRuleSet.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubNetworkRuleSet.md @@ -141,9 +141,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSetListResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSetListResult ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubPrivateEndpointConnection.md b/src/EventHub/EventHub/help/Get-AzEventHubPrivateEndpointConnection.md index bcda4fb3e84d..cac66680fb54 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubPrivateEndpointConnection.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubPrivateEndpointConnection.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateEndpointConnection +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateEndpointConnection ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubPrivateLink.md b/src/EventHub/EventHub/help/Get-AzEventHubPrivateLink.md index 4936aaccbd3d..1bfdd85fb859 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubPrivateLink.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubPrivateLink.md @@ -109,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IPrivateLinkResourcesListResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IPrivateLinkResourcesListResult ## NOTES diff --git a/src/EventHub/EventHub/help/Get-AzEventHubSchemaGroup.md b/src/EventHub/EventHub/help/Get-AzEventHubSchemaGroup.md index 001382ac54f1..e63bee72bebf 100644 --- a/src/EventHub/EventHub/help/Get-AzEventHubSchemaGroup.md +++ b/src/EventHub/EventHub/help/Get-AzEventHubSchemaGroup.md @@ -196,7 +196,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHub.md b/src/EventHub/EventHub/help/New-AzEventHub.md index 28295fdbbed2..8fa646152723 100644 --- a/src/EventHub/EventHub/help/New-AzEventHub.md +++ b/src/EventHub/EventHub/help/New-AzEventHub.md @@ -16,10 +16,10 @@ Creates or updates a new Event Hub as a nested resource within a Namespace. New-AzEventHub -Name -NamespaceName -ResourceGroupName [-SubscriptionId ] [-ArchiveNameFormat ] [-BlobContainer ] [-CaptureEnabled] [-CleanupPolicy ] [-DestinationName ] - [-Encoding ] [-IntervalInSeconds ] [-PartitionCount ] - [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] [-Status ] - [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-Encoding ] [-IdentityType ] [-IntervalInSeconds ] + [-PartitionCount ] [-RetentionTimeInHour ] [-SizeLimitInBytes ] [-SkipEmptyArchive] + [-Status ] [-StorageAccountResourceId ] [-TombstoneRetentionTimeInHour ] + [-UserAssignedIdentityId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -254,6 +254,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IdentityType +Type of Azure Active Directory Managed Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.CaptureIdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IntervalInSeconds The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds @@ -332,7 +347,7 @@ Accept wildcard characters: False ### -RetentionTimeInHour Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. -If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue +If cleanupPolicy is Compact the returned value of this property is Long.MaxValue ```yaml Type: System.Int64 @@ -424,7 +439,7 @@ Accept wildcard characters: False ### -TombstoneRetentionTimeInHour Number of hours to retain the tombstone markers of a compacted Event Hub. -This value is only used when cleanupPolicy is Compaction. +This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub ```yaml @@ -439,6 +454,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UserAssignedIdentityId +ARM ID of Managed User Identity. +This property is required is the type is UserAssignedIdentity. +If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -477,7 +509,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubApplicationGroup.md b/src/EventHub/EventHub/help/New-AzEventHubApplicationGroup.md index d6a9317c290f..cd847a17d886 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub/help/New-AzEventHubApplicationGroup.md @@ -138,7 +138,7 @@ The policies can support resource governance scenarios such as limiting ingress To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Parameter Sets: (All) Aliases: @@ -218,7 +218,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub/help/New-AzEventHubAuthorizationRule.md index 06429d5829a3..23841974efc8 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub/help/New-AzEventHubAuthorizationRule.md @@ -237,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubCluster.md b/src/EventHub/EventHub/help/New-AzEventHubCluster.md index cdae96c91f26..1b55b7bf545d 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubCluster.md +++ b/src/EventHub/EventHub/help/New-AzEventHubCluster.md @@ -257,7 +257,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubConsumerGroup.md b/src/EventHub/EventHub/help/New-AzEventHubConsumerGroup.md index 379f6044d2c9..9a1dde5f0b6c 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub/help/New-AzEventHubConsumerGroup.md @@ -190,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubGeoDRConfiguration.md b/src/EventHub/EventHub/help/New-AzEventHubGeoDRConfiguration.md index bbe53fddfea0..be1617abff90 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubGeoDRConfiguration.md +++ b/src/EventHub/EventHub/help/New-AzEventHubGeoDRConfiguration.md @@ -190,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IArmDisasterRecovery +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IArmDisasterRecovery ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubIPRuleConfig.md b/src/EventHub/EventHub/help/New-AzEventHubIPRuleConfig.md index 69bfceef697f..97ddfc79d1f2 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubIPRuleConfig.md +++ b/src/EventHub/EventHub/help/New-AzEventHubIPRuleConfig.md @@ -73,7 +73,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubKey.md b/src/EventHub/EventHub/help/New-AzEventHubKey.md index dc080e40634f..8e10f2c40912 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubKey.md +++ b/src/EventHub/EventHub/help/New-AzEventHubKey.md @@ -252,7 +252,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAccessKeys +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAccessKeys ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubKeyVaultPropertiesObject.md b/src/EventHub/EventHub/help/New-AzEventHubKeyVaultPropertiesObject.md index 426a07c60448..8a6d3b4f4945 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubKeyVaultPropertiesObject.md +++ b/src/EventHub/EventHub/help/New-AzEventHubKeyVaultPropertiesObject.md @@ -100,7 +100,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.KeyVaultProperties +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.KeyVaultProperties ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubNamespace.md b/src/EventHub/EventHub/help/New-AzEventHubNamespace.md index b58fab057539..1f80162297b2 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubNamespace.md +++ b/src/EventHub/EventHub/help/New-AzEventHubNamespace.md @@ -292,7 +292,7 @@ Properties to configure Encryption To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] Parameter Sets: (All) Aliases: @@ -542,7 +542,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubSchemaGroup.md b/src/EventHub/EventHub/help/New-AzEventHubSchemaGroup.md index 051fddaf1606..3110321d7807 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubSchemaGroup.md +++ b/src/EventHub/EventHub/help/New-AzEventHubSchemaGroup.md @@ -205,7 +205,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ISchemaGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ISchemaGroup ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubThrottlingPolicyConfig.md b/src/EventHub/EventHub/help/New-AzEventHubThrottlingPolicyConfig.md index c41ac1ddd735..a859d71edf3f 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubThrottlingPolicyConfig.md +++ b/src/EventHub/EventHub/help/New-AzEventHubThrottlingPolicyConfig.md @@ -89,7 +89,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IThrottlingPolicy +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IThrottlingPolicy ## NOTES diff --git a/src/EventHub/EventHub/help/New-AzEventHubVirtualNetworkRuleConfig.md b/src/EventHub/EventHub/help/New-AzEventHubVirtualNetworkRuleConfig.md index 3725df897236..87b44accb867 100644 --- a/src/EventHub/EventHub/help/New-AzEventHubVirtualNetworkRuleConfig.md +++ b/src/EventHub/EventHub/help/New-AzEventHubVirtualNetworkRuleConfig.md @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules ## NOTES diff --git a/src/EventHub/EventHub/help/Remove-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub/help/Remove-AzEventHubAuthorizationRule.md index 9e90d23df01e..ac5a64014c73 100644 --- a/src/EventHub/EventHub/help/Remove-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub/help/Remove-AzEventHubAuthorizationRule.md @@ -230,7 +230,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHub.md b/src/EventHub/EventHub/help/Set-AzEventHub.md index 76b63933f480..f159bf05cd72 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHub.md +++ b/src/EventHub/EventHub/help/Set-AzEventHub.md @@ -18,6 +18,7 @@ Set-AzEventHub -Name -NamespaceName -ResourceGroupName ] [-IntervalInSeconds ] [-SizeLimitInBytes ] [-SkipEmptyArchive] [-RetentionTimeInHour ] [-TombstoneRetentionTimeInHour ] [-Status ] [-DestinationName ] + [-IdentityType ] [-UserAssignedIdentityId ] [-StorageAccountResourceId ] [-ArchiveNameFormat ] [-BlobContainer ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -27,6 +28,7 @@ Set-AzEventHub -Name -NamespaceName -ResourceGroupName [-CaptureEnabled] [-Encoding ] [-IntervalInSeconds ] [-SizeLimitInBytes ] [-SkipEmptyArchive] [-RetentionTimeInHour ] [-TombstoneRetentionTimeInHour ] [-Status ] [-DestinationName ] + [-IdentityType ] [-UserAssignedIdentityId ] [-StorageAccountResourceId ] [-ArchiveNameFormat ] [-BlobContainer ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -233,6 +235,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IdentityType +Type of managed service identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Support.ManagedServiceIdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Identity parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table. @@ -434,6 +451,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UserAssignedIdentityId +Properties for User Assigned Identities + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -474,7 +506,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEventhub +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEventhub ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubApplicationGroup.md b/src/EventHub/EventHub/help/Set-AzEventHubApplicationGroup.md index a74e62d85776..65c05281d9f3 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubApplicationGroup.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubApplicationGroup.md @@ -234,7 +234,7 @@ The policies can support resource governance scenarios such as limiting ingress To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] Parameter Sets: (All) Aliases: @@ -312,7 +312,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroupPolicy[] +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroupPolicy[] ### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventHubIdentity @@ -322,7 +322,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IApplicationGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IApplicationGroup ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubAuthorizationRule.md b/src/EventHub/EventHub/help/Set-AzEventHubAuthorizationRule.md index 64891b8aa7de..79774359a12a 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubAuthorizationRule.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubAuthorizationRule.md @@ -261,7 +261,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IAuthorizationRule +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubCluster.md b/src/EventHub/EventHub/help/Set-AzEventHubCluster.md index c5ffca8d5e68..3e5922fd8812 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubCluster.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubCluster.md @@ -253,7 +253,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICluster ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubConsumerGroup.md b/src/EventHub/EventHub/help/Set-AzEventHubConsumerGroup.md index 8ea4d7315a29..e5166a5d399b 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubConsumerGroup.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubConsumerGroup.md @@ -263,7 +263,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IConsumerGroup +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IConsumerGroup ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md b/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md index 71ecae5a77ba..bca7f978879a 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubNamespace.md @@ -485,7 +485,7 @@ Properties to configure Encryption To construct, see NOTES section for KEYVAULTPROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IKeyVaultProperties[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IKeyVaultProperties[] Parameter Sets: (All) Aliases: @@ -691,7 +691,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.IEhNamespace +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IEhNamespace ## NOTES diff --git a/src/EventHub/EventHub/help/Set-AzEventHubNetworkRuleSet.md b/src/EventHub/EventHub/help/Set-AzEventHubNetworkRuleSet.md index 69e55ac16c7b..e639eda0d4a0 100644 --- a/src/EventHub/EventHub/help/Set-AzEventHubNetworkRuleSet.md +++ b/src/EventHub/EventHub/help/Set-AzEventHubNetworkRuleSet.md @@ -188,7 +188,7 @@ List of IpRules To construct, see NOTES section for IPRULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetIPRules[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetIPRules[] Parameter Sets: (All) Aliases: @@ -297,7 +297,7 @@ List of VirtualNetwork Rules To construct, see NOTES section for VIRTUALNETWORKRULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INwRuleSetVirtualNetworkRules[] +Type: Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INwRuleSetVirtualNetworkRules[] Parameter Sets: (All) Aliases: @@ -348,7 +348,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.INetworkRuleSet +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INetworkRuleSet ## NOTES diff --git a/src/EventHub/EventHub/help/Test-AzEventHubName.md b/src/EventHub/EventHub/help/Test-AzEventHubName.md index 15c461ed4476..6ffd6ba58011 100644 --- a/src/EventHub/EventHub/help/Test-AzEventHubName.md +++ b/src/EventHub/EventHub/help/Test-AzEventHubName.md @@ -169,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api20221001Preview.ICheckNameAvailabilityResult +### Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.ICheckNameAvailabilityResult ## NOTES From 99003658228f201dd3e1a592fe2bb51f13699c06 Mon Sep 17 00:00:00 2001 From: YanaXu Date: Mon, 21 Aug 2023 15:42:36 +0800 Subject: [PATCH 2/2] update ChangeLog --- src/EventHub/EventHub/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EventHub/EventHub/ChangeLog.md b/src/EventHub/EventHub/ChangeLog.md index 2438221ff6ac..ee630402bc1d 100644 --- a/src/EventHub/EventHub/ChangeLog.md +++ b/src/EventHub/EventHub/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Supported EventHub MSI capture feature in cmdlets `New-AzEventHub` and `Set-AzEventHub` ## Version 4.0.0 * Aliased `New-AzEventHubNamespace`, `Remove-AzEventHubNamespace`, `Set-AzEventHubNamespace`, `Get-AzEventHubNamespace` with `New-AzEventHubNamespaceV2`, `Remove-AzEventHubNamespaceV2`, `Set-AzEventHubNamespaceV2`, `Get-AzEventHubNamespaceV2` respectively