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