public static AfdEndpoint GetAfdEndpoint(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         AfdEndpoint.ValidateResourceId(id);
         return new AfdEndpoint(client, id);
     }
                             ));
 }
Ejemplo n.º 2
0
 public static AfdEndpoint GetAfdEndpoint(this ArmClient armClient, ResourceIdentifier id)
 {
     AfdEndpoint.ValidateResourceId(id);
     return(new AfdEndpoint(armClient, id));
 }
Ejemplo n.º 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)));
 }