コード例 #1
0
 public static AfdRule GetAfdRule(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         AfdRule.ValidateResourceId(id);
         return new AfdRule(client, id);
     }
                             ));
 }
コード例 #2
0
 public static AfdRule GetAfdRule(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdRule.ValidateResourceId(id);
     return(new AfdRule(armClient, id));
 }
コード例 #3
0
 public static AfdRule GetAfdRule(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdRule.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new AfdRule(clientOptions, credential, uri, pipeline, id)));
 }