public static PrivateEndpointConnection GetPrivateEndpointConnection(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { PrivateEndpointConnection.ValidateResourceId(id); return new PrivateEndpointConnection(client, id); } )); }
public static PrivateEndpointConnection GetPrivateEndpointConnection(this ArmClient armClient, ResourceIdentifier id) { PrivateEndpointConnection.ValidateResourceId(id); return(new PrivateEndpointConnection(armClient, id)); }