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)); }