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