public static AfdRuleSet GetAfdRuleSet(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         AfdRuleSet.ValidateResourceId(id);
         return new AfdRuleSet(client, id);
     }
                             ));
 }
Ejemplo n.º 2
0
 public static AfdRuleSet GetAfdRuleSet(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdRuleSet.ValidateResourceId(id);
     return(new AfdRuleSet(armClient, id));
 }
Ejemplo n.º 3
0
 public static AfdRuleSet GetAfdRuleSet(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdRuleSet.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new AfdRuleSet(clientOptions, credential, uri, pipeline, id)));
 }