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