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