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