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