@@ -933,7 +933,7 @@ class DeliveryRuleAction(Model):
933933 """An action for the delivery rule.
934934
935935 You probably want to use the sub-classes and not this class directly. Known
936- sub-classes are: UrlRedirectAction, UrlRewriteAction,
936+ sub-classes are: UrlRedirectAction, UrlSigningAction, UrlRewriteAction,
937937 DeliveryRuleRequestHeaderAction, DeliveryRuleResponseHeaderAction,
938938 DeliveryRuleCacheExpirationAction, DeliveryRuleCacheKeyQueryStringAction
939939
@@ -952,7 +952,7 @@ class DeliveryRuleAction(Model):
952952 }
953953
954954 _subtype_map = {
955- 'name' : {'UrlRedirect' : 'UrlRedirectAction' , 'UrlRewrite' : 'UrlRewriteAction' , 'ModifyRequestHeader' : 'DeliveryRuleRequestHeaderAction' , 'ModifyResponseHeader' : 'DeliveryRuleResponseHeaderAction' , 'CacheExpiration' : 'DeliveryRuleCacheExpirationAction' , 'CacheKeyQueryString' : 'DeliveryRuleCacheKeyQueryStringAction' }
955+ 'name' : {'UrlRedirect' : 'UrlRedirectAction' , 'UrlSigning' : 'UrlSigningAction' , ' UrlRewrite' : 'UrlRewriteAction' , 'ModifyRequestHeader' : 'DeliveryRuleRequestHeaderAction' , 'ModifyResponseHeader' : 'DeliveryRuleResponseHeaderAction' , 'CacheExpiration' : 'DeliveryRuleCacheExpirationAction' , 'CacheKeyQueryString' : 'DeliveryRuleCacheKeyQueryStringAction' }
956956 }
957957
958958 def __init__ (self , ** kwargs ) -> None :
@@ -4007,6 +4007,33 @@ def __init__(self, *, source_pattern: str, destination: str, preserve_unmatched_
40074007 self .preserve_unmatched_path = preserve_unmatched_path
40084008
40094009
4010+ class UrlSigningAction (DeliveryRuleAction ):
4011+ """Defines the url signing action for the delivery rule.
4012+
4013+ All required parameters must be populated in order to send to Azure.
4014+
4015+ :param name: Required. Constant filled by server.
4016+ :type name: str
4017+ :param parameters: Required. Defines the parameters for the action.
4018+ :type parameters: ~azure.mgmt.cdn.models.UrlSigningActionParameters
4019+ """
4020+
4021+ _validation = {
4022+ 'name' : {'required' : True },
4023+ 'parameters' : {'required' : True },
4024+ }
4025+
4026+ _attribute_map = {
4027+ 'name' : {'key' : 'name' , 'type' : 'str' },
4028+ 'parameters' : {'key' : 'parameters' , 'type' : 'UrlSigningActionParameters' },
4029+ }
4030+
4031+ def __init__ (self , * , parameters , ** kwargs ) -> None :
4032+ super (UrlSigningAction , self ).__init__ (** kwargs )
4033+ self .parameters = parameters
4034+ self .name = 'UrlSigning'
4035+
4036+
40104037class UrlSigningActionParameters (Model ):
40114038 """Defines the parameters for the Url Signing action.
40124039
0 commit comments