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