diff --git a/swaggerci/mediaservices/.gitattributes b/swaggerci/mediaservices/.gitattributes
new file mode 100644
index 000000000000..2125666142eb
--- /dev/null
+++ b/swaggerci/mediaservices/.gitattributes
@@ -0,0 +1 @@
+* text=auto
\ No newline at end of file
diff --git a/swaggerci/mediaservices/.gitignore b/swaggerci/mediaservices/.gitignore
new file mode 100644
index 000000000000..7998f37e1e47
--- /dev/null
+++ b/swaggerci/mediaservices/.gitignore
@@ -0,0 +1,5 @@
+bin
+obj
+.vs
+tools
+test/*-TestResults.xml
\ No newline at end of file
diff --git a/swaggerci/mediaservices/Az.MediaServices.csproj b/swaggerci/mediaservices/Az.MediaServices.csproj
new file mode 100644
index 000000000000..9a30f5c66018
--- /dev/null
+++ b/swaggerci/mediaservices/Az.MediaServices.csproj
@@ -0,0 +1,44 @@
+
+
+
+ 0.1.0
+ 7.1
+ netstandard2.0
+ Library
+ Az.MediaServices.private
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices
+ true
+ false
+ ./bin
+ $(OutputPath)
+ Az.MediaServices.nuspec
+ true
+
+
+ 1998, 1591
+ true
+
+
+
+
+ false
+ TRACE;DEBUG;NETSTANDARD
+
+
+
+ true
+ true
+ MSSharedLibKey.snk
+ TRACE;RELEASE;NETSTANDARD;SIGN
+
+
+
+
+
+
+
+
+ $(DefaultItemExcludes);resources/**
+
+
+
\ No newline at end of file
diff --git a/swaggerci/mediaservices/Az.MediaServices.format.ps1xml b/swaggerci/mediaservices/Az.MediaServices.format.ps1xml
new file mode 100644
index 000000000000..759c2b8203a9
--- /dev/null
+++ b/swaggerci/mediaservices/Az.MediaServices.format.ps1xml
@@ -0,0 +1,2575 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.MediaServicesIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.MediaServicesIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountName
+
+
+ AssetName
+
+
+ ContentKeyPolicyName
+
+
+ FilterName
+
+
+ Id
+
+
+ OperationId
+
+
+ ResourceGroupName
+
+
+ StreamingLocatorName
+
+
+ StreamingPolicyName
+
+
+ SubscriptionId
+
+
+ TrackName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.OperationResultsGetAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.OperationResultsGetAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.TracksDeleteAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.TracksDeleteAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.TracksUpdateTrackDataAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.TracksUpdateTrackDataAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AccountFilter
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AccountFilter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AccountFilterCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AccountFilterCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.Asset
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.Asset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetContainerSas
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetContainerSas
+
+
+
+
+
+
+
+
+
+
+
+ Url
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFileEncryptionMetadata
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFileEncryptionMetadata
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AssetFileId
+
+
+ AssetFileName
+
+
+ InitializationVector
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFilter
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFilter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFilterCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetFilterCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AlternateId
+
+
+ AssetId
+
+
+ Container
+
+
+ Created
+
+
+ Description
+
+
+ EncryptionScope
+
+
+ LastModified
+
+
+ StorageAccountName
+
+
+ StorageEncryptionFormat
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetStreamingLocator
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetStreamingLocator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AssetName
+
+
+ Created
+
+
+ DefaultContentKeyPolicyName
+
+
+ EndTime
+
+
+ Name
+
+
+ StartTime
+
+
+ StreamingLocatorId
+
+
+ StreamingPolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrack
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrackOperationStatus
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrackOperationStatus
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndTime
+
+
+ Id
+
+
+ Name
+
+
+ StartTime
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrackProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AssetTrackProperties
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AudioTrack
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.AudioTrack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ BitRate
+
+
+ DisplayName
+
+
+ FileName
+
+
+ LanguageCode
+
+
+ Mpeg4TrackId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ClearKeyEncryptionConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ClearKeyEncryptionConfiguration
+
+
+
+
+
+
+
+
+
+
+
+ CustomKeysAcquisitionUrlTemplate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicy
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyClearKeyConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyClearKeyConfiguration
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyConfiguration
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyFairPlayConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyFairPlayConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ Ask
+
+
+ FairPlayPfx
+
+
+ FairPlayPfxPassword
+
+
+ RentalAndLeaseKeyType
+
+
+ RentalDuration
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyFairPlayOfflineRentalConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyFairPlayOfflineRentalConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PlaybackDurationSecond
+
+
+ StorageDurationSecond
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyOpenRestriction
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyOpenRestriction
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyOption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ PolicyOptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ ResponseCustomData
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ KeyId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentKeyLocation
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyContentKeyLocation
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BestEffort
+
+
+ ConfigurationData
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyLicense
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyLicense
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AllowTestDevice
+
+
+ BeginDate
+
+
+ ContentType
+
+
+ ExpirationDate
+
+
+ LicenseType
+
+
+ SecurityLevel
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyPlayRight
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyPlayReadyPlayRight
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AgcAndColorStripeRestriction
+
+
+ AllowPassingVideoContentToUnknownOutput
+
+
+ AnalogVideoOpl
+
+
+ CompressedDigitalAudioOpl
+
+
+ CompressedDigitalVideoOpl
+
+
+ DigitalVideoOnlyContentRestriction
+
+
+ ImageConstraintForAnalogComponentVideoRestriction
+
+
+ ImageConstraintForAnalogComputerMonitorRestriction
+
+
+ ScmsRestriction
+
+
+ UncompressedDigitalAudioOpl
+
+
+ UncompressedDigitalVideoOpl
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created
+
+
+ Description
+
+
+ LastModified
+
+
+ PolicyId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRestriction
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRestriction
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRestrictionTokenKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRestrictionTokenKey
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRsaTokenKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyRsaTokenKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ Exponent
+
+
+ Modulu
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicySymmetricTokenKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicySymmetricTokenKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ KeyValue
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyTokenClaim
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyTokenClaim
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClaimType
+
+
+ ClaimValue
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyTokenRestriction
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyTokenRestriction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ Audience
+
+
+ Issuer
+
+
+ OpenIdConnectDiscoveryDocument
+
+
+ RestrictionTokenType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyUnknownConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyUnknownConfiguration
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyUnknownRestriction
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyUnknownRestriction
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyWidevineConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyWidevineConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ WidevineTemplate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyX509CertificateTokenKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ContentKeyPolicyX509CertificateTokenKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ RawBody
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.DashSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.DashSettings
+
+
+
+
+
+
+
+
+
+
+
+ Role
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.DefaultKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.DefaultKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Label
+
+
+ PolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.EnabledProtocols
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.EnabledProtocols
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Dash
+
+
+ Download
+
+
+ Hl
+
+
+ SmoothStreaming
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.EnvelopeEncryption
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.EnvelopeEncryption
+
+
+
+
+
+
+
+
+
+
+
+ CustomKeyAcquisitionUrlTemplate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.FilterTrackPropertyCondition
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.FilterTrackPropertyCondition
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Operation
+
+
+ Property
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.FirstQuality
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.FirstQuality
+
+
+
+
+
+
+
+
+
+
+
+ Bitrate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.HlsSettings
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.HlsSettings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Characteristic
+
+
+ Default
+
+
+ Forced
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ListContainerSasInput
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ListContainerSasInput
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ExpiryTime
+
+
+ Permission
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ListPathsResponse
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.ListPathsResponse
+
+
+
+
+
+
+
+
+
+
+
+ DownloadPath
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.PresentationTimeRange
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.PresentationTimeRange
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndTimestamp
+
+
+ ForceEndTimestamp
+
+
+ LiveBackoffDuration
+
+
+ PresentationWindowDuration
+
+
+ StartTimestamp
+
+
+ Timescale
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StorageEncryptedAssetDecryptionData
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StorageEncryptedAssetDecryptionData
+
+
+
+
+
+
+
+
+
+
+
+ Key
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocator
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorContentKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorContentKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ LabelReferenceInStreamingPolicy
+
+
+ PolicyName
+
+
+ Type
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingLocatorProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AlternativeMediaId
+
+
+ AssetName
+
+
+ Created
+
+
+ DefaultContentKeyPolicyName
+
+
+ EndTime
+
+
+ Filter
+
+
+ StartTime
+
+
+ StreamingLocatorId
+
+
+ StreamingPolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPath
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPath
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EncryptionScheme
+
+
+ Path
+
+
+ StreamingProtocol
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicy
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyCollection
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyCollection
+
+
+
+
+
+
+
+
+
+
+
+ OdataNextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyContentKey
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyContentKey
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Label
+
+
+ PolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyFairPlayConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyFairPlayConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AllowPersistentLicense
+
+
+ CustomLicenseAcquisitionUrlTemplate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyPlayReadyConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyPlayReadyConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CustomLicenseAcquisitionUrlTemplate
+
+
+ PlayReadyCustomAttribute
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created
+
+
+ DefaultContentKeyPolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyWidevineConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.StreamingPolicyWidevineConfiguration
+
+
+
+
+
+
+
+
+
+
+
+ CustomLicenseAcquisitionUrlTemplate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TextTrack
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TextTrack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+ DisplayName
+
+
+ FileName
+
+
+ LanguageCode
+
+
+ PlayerVisibility
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TrackBase
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TrackBase
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TrackPropertyCondition
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.TrackPropertyCondition
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Operation
+
+
+ Property
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.VideoTrack
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.VideoTrack
+
+
+
+
+
+
+
+
+
+
+
+ OdataType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ErrorAdditionalInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ErrorAdditionalInfo
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ErrorDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ErrorDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.ProxyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.Resource
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.Resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.SystemData
+
+ Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api20.SystemData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ CreatedBy
+
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/mediaservices/Az.MediaServices.nuspec b/swaggerci/mediaservices/Az.MediaServices.nuspec
new file mode 100644
index 000000000000..bc96b44ffc2c
--- /dev/null
+++ b/swaggerci/mediaservices/Az.MediaServices.nuspec
@@ -0,0 +1,32 @@
+
+
+
+ Az.MediaServices
+ 0.1.0
+ Microsoft Corporation
+ Microsoft Corporation
+ true
+ https://aka.ms/azps-license
+ https://github.com/Azure/azure-powershell
+ Microsoft Azure PowerShell: $(service-name) cmdlets
+
+ Microsoft Corporation. All rights reserved.
+ Azure ResourceManager ARM PSModule $(service-name)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/mediaservices/Az.MediaServices.psd1 b/swaggerci/mediaservices/Az.MediaServices.psd1
new file mode 100644
index 000000000000..d9e930397d42
--- /dev/null
+++ b/swaggerci/mediaservices/Az.MediaServices.psd1
@@ -0,0 +1,24 @@
+@{
+ GUID = '0c48ada0-fbde-4a8a-ad5e-5db5adb09a8d'
+ RootModule = './Az.MediaServices.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: MediaServices cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.MediaServices.private.dll'
+ FormatsToProcess = './Az.MediaServices.format.ps1xml'
+ FunctionsToExport = 'Get-AzMediaServicesAccountFilter', 'Get-AzMediaServicesAsset', 'Get-AzMediaServicesAssetContainerSas', 'Get-AzMediaServicesAssetEncryptionKey', 'Get-AzMediaServicesAssetFilter', 'Get-AzMediaServicesAssetStreamingLocator', 'Get-AzMediaServicesContentKeyPolicy', 'Get-AzMediaServicesContentKeyPolicyProperty', 'Get-AzMediaServicesOperationResult', 'Get-AzMediaServicesOperationStatuses', 'Get-AzMediaServicesStreamingLocator', 'Get-AzMediaServicesStreamingLocatorContentKey', 'Get-AzMediaServicesStreamingLocatorPath', 'Get-AzMediaServicesStreamingPolicy', 'Get-AzMediaServicesTrack', 'New-AzMediaServicesAccountFilter', 'New-AzMediaServicesAsset', 'New-AzMediaServicesAssetFilter', 'New-AzMediaServicesContentKeyPolicy', 'New-AzMediaServicesStreamingLocator', 'New-AzMediaServicesStreamingPolicy', 'New-AzMediaServicesTrack', 'Remove-AzMediaServicesAccountFilter', 'Remove-AzMediaServicesAsset', 'Remove-AzMediaServicesAssetFilter', 'Remove-AzMediaServicesContentKeyPolicy', 'Remove-AzMediaServicesStreamingLocator', 'Remove-AzMediaServicesStreamingPolicy', 'Remove-AzMediaServicesTrack', 'Update-AzMediaServicesAccountFilter', 'Update-AzMediaServicesAsset', 'Update-AzMediaServicesAssetFilter', 'Update-AzMediaServicesContentKeyPolicy', 'Update-AzMediaServicesTrack', '*'
+ AliasesToExport = '*'
+ PrivateData = @{
+ PSData = @{
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'MediaServices'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
+}
diff --git a/swaggerci/mediaservices/Az.MediaServices.psm1 b/swaggerci/mediaservices/Az.MediaServices.psm1
new file mode 100644
index 000000000000..a6a7cdffdd9b
--- /dev/null
+++ b/swaggerci/mediaservices/Az.MediaServices.psm1
@@ -0,0 +1,107 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ # Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ # ----------------------------------------------------------------------------------
+ # 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://docs.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.MediaServices.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.MediaServices.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
+
+
+ # 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.MediaServices.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/swaggerci/mediaservices/MSSharedLibKey.snk b/swaggerci/mediaservices/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/swaggerci/mediaservices/MSSharedLibKey.snk differ
diff --git a/swaggerci/mediaservices/README.md b/swaggerci/mediaservices/README.md
new file mode 100644
index 000000000000..5377e114a8c5
--- /dev/null
+++ b/swaggerci/mediaservices/README.md
@@ -0,0 +1,27 @@
+
+# Az.MediaServices
+This directory contains the PowerShell module for the MediaServices service.
+
+---
+## Status
+[![Az.MediaServices](https://img.shields.io/powershellgallery/v/Az.MediaServices.svg?style=flat-square&label=Az.MediaServices "Az.MediaServices")](https://www.powershellgallery.com/packages/Az.MediaServices/)
+
+## Info
+- Modifiable: yes
+- Generated: all
+- Committed: yes
+- Packaged: yes
+
+---
+## Detail
+This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.
+
+## Module Requirements
+- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater
+
+## Authentication
+AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
+
+## Development
+For information on how to develop for `Az.MediaServices`, see [how-to.md](how-to.md).
+
diff --git a/swaggerci/mediaservices/build-module.ps1 b/swaggerci/mediaservices/build-module.ps1
new file mode 100644
index 000000000000..bcf3136b6fab
--- /dev/null
+++ b/swaggerci/mediaservices/build-module.ps1
@@ -0,0 +1,153 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+$ErrorActionPreference = 'Stop'
+
+if($PSEdition -ne 'Core') {
+ Write-Error 'This script requires PowerShell Core to execute. [Note] Generated cmdlets will work in both PowerShell Core or Windows PowerShell.'
+}
+
+if(-not $Isolated -and -not $Debugger) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+
+ if($LastExitCode -ne 0) {
+ # Build failed. Don't attempt to run the module.
+ return
+ }
+
+ if($Test) {
+ . (Join-Path $PSScriptRoot 'test-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Tests failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Docs) {
+ . (Join-Path $PSScriptRoot 'generate-help.ps1')
+ if($LastExitCode -ne 0) {
+ # Docs generation failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Pack) {
+ . (Join-Path $PSScriptRoot 'pack-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Packing failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ $runModulePath = Join-Path $PSScriptRoot 'run-module.ps1'
+ if($Code) {
+ . $runModulePath -Code
+ } elseif($Run) {
+ . $runModulePath
+ } else {
+ Write-Host -ForegroundColor Cyan "To run this module in an isolated PowerShell session, run the 'run-module.ps1' script or provide the '-Run' parameter to this script."
+ }
+ return
+}
+
+$binFolder = Join-Path $PSScriptRoot 'bin'
+$objFolder = Join-Path $PSScriptRoot 'obj'
+
+if(-not $Debugger) {
+ Write-Host -ForegroundColor Green 'Cleaning build folders...'
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
+
+ if((Test-Path $binFolder) -or (Test-Path $objFolder)) {
+ Write-Host -ForegroundColor Cyan 'Did you forget to exit your isolated module session before rebuilding?'
+ Write-Error 'Unable to clean ''bin'' or ''obj'' folder. A process may have an open handle.'
+ }
+
+ Write-Host -ForegroundColor Green 'Compiling module...'
+ $buildConfig = 'Debug'
+ if($Release) {
+ $buildConfig = 'Release'
+ }
+ dotnet publish $PSScriptRoot --verbosity quiet --configuration $buildConfig /nologo
+ if($LastExitCode -ne 0) {
+ Write-Error 'Compilation failed.'
+ }
+
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path (Join-Path $binFolder 'Debug'), (Join-Path $binFolder 'Release')
+}
+
+$dll = Join-Path $PSScriptRoot 'bin/Az.MediaServices.private.dll'
+if(-not (Test-Path $dll)) {
+ Write-Error "Unable to find output assembly in '$binFolder'."
+}
+
+# Load DLL to use build-time cmdlets
+$null = Import-Module -Name $dll
+
+$modulePaths = $dll
+$customPsm1 = Join-Path $PSScriptRoot 'custom/Az.MediaServices.custom.psm1'
+if(Test-Path $customPsm1) {
+ $modulePaths = @($dll, $customPsm1)
+}
+
+$exportsFolder = Join-Path $PSScriptRoot 'exports'
+if(Test-Path $exportsFolder) {
+ $null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $exportsFolder
+
+$internalFolder = Join-Path $PSScriptRoot 'internal'
+if(Test-Path $internalFolder) {
+ $null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $internalFolder
+
+$psd1 = Join-Path $PSScriptRoot './Az.MediaServices.psd1'
+$guid = Get-ModuleGuid -Psd1Path $psd1
+$moduleName = 'Az.MediaServices'
+$examplesFolder = Join-Path $PSScriptRoot 'examples'
+$null = New-Item -ItemType Directory -Force -Path $examplesFolder
+
+Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
+$modelCmdlets = @()
+if ($modelCmdlets.Count -gt 0) {
+ . (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
+ CreateModelCmdlet($modelCmdlets)
+}
+
+if($NoDocs) {
+ Write-Host -ForegroundColor Green 'Creating exports...'
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder
+} else {
+ Write-Host -ForegroundColor Green 'Creating exports and docs...'
+ $moduleDescription = 'Microsoft Azure PowerShell: MediaServices cmdlets'
+ $docsFolder = Join-Path $PSScriptRoot 'docs'
+ if(Test-Path $docsFolder) {
+ $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+ }
+ $null = New-Item -ItemType Directory -Force -Path $docsFolder
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+}
+
+Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
+$formatPs1xml = Join-Path $PSScriptRoot './Az.MediaServices.format.ps1xml'
+Export-FormatPs1xml -FilePath $formatPs1xml
+
+Write-Host -ForegroundColor Green 'Creating psd1...'
+$customFolder = Join-Path $PSScriptRoot 'custom'
+Export-Psd1 -ExportsFolder $exportsFolder -CustomFolder $customFolder -Psd1Path $psd1 -ModuleGuid $guid
+
+Write-Host -ForegroundColor Green 'Creating test stubs...'
+$testFolder = Join-Path $PSScriptRoot 'test'
+$null = New-Item -ItemType Directory -Force -Path $testFolder
+Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFolder $testFolder
+
+Write-Host -ForegroundColor Green 'Creating example stubs...'
+Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+
+Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/swaggerci/mediaservices/check-dependencies.ps1 b/swaggerci/mediaservices/check-dependencies.ps1
new file mode 100644
index 000000000000..ec3055201a71
--- /dev/null
+++ b/swaggerci/mediaservices/check-dependencies.ps1
@@ -0,0 +1,57 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+$ErrorActionPreference = 'Stop'
+
+if(-not $Isolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ 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/swaggerci/mediaservices/create-model-cmdlets.ps1 b/swaggerci/mediaservices/create-model-cmdlets.ps1
new file mode 100644
index 000000000000..ed4b5d56375c
--- /dev/null
+++ b/swaggerci/mediaservices/create-model-cmdlets.ps1
@@ -0,0 +1,163 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+function CreateModelCmdlet {
+
+ param([string[]]$Models)
+
+ if ($Models.Count -eq 0)
+ {
+ return
+ }
+
+ $ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated/api') 'Models'
+ $ModuleName = 'MediaServices'
+ $OutputDir = Join-Path $PSScriptRoot 'custom/autogen-model-cmdlets'
+ $null = New-Item -ItemType Directory -Force -Path $OutputDir
+
+ $CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
+ $Content = ''
+ $null = $CsFiles | ForEach-Object -Process { if ($_.Name.Split('.').count -eq 2 )
+ { $Content += get-content $_.fullname -raw
+ } }
+
+ $Tree = [Microsoft.CodeAnalysis.CSharp.SyntaxFactory]::ParseCompilationUnit($Content)
+ $Nodes = $Tree.ChildNodes().ChildNodes()
+ foreach ($Model in $Models)
+ {
+ $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$Model") }
+ if ($InterfaceNode.count -eq 0) {
+ continue
+ }
+ # through a queue, we iterate all the parent models.
+ $Queue = @($InterfaceNode)
+ $visited = @("I$Model")
+ $AllInterfaceNodes = @()
+ while ($Queue.count -ne 0)
+ {
+ $AllInterfaceNodes += $Queue[0]
+ # Baselist contains the direct parent models.
+ foreach ($parent in $Queue[0].BaseList.Types)
+ {
+ if (($parent.Type.Right.Identifier.Value -ne 'IJsonSerializable') -and (-not $visited.Contains($parent.Type.Right.Identifier.Value)))
+ {
+ $Queue = [Array]$Queue + ($Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq $parent.Type.Right.Identifier.Value) })
+ $visited = [Array]$visited + $parent.Type.Right.Identifier.Value
+ }
+ }
+ $first, $Queue = $Queue
+ }
+
+ $Namespace = $InterfaceNode.Parent.Name
+ $ObjectType = $Model
+ $ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
+ # remove duplicated module name
+ if ($ObjectType.StartsWith($ModuleName)) {
+ $ModulePrefix = ''
+ } else {
+ $ModulePrefix = $ModuleName
+ }
+ $OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
+
+ $ParameterDefineScriptList = New-Object System.Collections.Generic.List[string]
+ $ParameterAssignScriptList = New-Object System.Collections.Generic.List[string]
+ foreach ($Node in $AllInterfaceNodes)
+ {
+ foreach ($Member in $Node.Members)
+ {
+ $Arguments = $Member.AttributeLists.Attributes.ArgumentList.Arguments
+ $Required = $false
+ $Description = ""
+ $Readonly = $False
+ foreach ($Argument in $Arguments)
+ {
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Required")
+ {
+ $Required = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Description")
+ {
+ $Description = $Argument.Expression.Token.Value.Trim('.').replace('"', '`"')
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Readonly")
+ {
+ $Readonly = $Argument.Expression.Token.Value
+ }
+ }
+ if ($Readonly)
+ {
+ continue
+ }
+ $Identifier = $Member.Identifier.Value
+ $Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ $ParameterDefinePropertyList = New-Object System.Collections.Generic.List[string]
+ if ($Required)
+ {
+ $ParameterDefinePropertyList.Add("Mandatory")
+ }
+ if ($Description -ne "")
+ {
+ $ParameterDefinePropertyList.Add("HelpMessage=`"${Description}.`"")
+ }
+ $ParameterDefineProperty = [System.String]::Join(", ", $ParameterDefinePropertyList)
+ # check whether completer is needed
+ $completer = '';
+ if($Type.Split('.').Split('.')[-2] -eq 'Support') {
+ # If Type is an array, need to strip []
+ $strippedType = $Type.Replace('[]', '')
+ $completer += "`n [ArgumentCompleter([${strippedType}])]"
+ }
+ $ParameterDefineScript = "
+ [Parameter($ParameterDefineProperty)]${completer}
+ [${Type}]
+ `$${Identifier}"
+ $ParameterDefineScriptList.Add($ParameterDefineScript)
+ $ParameterAssignScriptList.Add("
+ if (`$PSBoundParameters.ContainsKey('${Identifier}')) {
+ `$Object.${Identifier} = `$${Identifier}
+ }")
+ }
+ }
+ $ParameterDefineScript = $ParameterDefineScriptList | Join-String -Separator ","
+ $ParameterAssignScript = $ParameterAssignScriptList | Join-String -Separator ""
+
+ $Script = "
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create an in-memory object for ${ObjectType}.
+.Description
+Create an in-memory object for ${ObjectType}.
+
+.Outputs
+${ObjectTypeWithNamespace}
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+#>
+function New-Az${ModulePrefix}${ObjectType}Object {
+ [OutputType('${ObjectTypeWithNamespace}')]
+ [CmdletBinding(PositionalBinding=`$false)]
+ Param(
+${ParameterDefineScript}
+ )
+
+ process {
+ `$Object = [${ObjectTypeWithNamespace}]::New()
+${ParameterAssignScript}
+ return `$Object
+ }
+}
+"
+ Set-Content -Path $OutputPath -Value $Script
+ }
+}
diff --git a/swaggerci/mediaservices/custom/Az.MediaServices.custom.psm1 b/swaggerci/mediaservices/custom/Az.MediaServices.custom.psm1
new file mode 100644
index 000000000000..057f28105b1d
--- /dev/null
+++ b/swaggerci/mediaservices/custom/Az.MediaServices.custom.psm1
@@ -0,0 +1,17 @@
+# region Generated
+ # Load the private module dll
+ $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.MediaServices.private.dll')
+
+ # Load the internal module
+ $internalModulePath = Join-Path $PSScriptRoot '../internal/Az.MediaServices.internal.psm1'
+ if(Test-Path $internalModulePath) {
+ $null = Import-Module -Name $internalModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export script cmdlets
+ Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias)
+# endregion
diff --git a/swaggerci/mediaservices/custom/README.md b/swaggerci/mediaservices/custom/README.md
new file mode 100644
index 000000000000..07484f55640c
--- /dev/null
+++ b/swaggerci/mediaservices/custom/README.md
@@ -0,0 +1,41 @@
+# Custom
+This directory contains custom implementation for non-generated cmdlets for the `Az.MediaServices` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.MediaServices.custom.psm1`. This file should not be modified.
+
+## Info
+- Modifiable: yes
+- Generated: partial
+- Committed: yes
+- Packaged: yes
+
+## Details
+For `Az.MediaServices` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*.
+
+For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.MediaServices.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder.
+
+For script cmdlets, these are loaded via the `Az.MediaServices.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build.
+
+## Purpose
+This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder.
+
+## Usage
+The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
+- Break
+- DefaultProfile
+- HttpPipelineAppend
+- HttpPipelinePrepend
+- Proxy
+- ProxyCredential
+- ProxyUseDefaultCredentials
+
+These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.MediaServices`. For C#, follow the usage seen in the `ProcessRecordAsync` method.
+
+### Attributes
+For processing the cmdlets, we've created some additional attributes:
+- `Microsoft.Azure.PowerShell.Cmdlets.MediaServices.DescriptionAttribute`
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+- `Microsoft.Azure.PowerShell.Cmdlets.MediaServices.DoNotExportAttribute`
+ - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.MediaServices`.
+- `Microsoft.Azure.PowerShell.Cmdlets.MediaServices.InternalExportAttribute`
+ - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.MediaServices`. For more information, see [README.md](../internal/README.md) in the `../internal` folder.
+- `Microsoft.Azure.PowerShell.Cmdlets.MediaServices.ProfileAttribute`
+ - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/swaggerci/mediaservices/docs/Az.MediaServices.md b/swaggerci/mediaservices/docs/Az.MediaServices.md
new file mode 100644
index 000000000000..f61b05989b6a
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Az.MediaServices.md
@@ -0,0 +1,116 @@
+---
+Module Name: Az.MediaServices
+Module Guid: 0c48ada0-fbde-4a8a-ad5e-5db5adb09a8d
+Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices
+Help Version: 1.0.0.0
+Locale: en-US
+---
+
+# Az.MediaServices Module
+## Description
+Microsoft Azure PowerShell: MediaServices cmdlets
+
+## Az.MediaServices Cmdlets
+### [Get-AzMediaServicesAccountFilter](Get-AzMediaServicesAccountFilter.md)
+Get the details of an Account Filter in the Media Services account.
+
+### [Get-AzMediaServicesAsset](Get-AzMediaServicesAsset.md)
+Get the details of an Asset in the Media Services account
+
+### [Get-AzMediaServicesAssetContainerSas](Get-AzMediaServicesAssetContainerSas.md)
+Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content.
+The signatures are derived from the storage account keys.
+
+### [Get-AzMediaServicesAssetEncryptionKey](Get-AzMediaServicesAssetEncryptionKey.md)
+Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API
+
+### [Get-AzMediaServicesAssetFilter](Get-AzMediaServicesAssetFilter.md)
+Get the details of an Asset Filter associated with the specified Asset.
+
+### [Get-AzMediaServicesAssetStreamingLocator](Get-AzMediaServicesAssetStreamingLocator.md)
+Lists Streaming Locators which are associated with this asset.
+
+### [Get-AzMediaServicesContentKeyPolicy](Get-AzMediaServicesContentKeyPolicy.md)
+Get the details of a Content Key Policy in the Media Services account
+
+### [Get-AzMediaServicesContentKeyPolicyProperty](Get-AzMediaServicesContentKeyPolicyProperty.md)
+Get a Content Key Policy including secret values
+
+### [Get-AzMediaServicesOperationResult](Get-AzMediaServicesOperationResult.md)
+Get asset track operation result.
+
+### [Get-AzMediaServicesOperationStatuses](Get-AzMediaServicesOperationStatuses.md)
+Get asset track operation status.
+
+### [Get-AzMediaServicesStreamingLocator](Get-AzMediaServicesStreamingLocator.md)
+Get the details of a Streaming Locator in the Media Services account
+
+### [Get-AzMediaServicesStreamingLocatorContentKey](Get-AzMediaServicesStreamingLocatorContentKey.md)
+List Content Keys used by this Streaming Locator
+
+### [Get-AzMediaServicesStreamingLocatorPath](Get-AzMediaServicesStreamingLocatorPath.md)
+List Paths supported by this Streaming Locator
+
+### [Get-AzMediaServicesStreamingPolicy](Get-AzMediaServicesStreamingPolicy.md)
+Get the details of a Streaming Policy in the Media Services account
+
+### [Get-AzMediaServicesTrack](Get-AzMediaServicesTrack.md)
+Get the details of a Track in the Asset
+
+### [New-AzMediaServicesAccountFilter](New-AzMediaServicesAccountFilter.md)
+Creates or updates an Account Filter in the Media Services account.
+
+### [New-AzMediaServicesAsset](New-AzMediaServicesAsset.md)
+Creates or updates an Asset in the Media Services account
+
+### [New-AzMediaServicesAssetFilter](New-AzMediaServicesAssetFilter.md)
+Creates or updates an Asset Filter associated with the specified Asset.
+
+### [New-AzMediaServicesContentKeyPolicy](New-AzMediaServicesContentKeyPolicy.md)
+Create or update a Content Key Policy in the Media Services account
+
+### [New-AzMediaServicesStreamingLocator](New-AzMediaServicesStreamingLocator.md)
+Create a Streaming Locator in the Media Services account
+
+### [New-AzMediaServicesStreamingPolicy](New-AzMediaServicesStreamingPolicy.md)
+Create a Streaming Policy in the Media Services account
+
+### [New-AzMediaServicesTrack](New-AzMediaServicesTrack.md)
+Create or update a Track in the asset
+
+### [Remove-AzMediaServicesAccountFilter](Remove-AzMediaServicesAccountFilter.md)
+Deletes an Account Filter in the Media Services account.
+
+### [Remove-AzMediaServicesAsset](Remove-AzMediaServicesAsset.md)
+Deletes an Asset in the Media Services account
+
+### [Remove-AzMediaServicesAssetFilter](Remove-AzMediaServicesAssetFilter.md)
+Deletes an Asset Filter associated with the specified Asset.
+
+### [Remove-AzMediaServicesContentKeyPolicy](Remove-AzMediaServicesContentKeyPolicy.md)
+Deletes a Content Key Policy in the Media Services account
+
+### [Remove-AzMediaServicesStreamingLocator](Remove-AzMediaServicesStreamingLocator.md)
+Deletes a Streaming Locator in the Media Services account
+
+### [Remove-AzMediaServicesStreamingPolicy](Remove-AzMediaServicesStreamingPolicy.md)
+Deletes a Streaming Policy in the Media Services account
+
+### [Remove-AzMediaServicesTrack](Remove-AzMediaServicesTrack.md)
+Deletes a Track in the asset
+
+### [Update-AzMediaServicesAccountFilter](Update-AzMediaServicesAccountFilter.md)
+Updates an existing Account Filter in the Media Services account.
+
+### [Update-AzMediaServicesAsset](Update-AzMediaServicesAsset.md)
+Updates an existing Asset in the Media Services account
+
+### [Update-AzMediaServicesAssetFilter](Update-AzMediaServicesAssetFilter.md)
+Updates an existing Asset Filter associated with the specified Asset.
+
+### [Update-AzMediaServicesContentKeyPolicy](Update-AzMediaServicesContentKeyPolicy.md)
+Updates an existing Content Key Policy in the Media Services account
+
+### [Update-AzMediaServicesTrack](Update-AzMediaServicesTrack.md)
+Updates an existing Track in the asset
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAccountFilter.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAccountFilter.md
new file mode 100644
index 000000000000..529a65f0689d
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAccountFilter.md
@@ -0,0 +1,187 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesaccountfilter
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAccountFilter
+
+## SYNOPSIS
+Get the details of an Account Filter in the Media Services account.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzMediaServicesAccountFilter -AccountName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzMediaServicesAccountFilter -AccountName -FilterName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesAccountFilter -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get the details of an Account Filter in the Media Services account.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -FilterName
+The Account Filter name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAccountFilter
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAsset.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAsset.md
new file mode 100644
index 000000000000..838f90f9470f
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAsset.md
@@ -0,0 +1,233 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesasset
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAsset
+
+## SYNOPSIS
+Get the details of an Asset in the Media Services account
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzMediaServicesAsset -AccountName -ResourceGroupName [-SubscriptionId ]
+ [-Filter ] [-Orderby ] [-Top ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzMediaServicesAsset -AccountName -Name -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesAsset -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get the details of an Asset in the Media Services account
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Restricts the set of items returned.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: AssetName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Orderby
+Specifies the key by which the result collection should be ordered.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Top
+Specifies a non-negative integer n that limits the number of items returned from a collection.
+The service returns the number of available items up to but not greater than the specified value n.
+
+```yaml
+Type: System.Int32
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAsset
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetContainerSas.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetContainerSas.md
new file mode 100644
index 000000000000..c803ce16f279
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetContainerSas.md
@@ -0,0 +1,238 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesassetcontainersas
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAssetContainerSas
+
+## SYNOPSIS
+Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content.
+The signatures are derived from the storage account keys.
+
+## SYNTAX
+
+### ListExpanded (Default)
+```
+Get-AzMediaServicesAssetContainerSas -AccountName -AssetName -ResourceGroupName
+ [-SubscriptionId ] [-ExpiryTime ] [-Permission ]
+ [-DefaultProfile ] [-Confirm] [-WhatIf] []
+```
+
+### List
+```
+Get-AzMediaServicesAssetContainerSas -AccountName -AssetName -ResourceGroupName
+ -Parameter [-SubscriptionId ] [-DefaultProfile ] [-Confirm]
+ [-WhatIf] []
+```
+
+## DESCRIPTION
+Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content.
+The signatures are derived from the storage account keys.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ExpiryTime
+The SAS URL expiration time.
+This must be less than 24 hours from the current time.
+
+```yaml
+Type: System.DateTime
+Parameter Sets: ListExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Parameter
+The parameters to the list SAS request.
+To construct, see NOTES section for PARAMETER properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IListContainerSasInput
+Parameter Sets: List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Permission
+The permissions to set on the SAS URL.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Support.AssetContainerPermission
+Parameter Sets: ListExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IListContainerSasInput
+
+## OUTPUTS
+
+### System.String
+
+## NOTES
+
+ALIASES
+
+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.
+
+
+`PARAMETER `: The parameters to the list SAS request.
+ - `[ExpiryTime ]`: The SAS URL expiration time. This must be less than 24 hours from the current time.
+ - `[Permission ]`: The permissions to set on the SAS URL.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetEncryptionKey.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetEncryptionKey.md
new file mode 100644
index 000000000000..a73281789b40
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetEncryptionKey.md
@@ -0,0 +1,212 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesassetencryptionkey
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAssetEncryptionKey
+
+## SYNOPSIS
+Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzMediaServicesAssetEncryptionKey -AccountName -AssetName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesAssetEncryptionKey -InputObject [-DefaultProfile ]
+ [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IStorageEncryptedAssetDecryptionData
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetFilter.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetFilter.md
new file mode 100644
index 000000000000..b42b90293fdc
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetFilter.md
@@ -0,0 +1,202 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesassetfilter
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAssetFilter
+
+## SYNOPSIS
+Get the details of an Asset Filter associated with the specified Asset.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzMediaServicesAssetFilter -AccountName -AssetName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzMediaServicesAssetFilter -AccountName -AssetName -FilterName
+ -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesAssetFilter -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get the details of an Asset Filter associated with the specified Asset.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -FilterName
+The Asset Filter name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAssetFilter
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetStreamingLocator.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetStreamingLocator.md
new file mode 100644
index 000000000000..c911b73b471d
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesAssetStreamingLocator.md
@@ -0,0 +1,169 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesassetstreaminglocator
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesAssetStreamingLocator
+
+## SYNOPSIS
+Lists Streaming Locators which are associated with this asset.
+
+## SYNTAX
+
+```
+Get-AzMediaServicesAssetStreamingLocator -AccountName -AssetName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+Lists Streaming Locators which are associated with this asset.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAssetStreamingLocator
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicy.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicy.md
new file mode 100644
index 000000000000..754e4d460b5c
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicy.md
@@ -0,0 +1,234 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicescontentkeypolicy
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesContentKeyPolicy
+
+## SYNOPSIS
+Get the details of a Content Key Policy in the Media Services account
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzMediaServicesContentKeyPolicy -AccountName -ResourceGroupName
+ [-SubscriptionId ] [-Filter ] [-Orderby ] [-Top ]
+ [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzMediaServicesContentKeyPolicy -AccountName -Name -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesContentKeyPolicy -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get the details of a Content Key Policy in the Media Services account
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Restricts the set of items returned.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The Content Key Policy name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: ContentKeyPolicyName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Orderby
+Specifies the key by which the result collection should be ordered.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Top
+Specifies a non-negative integer n that limits the number of items returned from a collection.
+The service returns the number of available items up to but not greater than the specified value n.
+
+```yaml
+Type: System.Int32
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IContentKeyPolicy
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicyProperty.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicyProperty.md
new file mode 100644
index 000000000000..0a8d214ecf26
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesContentKeyPolicyProperty.md
@@ -0,0 +1,213 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicescontentkeypolicyproperty
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesContentKeyPolicyProperty
+
+## SYNOPSIS
+Get a Content Key Policy including secret values
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzMediaServicesContentKeyPolicyProperty -AccountName -ContentKeyPolicyName
+ -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesContentKeyPolicyProperty -InputObject [-DefaultProfile ]
+ [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+Get a Content Key Policy including secret values
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ContentKeyPolicyName
+The Content Key Policy name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IContentKeyPolicyProperties
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationResult.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationResult.md
new file mode 100644
index 000000000000..80eefbd07202
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationResult.md
@@ -0,0 +1,227 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesoperationresult
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesOperationResult
+
+## SYNOPSIS
+Get asset track operation result.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzMediaServicesOperationResult -AccountName -AssetName -OperationId
+ -ResourceGroupName -TrackName [-SubscriptionId ] [-DefaultProfile ]
+ [-PassThru] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesOperationResult -InputObject [-DefaultProfile ]
+ [-PassThru] []
+```
+
+## DESCRIPTION
+Get asset track operation result.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -OperationId
+Operation Id.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -TrackName
+The Asset Track name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAssetTrack
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationStatuses.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationStatuses.md
new file mode 100644
index 000000000000..e9e9f6e411df
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesOperationStatuses.md
@@ -0,0 +1,212 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesoperationstatuses
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesOperationStatuses
+
+## SYNOPSIS
+Get asset track operation status.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzMediaServicesOperationStatuses -AccountName -AssetName -OperationId
+ -ResourceGroupName -TrackName [-SubscriptionId ] [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesOperationStatuses -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get asset track operation status.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AssetName
+The Asset name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -OperationId
+Operation Id.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -TrackName
+The Asset Track name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IAssetTrackOperationStatus
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocator.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocator.md
new file mode 100644
index 000000000000..d739f578ce68
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocator.md
@@ -0,0 +1,234 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesstreaminglocator
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesStreamingLocator
+
+## SYNOPSIS
+Get the details of a Streaming Locator in the Media Services account
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzMediaServicesStreamingLocator -AccountName -ResourceGroupName
+ [-SubscriptionId ] [-Filter ] [-Orderby ] [-Top ]
+ [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzMediaServicesStreamingLocator -AccountName -Name -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzMediaServicesStreamingLocator -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Get the details of a Streaming Locator in the Media Services account
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AccountName
+The Media Services account name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Restricts the set of items returned.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The Streaming Locator name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: StreamingLocatorName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Orderby
+Specifies the key by which the result collection should be ordered.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The unique identifier for a Microsoft Azure subscription.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Top
+Specifies a non-negative integer n that limits the number of items returned from a collection.
+The service returns the number of available items up to but not greater than the specified value n.
+
+```yaml
+Type: System.Int32
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.IMediaServicesIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.MediaServices.Models.Api202301.IStreamingLocator
+
+## NOTES
+
+ALIASES
+
+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
+ - `[AccountName ]`: The Media Services account name.
+ - `[AssetName ]`: The Asset name.
+ - `[ContentKeyPolicyName ]`: The Content Key Policy name.
+ - `[FilterName ]`: The Account Filter name
+ - `[Id ]`: Resource identity path
+ - `[OperationId ]`: Operation Id.
+ - `[ResourceGroupName ]`: The name of the resource group within the Azure subscription.
+ - `[StreamingLocatorName ]`: The Streaming Locator name.
+ - `[StreamingPolicyName ]`: The Streaming Policy name.
+ - `[SubscriptionId ]`: The unique identifier for a Microsoft Azure subscription.
+ - `[TrackName ]`: The Asset Track name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocatorContentKey.md b/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocatorContentKey.md
new file mode 100644
index 000000000000..7ced04aa0878
--- /dev/null
+++ b/swaggerci/mediaservices/docs/Get-AzMediaServicesStreamingLocatorContentKey.md
@@ -0,0 +1,170 @@
+---
+external help file:
+Module Name: Az.MediaServices
+online version: https://docs.microsoft.com/en-us/powershell/module/az.mediaservices/get-azmediaservicesstreaminglocatorcontentkey
+schema: 2.0.0
+---
+
+# Get-AzMediaServicesStreamingLocatorContentKey
+
+## SYNOPSIS
+List Content Keys used by this Streaming Locator
+
+## SYNTAX
+
+```
+Get-AzMediaServicesStreamingLocatorContentKey -AccountName -ResourceGroupName