public static NamespaceDisasterRecoveryAuthorizationRule GetNamespaceDisasterRecoveryAuthorizationRule(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         NamespaceDisasterRecoveryAuthorizationRule.ValidateResourceId(id);
         return new NamespaceDisasterRecoveryAuthorizationRule(client, id);
     }
                             ));
 }
Exemple #2
0
 public static NamespaceDisasterRecoveryAuthorizationRule GetNamespaceDisasterRecoveryAuthorizationRule(this ArmClient armClient, ResourceIdentifier id)
 {
     NamespaceDisasterRecoveryAuthorizationRule.ValidateResourceId(id);
     return(new NamespaceDisasterRecoveryAuthorizationRule(armClient, id));
 }