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