@@ -195,6 +195,29 @@ def __init__(self, **kwargs):
195195 self .odatatype = '#Microsoft.Media.AbsoluteClipTime'
196196
197197
198+ class AccessControl (Model ):
199+ """AccessControl.
200+
201+ :param default_action: The behavior for IP access control in Key Delivery.
202+ Possible values include: 'Allow', 'Deny'
203+ :type default_action: str or ~azure.mgmt.media.models.DefaultAction
204+ :param ip_allow_list: The IP allow list for access control in Key
205+ Delivery. If the default action is set to 'Allow', the IP allow list must
206+ be empty.
207+ :type ip_allow_list: list[str]
208+ """
209+
210+ _attribute_map = {
211+ 'default_action' : {'key' : 'defaultAction' , 'type' : 'str' },
212+ 'ip_allow_list' : {'key' : 'ipAllowList' , 'type' : '[str]' },
213+ }
214+
215+ def __init__ (self , ** kwargs ):
216+ super (AccessControl , self ).__init__ (** kwargs )
217+ self .default_action = kwargs .get ('default_action' , None )
218+ self .ip_allow_list = kwargs .get ('ip_allow_list' , None )
219+
220+
198221class AccountEncryption (Model ):
199222 """AccountEncryption.
200223
@@ -4255,6 +4278,22 @@ def __init__(self, **kwargs):
42554278 self .odatatype = '#Microsoft.Media.JpgLayer'
42564279
42574280
4281+ class KeyDelivery (Model ):
4282+ """KeyDelivery.
4283+
4284+ :param access_control: The access control properties for Key Delivery.
4285+ :type access_control: ~azure.mgmt.media.models.AccessControl
4286+ """
4287+
4288+ _attribute_map = {
4289+ 'access_control' : {'key' : 'accessControl' , 'type' : 'AccessControl' },
4290+ }
4291+
4292+ def __init__ (self , ** kwargs ):
4293+ super (KeyDelivery , self ).__init__ (** kwargs )
4294+ self .access_control = kwargs .get ('access_control' , None )
4295+
4296+
42584297class KeyVaultProperties (Model ):
42594298 """KeyVaultProperties.
42604299
@@ -5031,6 +5070,9 @@ class MediaService(TrackedResource):
50315070 ~azure.mgmt.media.models.StorageAuthentication
50325071 :param encryption: The account encryption properties.
50335072 :type encryption: ~azure.mgmt.media.models.AccountEncryption
5073+ :param key_delivery: The Key Delivery properties for Media Services
5074+ account.
5075+ :type key_delivery: ~azure.mgmt.media.models.KeyDelivery
50345076 :param identity: The Managed Identity for the Media Services account.
50355077 :type identity: ~azure.mgmt.media.models.MediaServiceIdentity
50365078 :ivar system_data: The system metadata relating to this resource.
@@ -5056,6 +5098,7 @@ class MediaService(TrackedResource):
50565098 'storage_accounts' : {'key' : 'properties.storageAccounts' , 'type' : '[StorageAccount]' },
50575099 'storage_authentication' : {'key' : 'properties.storageAuthentication' , 'type' : 'str' },
50585100 'encryption' : {'key' : 'properties.encryption' , 'type' : 'AccountEncryption' },
5101+ 'key_delivery' : {'key' : 'properties.keyDelivery' , 'type' : 'KeyDelivery' },
50595102 'identity' : {'key' : 'identity' , 'type' : 'MediaServiceIdentity' },
50605103 'system_data' : {'key' : 'systemData' , 'type' : 'SystemData' },
50615104 }
@@ -5066,6 +5109,7 @@ def __init__(self, **kwargs):
50665109 self .storage_accounts = kwargs .get ('storage_accounts' , None )
50675110 self .storage_authentication = kwargs .get ('storage_authentication' , None )
50685111 self .encryption = kwargs .get ('encryption' , None )
5112+ self .key_delivery = kwargs .get ('key_delivery' , None )
50695113 self .identity = kwargs .get ('identity' , None )
50705114 self .system_data = None
50715115
@@ -5106,6 +5150,56 @@ def __init__(self, **kwargs):
51065150 self .tenant_id = None
51075151
51085152
5153+ class MediaServiceUpdate (Model ):
5154+ """A Media Services account update.
5155+
5156+ Variables are only populated by the server, and will be ignored when
5157+ sending a request.
5158+
5159+ :param tags: Resource tags.
5160+ :type tags: dict[str, str]
5161+ :ivar media_service_id: The Media Services account ID.
5162+ :vartype media_service_id: str
5163+ :param storage_accounts: The storage accounts for this resource.
5164+ :type storage_accounts: list[~azure.mgmt.media.models.StorageAccount]
5165+ :param storage_authentication: Possible values include: 'System',
5166+ 'ManagedIdentity'
5167+ :type storage_authentication: str or
5168+ ~azure.mgmt.media.models.StorageAuthentication
5169+ :param encryption: The account encryption properties.
5170+ :type encryption: ~azure.mgmt.media.models.AccountEncryption
5171+ :param key_delivery: The Key Delivery properties for Media Services
5172+ account.
5173+ :type key_delivery: ~azure.mgmt.media.models.KeyDelivery
5174+ :param identity: The Managed Identity for the Media Services account.
5175+ :type identity: ~azure.mgmt.media.models.MediaServiceIdentity
5176+ """
5177+
5178+ _validation = {
5179+ 'media_service_id' : {'readonly' : True },
5180+ }
5181+
5182+ _attribute_map = {
5183+ 'tags' : {'key' : 'tags' , 'type' : '{str}' },
5184+ 'media_service_id' : {'key' : 'properties.mediaServiceId' , 'type' : 'str' },
5185+ 'storage_accounts' : {'key' : 'properties.storageAccounts' , 'type' : '[StorageAccount]' },
5186+ 'storage_authentication' : {'key' : 'properties.storageAuthentication' , 'type' : 'str' },
5187+ 'encryption' : {'key' : 'properties.encryption' , 'type' : 'AccountEncryption' },
5188+ 'key_delivery' : {'key' : 'properties.keyDelivery' , 'type' : 'KeyDelivery' },
5189+ 'identity' : {'key' : 'identity' , 'type' : 'MediaServiceIdentity' },
5190+ }
5191+
5192+ def __init__ (self , ** kwargs ):
5193+ super (MediaServiceUpdate , self ).__init__ (** kwargs )
5194+ self .tags = kwargs .get ('tags' , None )
5195+ self .media_service_id = None
5196+ self .storage_accounts = kwargs .get ('storage_accounts' , None )
5197+ self .storage_authentication = kwargs .get ('storage_authentication' , None )
5198+ self .encryption = kwargs .get ('encryption' , None )
5199+ self .key_delivery = kwargs .get ('key_delivery' , None )
5200+ self .identity = kwargs .get ('identity' , None )
5201+
5202+
51095203class MetricDimension (Model ):
51105204 """A metric dimension.
51115205
@@ -5166,6 +5260,15 @@ class MetricSpecification(Model):
51665260 :type supported_aggregation_types: list[str]
51675261 :ivar dimensions: The metric dimensions.
51685262 :vartype dimensions: list[~azure.mgmt.media.models.MetricDimension]
5263+ :ivar enable_regional_mdm_account: Indicates whether regional MDM account
5264+ is enabled.
5265+ :vartype enable_regional_mdm_account: bool
5266+ :ivar source_mdm_account: The source MDM account.
5267+ :vartype source_mdm_account: str
5268+ :ivar source_mdm_namespace: The source MDM namespace.
5269+ :vartype source_mdm_namespace: str
5270+ :ivar supported_time_grain_types: The supported time grain types.
5271+ :vartype supported_time_grain_types: list[str]
51695272 """
51705273
51715274 _validation = {
@@ -5176,6 +5279,10 @@ class MetricSpecification(Model):
51765279 'aggregation_type' : {'readonly' : True },
51775280 'lock_aggregation_type' : {'readonly' : True },
51785281 'dimensions' : {'readonly' : True },
5282+ 'enable_regional_mdm_account' : {'readonly' : True },
5283+ 'source_mdm_account' : {'readonly' : True },
5284+ 'source_mdm_namespace' : {'readonly' : True },
5285+ 'supported_time_grain_types' : {'readonly' : True },
51795286 }
51805287
51815288 _attribute_map = {
@@ -5187,6 +5294,10 @@ class MetricSpecification(Model):
51875294 'lock_aggregation_type' : {'key' : 'lockAggregationType' , 'type' : 'str' },
51885295 'supported_aggregation_types' : {'key' : 'supportedAggregationTypes' , 'type' : '[str]' },
51895296 'dimensions' : {'key' : 'dimensions' , 'type' : '[MetricDimension]' },
5297+ 'enable_regional_mdm_account' : {'key' : 'enableRegionalMdmAccount' , 'type' : 'bool' },
5298+ 'source_mdm_account' : {'key' : 'sourceMdmAccount' , 'type' : 'str' },
5299+ 'source_mdm_namespace' : {'key' : 'sourceMdmNamespace' , 'type' : 'str' },
5300+ 'supported_time_grain_types' : {'key' : 'supportedTimeGrainTypes' , 'type' : '[str]' },
51905301 }
51915302
51925303 def __init__ (self , ** kwargs ):
@@ -5199,6 +5310,10 @@ def __init__(self, **kwargs):
51995310 self .lock_aggregation_type = None
52005311 self .supported_aggregation_types = kwargs .get ('supported_aggregation_types' , None )
52015312 self .dimensions = None
5313+ self .enable_regional_mdm_account = None
5314+ self .source_mdm_account = None
5315+ self .source_mdm_namespace = None
5316+ self .supported_time_grain_types = None
52025317
52035318
52045319class MultiBitrateFormat (Format ):
@@ -5355,6 +5470,11 @@ class Operation(Model):
53555470 :type origin: str
53565471 :param properties: Operation properties format.
53575472 :type properties: ~azure.mgmt.media.models.Properties
5473+ :param is_data_action: Whether the operation applies to data-plane.
5474+ :type is_data_action: bool
5475+ :param action_type: Indicates the action type. Possible values include:
5476+ 'Internal'
5477+ :type action_type: str or ~azure.mgmt.media.models.ActionType
53585478 """
53595479
53605480 _validation = {
@@ -5366,6 +5486,8 @@ class Operation(Model):
53665486 'display' : {'key' : 'display' , 'type' : 'OperationDisplay' },
53675487 'origin' : {'key' : 'origin' , 'type' : 'str' },
53685488 'properties' : {'key' : 'properties' , 'type' : 'Properties' },
5489+ 'is_data_action' : {'key' : 'isDataAction' , 'type' : 'bool' },
5490+ 'action_type' : {'key' : 'actionType' , 'type' : 'str' },
53695491 }
53705492
53715493 def __init__ (self , ** kwargs ):
@@ -5374,6 +5496,8 @@ def __init__(self, **kwargs):
53745496 self .display = kwargs .get ('display' , None )
53755497 self .origin = kwargs .get ('origin' , None )
53765498 self .properties = kwargs .get ('properties' , None )
5499+ self .is_data_action = kwargs .get ('is_data_action' , None )
5500+ self .action_type = kwargs .get ('action_type' , None )
53775501
53785502
53795503class OperationDisplay (Model ):
0 commit comments