public static AfdRuleSet GetAfdRuleSet(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         AfdRuleSet.ValidateResourceId(id);
         return new AfdRuleSet(client, id);
     }
                             ));
 }
Пример #2
0
 public static AfdRuleSet GetAfdRuleSet(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdRuleSet.ValidateResourceId(id);
     return(new AfdRuleSet(armClient, id));
 }
Пример #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)));
 }