public static MachineExtension GetMachineExtension(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         MachineExtension.ValidateResourceId(id);
         return new MachineExtension(client, id);
     }
                             ));
 }
 public static PrivateEndpointConnection GetPrivateEndpointConnection(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         PrivateEndpointConnection.ValidateResourceId(id);
         return new PrivateEndpointConnection(client, id);
     }
                             ));
 }
 public static NamespaceDisasterRecoveryAuthorizationRule GetNamespaceDisasterRecoveryAuthorizationRule(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         NamespaceDisasterRecoveryAuthorizationRule.ValidateResourceId(id);
         return new NamespaceDisasterRecoveryAuthorizationRule(client, id);
     }
                             ));
 }
 public static MigrationConfigProperties GetMigrationConfigProperties(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         MigrationConfigProperties.ValidateResourceId(id);
         return new MigrationConfigProperties(client, id);
     }
                             ));
 }
 public static ServiceBusSubscription GetServiceBusSubscription(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ServiceBusSubscription.ValidateResourceId(id);
         return new ServiceBusSubscription(client, id);
     }
                             ));
 }
Exemple #6
0
 public static BlobInventoryPolicy GetBlobInventoryPolicy(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         BlobInventoryPolicy.ValidateResourceId(id);
         return new BlobInventoryPolicy(client, id);
     }
                             ));
 }
 public static ConfigurationStore GetConfigurationStore(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ConfigurationStore.ValidateResourceId(id);
         return new ConfigurationStore(client, id);
     }
                             ));
 }
Exemple #8
0
 public static ObjectReplicationPolicy GetObjectReplicationPolicy(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ObjectReplicationPolicy.ValidateResourceId(id);
         return new ObjectReplicationPolicy(client, id);
     }
                             ));
 }
Exemple #9
0
 public static LocalUser GetLocalUser(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         LocalUser.ValidateResourceId(id);
         return new LocalUser(client, id);
     }
                             ));
 }
 public static VMwareDatastore GetVMwareDatastore(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VMwareDatastore.ValidateResourceId(id);
         return new VMwareDatastore(client, id);
     }
                             ));
 }
 public static VCenter GetVCenter(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VCenter.ValidateResourceId(id);
         return new VCenter(client, id);
     }
                             ));
 }
 public static VMwareHost GetVMwareHost(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VMwareHost.ValidateResourceId(id);
         return new VMwareHost(client, id);
     }
                             ));
 }
 public static GuestAgent GetGuestAgent(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         GuestAgent.ValidateResourceId(id);
         return new GuestAgent(client, id);
     }
                             ));
 }
 public static ResourcePool GetResourcePool(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ResourcePool.ValidateResourceId(id);
         return new ResourcePool(client, id);
     }
                             ));
 }
Exemple #15
0
 public static DeletedAccount GetDeletedAccount(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         DeletedAccount.ValidateResourceId(id);
         return new DeletedAccount(client, id);
     }
                             ));
 }
Exemple #16
0
 public static EncryptionScope GetEncryptionScope(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         EncryptionScope.ValidateResourceId(id);
         return new EncryptionScope(client, id);
     }
                             ));
 }
Exemple #17
0
 public static ManagementPolicy GetManagementPolicy(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ManagementPolicy.ValidateResourceId(id);
         return new ManagementPolicy(client, id);
     }
                             ));
 }
Exemple #18
0
 public static BlobContainer GetBlobContainer(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         BlobContainer.ValidateResourceId(id);
         return new BlobContainer(client, id);
     }
                             ));
 }
 public static DeviceUpdateInstance GetDeviceUpdateInstance(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         DeviceUpdateInstance.ValidateResourceId(id);
         return new DeviceUpdateInstance(client, id);
     }
                             ));
 }
Exemple #20
0
 public static ImmutabilityPolicy GetImmutabilityPolicy(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ImmutabilityPolicy.ValidateResourceId(id);
         return new ImmutabilityPolicy(client, id);
     }
                             ));
 }
 public static PrivateLinkResource GetPrivateLinkResource(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         PrivateLinkResource.ValidateResourceId(id);
         return new PrivateLinkResource(client, id);
     }
                             ));
 }
Exemple #22
0
 public static FileShare GetFileShare(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         FileShare.ValidateResourceId(id);
         return new FileShare(client, id);
     }
                             ));
 }
 public static ServiceBusRule GetServiceBusRule(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         ServiceBusRule.ValidateResourceId(id);
         return new ServiceBusRule(client, id);
     }
                             ));
 }
Exemple #24
0
 public static QueueService GetQueueService(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         QueueService.ValidateResourceId(id);
         return new QueueService(client, id);
     }
                             ));
 }
 public static NetworkRuleSet GetNetworkRuleSet(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         NetworkRuleSet.ValidateResourceId(id);
         return new NetworkRuleSet(client, id);
     }
                             ));
 }
Exemple #26
0
 public static StorageQueue GetStorageQueue(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         StorageQueue.ValidateResourceId(id);
         return new StorageQueue(client, id);
     }
                             ));
 }
 public static DisasterRecovery GetDisasterRecovery(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         DisasterRecovery.ValidateResourceId(id);
         return new DisasterRecovery(client, id);
     }
                             ));
 }
Exemple #28
0
 public static Table GetTable(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         Table.ValidateResourceId(id);
         return new Table(client, id);
     }
                             ));
 }
 public static CommunicationService GetCommunicationService(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         CommunicationService.ValidateResourceId(id);
         return new CommunicationService(client, id);
     }
                             ));
 }
 public static HybridIdentityMetadata GetHybridIdentityMetadata(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         HybridIdentityMetadata.ValidateResourceId(id);
         return new HybridIdentityMetadata(client, id);
     }
                             ));
 }