public static AfdEndpoint GetAfdEndpoint(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         AfdEndpoint.ValidateResourceId(id);
         return new AfdEndpoint(client, id);
     }
                             ));
 }
Exemple #2
0
 public static AfdEndpoint GetAfdEndpoint(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdEndpoint.ValidateResourceId(id);
     return(new AfdEndpoint(armClient, id));
 }
Exemple #3
0
 public static AfdEndpoint GetAfdEndpoint(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdEndpoint.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new AfdEndpoint(clientOptions, credential, uri, pipeline, id)));
 }