示例#1
0
 public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetResourceClient(() =>
     {
         CdnWebApplicationFirewallPolicy.ValidateResourceId(id);
         return new CdnWebApplicationFirewallPolicy(client, id);
     }
                                     ));
 }
示例#2
0
 public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient armClient, ResourceIdentifier id)
 {
     CdnWebApplicationFirewallPolicy.ValidateResourceId(id);
     return(new CdnWebApplicationFirewallPolicy(armClient, id));
 }
示例#3
0
 public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient armClient, ResourceIdentifier id)
 {
     CdnWebApplicationFirewallPolicy.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CdnWebApplicationFirewallPolicy(clientOptions, credential, uri, pipeline, id)));
 }