public static OSFamily GetOSFamily(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { OSFamily.ValidateResourceId(id); return new OSFamily(client, id); } )); }
public static OSFamily GetOSFamily(this ArmClient armClient, ResourceIdentifier id) { OSFamily.ValidateResourceId(id); return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new OSFamily(clientOptions, credential, uri, pipeline, id))); }
public static OSFamily GetOSFamily(this ArmClient armClient, ResourceIdentifier id) { OSFamily.ValidateResourceId(id); return(new OSFamily(armClient, id)); }