diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.csproj b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.csproj
new file mode 100644
index 000000000000..f9578bcde83e
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.csproj
@@ -0,0 +1,10 @@
+
+
+ IoTOperationsService
+ IoTOperationsService
+ IoTOperationsService.Autorest
+
+
+
+
+
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.format.ps1xml b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.format.ps1xml
new file mode 100644
index 000000000000..8140a0299461
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.format.ps1xml
@@ -0,0 +1,3303 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.AdvancedSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.AdvancedSettings#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ EncryptInternalTraffic
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.AuthorizationConfig
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.AuthorizationConfig#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Cache
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BackendChain
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BackendChain#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Partition
+
+
+ RedundancyFactor
+
+
+ Worker
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BatchingConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BatchingConfiguration#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LatencySecond
+
+
+ MaxMessage
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticationResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodCustom
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodCustom#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CaCertConfigMap
+
+
+ Endpoint
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodCustomHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodCustomHeaders#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethods
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethods#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ TrustedClientCaCert
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509Attributes
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509Attributes#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509Attributes1
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthenticatorMethodX509Attributes1#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Subject
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerAuthorizationResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+ ServiceName
+
+
+ ServiceType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerListenerResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MemoryProfile
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResourceRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.BrokerResourceRule#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertificateSpec
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertificateSpec#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duration
+
+
+ RenewBefore
+
+
+ SecretName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertOptions
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerCertOptions#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duration
+
+
+ RenewBefore
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerIssuerRef
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerIssuerRef#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Group
+
+
+ Kind
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerPrivateKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.CertManagerPrivateKey#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Algorithm
+
+
+ RotationPolicy
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ClientConfig
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ClientConfig#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MaxKeepAliveSecond
+
+
+ MaxMessageExpirySecond
+
+
+ MaxPacketSizeByte
+
+
+ MaxReceiveMaximum
+
+
+ MaxSessionExpirySecond
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationDataset
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationDataset#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Expression
+
+
+ Key
+
+
+ SchemaRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationFilter
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationFilter#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Expression
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationMap
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationMap#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Expression
+
+
+ Output
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowBuiltInTransformationSettings#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SchemaRef
+
+
+ SerializationFormat
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowDestinationOperationSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowDestinationOperationSettings#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DataDestination
+
+
+ EndpointRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationAccessToken
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationAccessToken#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ SecretRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationSasl
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationSasl#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SaslType
+
+
+ SecretRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationServiceAccountToken
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationServiceAccountToken#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Audience
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationSystemAssignedManagedIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationSystemAssignedManagedIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Audience
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationUserAssignedManagedIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationUserAssignedManagedIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientId
+
+
+ Scope
+
+
+ TenantId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationX509
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointAuthenticationX509#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ SecretRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorer
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorer#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Database
+
+
+ Host
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorerAuthentication
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataExplorerAuthentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorage
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorage#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Host
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorageAuthentication
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointDataLakeStorageAuthentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLake
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLake#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Host
+
+
+ OneLakePathType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLakeAuthentication
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLakeAuthentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLakeNames
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointFabricOneLakeNames#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LakehouseName
+
+
+ WorkspaceName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafka
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafka#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CloudEventAttribute
+
+
+ Compression
+
+
+ ConsumerGroupId
+
+
+ CopyMqttProperty
+
+
+ Host
+
+
+ KafkaAck
+
+
+ PartitionStrategy
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaAuthentication
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaAuthentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaBatching
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointKafkaBatching#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LatencyMS
+
+
+ MaxByte
+
+
+ MaxMessage
+
+
+ Mode
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointLocalStorage
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointLocalStorage#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ PersistentVolumeClaimRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointMqtt
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointMqtt#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientIdPrefix
+
+
+ CloudEventAttribute
+
+
+ Host
+
+
+ KeepAliveSecond
+
+
+ MaxInflightMessage
+
+
+ Protocol
+
+
+ Qo
+
+
+ Retain
+
+
+ SessionExpirySecond
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointMqttAuthentication
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointMqttAuthentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndpointType
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowEndpointResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowOperation
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowOperation#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ OperationType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ InstanceCount
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProfileResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mode
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowSourceOperationSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DataflowSourceOperationSettings#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AssetRef
+
+
+ EndpointRef
+
+
+ SchemaRef
+
+
+ SerializationFormat
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DiagnosticsLogs
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DiagnosticsLogs#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Level
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DiskBackedMessageBuffer
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.DiskBackedMessageBuffer#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ MaxSize
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ErrorDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ErrorDetail#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ExtendedLocation#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Frontend
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Frontend#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Replica
+
+
+ Worker
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.GenerateResourceLimits
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.GenerateResourceLimits#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Cpu
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstancePatchModelTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstancePatchModelTags#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ ProvisioningState
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResourceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.InstanceResourceListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IoTOperationsServiceIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IoTOperationsServiceIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthenticationName
+
+
+ AuthorizationName
+
+
+ BrokerName
+
+
+ DataflowEndpointName
+
+
+ DataflowName
+
+
+ DataflowProfileName
+
+
+ InstanceName
+
+
+ ListenerName
+
+
+ ResourceGroupName
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.KubernetesReference
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.KubernetesReference#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ApiGroup
+
+
+ Kind
+
+
+ Name
+
+
+ Namespace
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ListenerPort
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ListenerPort#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthenticationRef
+
+
+ AuthorizationRef
+
+
+ NodePort
+
+
+ Port
+
+
+ Protocol
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.LocalKubernetesReference
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.LocalKubernetesReference#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ApiGroup
+
+
+ Kind
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ManagedServiceIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ManagedServiceIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Metrics
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Metrics#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ PrometheusPort
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Operation
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Operation#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActionType
+
+
+ IsDataAction
+
+
+ Name
+
+
+ Origin
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.OperationDisplay
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.OperationDisplay#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Operation
+
+
+ Provider
+
+
+ Resource
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.OperationListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.OperationListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.PrincipalDefinitionAttributesItem
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.PrincipalDefinitionAttributesItem#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.ProxyResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Resource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Resource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SchemaRegistryRef
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SchemaRegistryRef#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ ResourceId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SelfCheck
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SelfCheck#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IntervalSecond
+
+
+ Mode
+
+
+ TimeoutSecond
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SelfTracing
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SelfTracing#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IntervalSecond
+
+
+ Mode
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.StateStoreResourceRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.StateStoreResourceRule#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeyType
+
+
+ Method
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SubscriberQueueLimit
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SubscriberQueueLimit#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Length
+
+
+ Strategy
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SystemData
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.SystemData#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ CreatedBy
+
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsCertMethod
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsCertMethod#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Mode
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TlsProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mode
+
+
+ TrustedCaCertificateConfigMapRef
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Traces
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.Traces#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CacheSizeMegabyte
+
+
+ Mode
+
+
+ SpanChannelCapacity
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TrackedResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TrackedResource#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ Location
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TrackedResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.TrackedResourceTags#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.UserAssignedIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.UserAssignedIdentity#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientId
+
+
+ PrincipalId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimResourceRequirementsLimits
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimResourceRequirementsLimits#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimResourceRequirementsRequests
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimResourceRequirementsRequests#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpec
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpec#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StorageClassName
+
+
+ VolumeMode
+
+
+ VolumeName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpecSelectorMatchExpressions
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpecSelectorMatchExpressions#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Key
+
+
+ Operator
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpecSelectorMatchLabels
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.VolumeClaimSpecSelectorMatchLabels#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.X509ManualCertificate
+
+ Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.X509ManualCertificate#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ SecretRef
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psd1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psd1
new file mode 100644
index 000000000000..52767624f4ad
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psd1
@@ -0,0 +1,23 @@
+@{
+ GUID = '6096c881-a244-4aac-ac2d-4173e458545b'
+ RootModule = './Az.IoTOperationsService.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: IoTOperationsService cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.IoTOperationsService.private.dll'
+ FormatsToProcess = './Az.IoTOperationsService.format.ps1xml'
+ FunctionsToExport = 'Get-AzIoTOperationsServiceBroker', 'Get-AzIoTOperationsServiceBrokerAuthentication', 'Get-AzIoTOperationsServiceBrokerAuthorization', 'Get-AzIoTOperationsServiceBrokerListener', 'Get-AzIoTOperationsServiceDataflow', 'Get-AzIoTOperationsServiceDataflowEndpoint', 'Get-AzIoTOperationsServiceDataflowProfile', 'Get-AzIoTOperationsServiceInstance', 'New-AzIoTOperationsServiceBroker', 'New-AzIoTOperationsServiceBrokerAuthentication', 'New-AzIoTOperationsServiceBrokerAuthorization', 'New-AzIoTOperationsServiceBrokerListener', 'New-AzIoTOperationsServiceDataflow', 'New-AzIoTOperationsServiceDataflowEndpoint', 'New-AzIoTOperationsServiceDataflowProfile', 'New-AzIoTOperationsServiceInstance', 'Remove-AzIoTOperationsServiceBroker', 'Remove-AzIoTOperationsServiceBrokerAuthentication', 'Remove-AzIoTOperationsServiceBrokerAuthorization', 'Remove-AzIoTOperationsServiceBrokerListener', 'Remove-AzIoTOperationsServiceDataflow', 'Remove-AzIoTOperationsServiceDataflowEndpoint', 'Remove-AzIoTOperationsServiceDataflowProfile', 'Remove-AzIoTOperationsServiceInstance', 'Set-AzIoTOperationsServiceBroker', 'Set-AzIoTOperationsServiceBrokerAuthentication', 'Set-AzIoTOperationsServiceBrokerAuthorization', 'Set-AzIoTOperationsServiceBrokerListener', 'Set-AzIoTOperationsServiceDataflow', 'Set-AzIoTOperationsServiceDataflowEndpoint', 'Set-AzIoTOperationsServiceDataflowProfile', 'Set-AzIoTOperationsServiceInstance', 'Update-AzIoTOperationsServiceBroker', 'Update-AzIoTOperationsServiceBrokerAuthentication', 'Update-AzIoTOperationsServiceBrokerAuthorization', 'Update-AzIoTOperationsServiceBrokerListener', 'Update-AzIoTOperationsServiceDataflow', 'Update-AzIoTOperationsServiceDataflowEndpoint', 'Update-AzIoTOperationsServiceDataflowProfile', 'Update-AzIoTOperationsServiceInstance'
+ PrivateData = @{
+ PSData = @{
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'IoTOperationsService'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psm1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psm1
new file mode 100644
index 000000000000..6bba5f7f28e4
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/Az.IoTOperationsService.psm1
@@ -0,0 +1,119 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ # Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+ # ----------------------------------------------------------------------------------
+ # Load required Az.Accounts module
+ $accountsName = 'Az.Accounts'
+ $accountsModule = Get-Module -Name $accountsName
+ if(-not $accountsModule) {
+ $localAccountsPath = Join-Path $PSScriptRoot 'generated\modules'
+ if(Test-Path -Path $localAccountsPath) {
+ $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
+ if($localAccounts) {
+ $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
+ }
+ }
+ if(-not $accountsModule) {
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
+ if($hasAdequateVersion) {
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
+ }
+ }
+ }
+
+ if(-not $accountsModule) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ }
+ Write-Information "Loaded Module '$($accountsModule.Name)'"
+
+ # Load the private module dll
+ $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.IoTOperationsService.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Module]::Instance
+
+ # Ask for the shared functionality table
+ $VTable = Register-AzModule
+
+ # Tweaks the pipeline on module load
+ $instance.OnModuleLoad = $VTable.OnModuleLoad
+
+ # Following two delegates are added for telemetry
+ $instance.GetTelemetryId = $VTable.GetTelemetryId
+ $instance.Telemetry = $VTable.Telemetry
+
+ # Delegate to sanitize the output object
+ $instance.SanitizeOutput = $VTable.SanitizerHandler
+
+ # Delegate to get the telemetry info
+ $instance.GetTelemetryInfo = $VTable.GetTelemetryInfo
+
+ # Tweaks the pipeline per call
+ $instance.OnNewRequest = $VTable.OnNewRequest
+
+ # Gets shared parameter values
+ $instance.GetParameterValue = $VTable.GetParameterValue
+
+ # Allows shared module to listen to events from this module
+ $instance.EventListener = $VTable.EventListener
+
+ # Gets shared argument completers
+ $instance.ArgumentCompleter = $VTable.ArgumentCompleter
+
+ # The name of the currently selected Azure profile
+ $instance.ProfileName = $VTable.ProfileName
+
+ # Load the custom module
+ $customModulePath = Join-Path $PSScriptRoot './custom/Az.IoTOperationsService.custom.psm1'
+ if(Test-Path $customModulePath) {
+ $null = Import-Module -Name $customModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export proxy cmdlet scripts
+ $exportsPath = Join-Path $PSScriptRoot './exports'
+ $directories = Get-ChildItem -Directory -Path $exportsPath
+ $profileDirectory = $null
+ if($instance.ProfileName) {
+ if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
+ $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
+ } else {
+ # Don't export anything if the profile doesn't exist for the module
+ $exportsPath = $null
+ Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
+ }
+ } elseif(($directories | Measure-Object).Count -gt 0) {
+ # Load the last folder if no profile is selected
+ $profileDirectory = $directories | Select-Object -Last 1
+ }
+
+ if($profileDirectory) {
+ Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
+ $exportsPath = $profileDirectory.FullName
+ }
+
+ if($exportsPath) {
+ Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
+ Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
+ }
+
+ # Finalize initialization of this module
+ $instance.Init();
+ Write-Information "Loaded Module '$($instance.Name)'"
+# endregion
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/Properties/AssemblyInfo.cs b/generated/IoTOperationsService/IoTOperationsService.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..8f567522ab38
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,37 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the Apache License, Version 2.0 (the ""License"");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an ""AS IS"" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+// is regenerated.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
+[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
+[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
+[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - MicrosoftIoTOperationsManagementService")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
+
+
+
+
+
+
+
+
+
+
+
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/check-dependencies.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/check-dependencies.ps1
new file mode 100644
index 000000000000..90ca9867ae40
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/check-dependencies.ps1
@@ -0,0 +1,65 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$NotIsolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+$ErrorActionPreference = 'Stop'
+
+if(-not $NotIsolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
+ return
+}
+
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
+ if($predicate) {
+ $module = Get-Module -ListAvailable -Name $moduleName
+ if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) {
+ $null = New-Item -ItemType Directory -Force -Path $path
+ Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
+ Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
+ } else {
+ Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
+ }
+ }
+ }
+}
+
+$ProgressPreference = 'SilentlyContinue'
+$all = (@($Accounts.IsPresent, $Pester.IsPresent) | Select-Object -Unique | Measure-Object).Count -eq 1
+
+$localModulesPath = Join-Path $PSScriptRoot 'generated\modules'
+if(Test-Path -Path $localModulesPath) {
+ $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
+}
+
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.7.5'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
+
+$tools = Join-Path $PSScriptRoot 'tools'
+$resourceDir = Join-Path $tools 'Resources'
+$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
+
+if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
+ Write-Host -ForegroundColor Green "Building local Resource module used for test..."
+ Set-Location $resourceDir
+ $null = autorest .\README.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
+ $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
+ Set-Location $HOME/.PSSharedModules/Resources
+ $null = .\build-module.ps1
+ Set-Location $PSScriptRoot
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1
new file mode 100644
index 000000000000..626613bf8e39
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBroker.ps1
@@ -0,0 +1,257 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a BrokerResource
+.Description
+Get a BrokerResource
+.Example
+Get-AzIoTOperationsServiceBroker -InstanceName "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
+.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.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicebroker
+#>
+function Get-AzIoTOperationsServiceBroker {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Alias('BrokerName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of broker.
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBroker_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBroker_GetViaIdentity';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBroker_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBroker_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1
new file mode 100644
index 000000000000..7f4185917659
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthentication.ps1
@@ -0,0 +1,285 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a BrokerAuthenticationResource
+.Description
+Get a BrokerAuthenticationResource
+.Example
+Get-AzIoTOperationsServiceBrokerAuthentication -BrokerName "default" -InstanceName "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource
+.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.
+
+BROKERINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicebrokerauthentication
+#>
+function Get-AzIoTOperationsServiceBrokerAuthentication {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthenticationResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance broker authentication resource
+ ${AuthenticationName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of broker.
+ ${BrokerName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${BrokerInputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthentication_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthentication_GetViaIdentity';
+ GetViaIdentityBroker = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthentication_GetViaIdentityBroker';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthentication_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthentication_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1
new file mode 100644
index 000000000000..2f20d49acfae
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerAuthorization.ps1
@@ -0,0 +1,285 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a BrokerAuthorizationResource
+.Description
+Get a BrokerAuthorizationResource
+.Example
+Get-AzIoTOperationsServiceBrokerAuthorization -BrokerName "default" -InstanceName "aio-117832708" -ResourceGroupName "aio-validation-117832708"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource
+.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.
+
+BROKERINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicebrokerauthorization
+#>
+function Get-AzIoTOperationsServiceBrokerAuthorization {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerAuthorizationResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance broker authorization resource
+ ${AuthorizationName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of broker.
+ ${BrokerName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${BrokerInputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthorization_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthorization_GetViaIdentity';
+ GetViaIdentityBroker = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthorization_GetViaIdentityBroker';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthorization_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerAuthorization_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1
new file mode 100644
index 000000000000..3b5dd378918c
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceBrokerListener.ps1
@@ -0,0 +1,285 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a BrokerListenerResource
+.Description
+Get a BrokerListenerResource
+.Example
+Get-AzIoTOperationsServiceBrokerListener -BrokerName "default" -InstanceName "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource
+.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.
+
+BROKERINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicebrokerlistener
+#>
+function Get-AzIoTOperationsServiceBrokerListener {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerListenerResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of broker.
+ ${BrokerName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance broker listener resource
+ ${ListenerName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityBroker', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${BrokerInputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerListener_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerListener_GetViaIdentity';
+ GetViaIdentityBroker = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerListener_GetViaIdentityBroker';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerListener_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceBrokerListener_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1
new file mode 100644
index 000000000000..75f52c021f77
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflow.ps1
@@ -0,0 +1,288 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a DataflowResource
+.Description
+Get a DataflowResource
+.Example
+Get-AzIoTOperationsServiceDataflow -InstanceName "aio-117832708" -ProfileName "dataflowprofile-name" -ResourceGroupName "aio-validation-117832708" -name "mydataflow"
+
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource
+.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.
+
+DATAFLOWPROFILEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicedataflow
+#>
+function Get-AzIoTOperationsServiceDataflow {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityDataflowProfile', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Alias('DataflowName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance dataflowProfile dataflow resource
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Alias('DataflowProfileName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance dataflowProfile resource
+ ${ProfileName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityDataflowProfile', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${DataflowProfileInputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflow_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflow_GetViaIdentity';
+ GetViaIdentityDataflowProfile = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflow_GetViaIdentityDataflowProfile';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflow_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflow_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1
new file mode 100644
index 000000000000..c4618dc0f506
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowEndpoint.ps1
@@ -0,0 +1,257 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a DataflowEndpointResource
+.Description
+Get a DataflowEndpointResource
+.Example
+Get-AzIoTOperationsServiceDataflowEndpoint -InstanceName "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource
+.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.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicedataflowendpoint
+#>
+function Get-AzIoTOperationsServiceDataflowEndpoint {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowEndpointResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Alias('DataflowEndpointName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance dataflowEndpoint resource
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowEndpoint_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowEndpoint_GetViaIdentity';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowEndpoint_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowEndpoint_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1
new file mode 100644
index 000000000000..3db548309a31
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceDataflowProfile.ps1
@@ -0,0 +1,257 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a DataflowProfileResource
+.Description
+Get a DataflowProfileResource
+.Example
+Get-AzIoTOperationsServiceDataflowProfile -InstanceName "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource
+.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.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+INSTANCEINPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsservicedataflowprofile
+#>
+function Get-AzIoTOperationsServiceDataflowProfile {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IDataflowProfileResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${InstanceName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory)]
+ [Alias('DataflowProfileName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of Instance dataflowProfile resource
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityInstance', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InstanceInputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowProfile_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowProfile_GetViaIdentity';
+ GetViaIdentityInstance = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowProfile_GetViaIdentityInstance';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceDataflowProfile_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1
new file mode 100644
index 000000000000..ac5430d668ea
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/Get-AzIoTOperationsServiceInstance.ps1
@@ -0,0 +1,231 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a InstanceResource
+.Description
+Get a InstanceResource
+.Example
+Get-AzIoTOperationsServiceInstance -Name "aio-3lrx4" -ResourceGroupName "aio-validation-117026523"
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource
+.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.
+
+INPUTOBJECT : Identity Parameter
+ [AuthenticationName ]: Name of Instance broker authentication resource
+ [AuthorizationName ]: Name of Instance broker authorization resource
+ [BrokerName ]: Name of broker.
+ [DataflowEndpointName ]: Name of Instance dataflowEndpoint resource
+ [DataflowName ]: Name of Instance dataflowProfile dataflow resource
+ [DataflowProfileName ]: Name of Instance dataflowProfile resource
+ [Id ]: Resource identity path
+ [InstanceName ]: Name of instance.
+ [ListenerName ]: Name of Instance broker listener resource
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.iotoperationsservice/get-aziotoperationsserviceinstance
+#>
+function Get-AzIoTOperationsServiceInstance {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IInstanceResource])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Alias('InstanceName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # Name of instance.
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List1', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Parameter(ParameterSetName='List1')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IIoTOperationsServiceIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceInstance_Get';
+ GetViaIdentity = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceInstance_GetViaIdentity';
+ List = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceInstance_List';
+ List1 = 'Az.IoTOperationsService.private\Get-AzIoTOperationsServiceInstance_List1';
+ }
+ if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1 b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1
new file mode 100644
index 000000000000..72d3cb33b02e
--- /dev/null
+++ b/generated/IoTOperationsService/IoTOperationsService.Autorest/exports/New-AzIoTOperationsServiceBroker.ps1
@@ -0,0 +1,477 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+create a BrokerResource
+.Description
+create a BrokerResource
+.Example
+New-AzIoTOperationsServiceBroker -InstanceName "aio-instance-name" -Name "my-broker" -ResourceGroupName "aio-validation-116116143" -ExtendedLocationName "/subscriptions/d4ccd08b-0809-446d-a8b7-7af8a90109cd/resourceGroups/aio-validation-116116143/providers/Microsoft.ExtendedLocation/customLocations/location-116116143"
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.IoTOperationsService.Models.IBrokerResource
+.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.
+
+DISKBACKEDMESSAGEBUFFER : Settings of Disk Backed Message Buffer.
+ MaxSize : The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See for details.
+ [EphemeralVolumeClaimSpecAccessMode >]: AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
+ [EphemeralVolumeClaimSpecDataSourceApiGroup ]: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
+ [EphemeralVolumeClaimSpecDataSourceKind ]: Kind is the type of resource being referenced
+ [EphemeralVolumeClaimSpecDataSourceName ]: Name is the name of resource being referenced
+ [EphemeralVolumeClaimSpecDataSourceRefApiGroup ]: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
+ [EphemeralVolumeClaimSpecDataSourceRefKind ]: Kind is the type of resource being referenced
+ [EphemeralVolumeClaimSpecDataSourceRefName ]: Name is the name of resource being referenced
+ [EphemeralVolumeClaimSpecDataSourceRefNamespace ]: Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace.
+ [EphemeralVolumeClaimSpecResourcesLimit ]: Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
+ [(Any) ]: This indicates any property can be added to this object.
+ [EphemeralVolumeClaimSpecResourcesRequest ]: Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
+ [(Any) ]: This indicates any property can be added to this object.
+ [EphemeralVolumeClaimSpecSelectorMatchExpression >]: MatchExpressions is a list of label selector requirements. The requirements are ANDed.
+ Key : key is the label key that the selector applies to.
+ Operator : operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
+ [Value >]: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
+ [EphemeralVolumeClaimSpecSelectorMatchLabel ]: MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
+ [(Any) ]: This indicates any property can be added to this object.
+ [EphemeralVolumeClaimSpecStorageClassName ]: Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
+ [EphemeralVolumeClaimSpecVolumeMode ]: volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.
+ [EphemeralVolumeClaimSpecVolumeName ]: VolumeName is the binding reference to the PersistentVolume backing this claim.
+ [PersistentVolumeClaimSpecAccessMode >]: AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
+ [PersistentVolumeClaimSpecDataSourceApiGroup ]: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
+ [PersistentVolumeClaimSpecDataSourceKind