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