public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient client, ResourceIdentifier id) { return(client.GetResourceClient(() => { CdnWebApplicationFirewallPolicy.ValidateResourceId(id); return new CdnWebApplicationFirewallPolicy(client, id); } )); }
public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient armClient, ResourceIdentifier id) { CdnWebApplicationFirewallPolicy.ValidateResourceId(id); return(new CdnWebApplicationFirewallPolicy(armClient, id)); }
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))); }