Пример #1
0
 public static CloudService GetCloudService(this ArmClient armClient, ResourceIdentifier id)
 {
     CloudService.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CloudService(clientOptions, credential, uri, pipeline, id)));
 }
Пример #2
0
 public static Application GetApplication(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new Application(clientOptions, credential, uri, pipeline, id)));
 }
Пример #3
0
 public static DeploymentScript GetDeploymentScript(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DeploymentScript(clientOptions, credential, uri, pipeline, id)));
 }
 public static PrivateEndpointConnection GetPrivateEndpointConnection(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new PrivateEndpointConnection(clientOptions, credential, uri, pipeline, id)));
 }
 public static NamespaceQueueAuthorizationRule GetNamespaceQueueAuthorizationRule(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new NamespaceQueueAuthorizationRule(clientOptions, credential, uri, pipeline, id)));
 }
 public static DeletedManagedHsm GetDeletedManagedHsm(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DeletedManagedHsm(clientOptions, credential, uri, pipeline, id)));
 }
 public static ServiceBusNamespace GetServiceBusNamespace(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new ServiceBusNamespace(clientOptions, credential, uri, pipeline, id)));
 }
Пример #8
0
 public static SqlUserDefinedFunction GetSqlUserDefinedFunction(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SqlUserDefinedFunction(clientOptions, credential, uri, pipeline, id)));
 }
Пример #9
0
 public static MongoDBDatabase GetMongoDBDatabase(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new MongoDBDatabase(clientOptions, credential, uri, pipeline, id)));
 }
Пример #10
0
 public static VirtualMachineExtension GetVirtualMachineExtension(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualMachineExtension.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new VirtualMachineExtension(clientOptions, credential, uri, pipeline, id)));
 }
Пример #11
0
 public static SqlStoredProcedure GetSqlStoredProcedure(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SqlStoredProcedure(clientOptions, credential, uri, pipeline, id)));
 }
Пример #12
0
 public static SshPublicKey GetSshPublicKey(this ArmClient armClient, ResourceIdentifier id)
 {
     SshPublicKey.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SshPublicKey(clientOptions, credential, uri, pipeline, id)));
 }
Пример #13
0
 public static DedicatedHost GetDedicatedHost(this ArmClient armClient, ResourceIdentifier id)
 {
     DedicatedHost.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DedicatedHost(clientOptions, credential, uri, pipeline, id)));
 }
Пример #14
0
 public static OSFamily GetOSFamily(this ArmClient armClient, ResourceIdentifier id)
 {
     OSFamily.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new OSFamily(clientOptions, credential, uri, pipeline, id)));
 }
 public static Profile GetProfile(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new Profile(clientOptions, credential, uri, pipeline, id)));
 }
Пример #16
0
 public static CassandraKeyspace GetCassandraKeyspace(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CassandraKeyspace(clientOptions, credential, uri, pipeline, id)));
 }
 public static CdnCustomDomain GetCdnCustomDomain(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CdnCustomDomain(clientOptions, credential, uri, pipeline, id)));
 }
Пример #18
0
 public static GremlinGraph GetGremlinGraph(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new GremlinGraph(clientOptions, credential, uri, pipeline, id)));
 }
 public static MigrationConfigProperties GetMigrationConfigProperties(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new MigrationConfigProperties(clientOptions, credential, uri, pipeline, id)));
 }
Пример #20
0
 public static RestorableDatabaseAccount GetRestorableDatabaseAccount(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new RestorableDatabaseAccount(clientOptions, credential, uri, pipeline, id)));
 }
 public static NetworkRuleSet GetNetworkRuleSet(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new NetworkRuleSet(clientOptions, credential, uri, pipeline, id)));
 }
Пример #22
0
 public static DatabaseAccountTableThroughputSetting GetDatabaseAccountTableThroughputSetting(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DatabaseAccountTableThroughputSetting(clientOptions, credential, uri, pipeline, id)));
 }
 public static DisasterRecovery GetDisasterRecovery(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DisasterRecovery(clientOptions, credential, uri, pipeline, id)));
 }
 public static AfdOriginGroup GetAfdOriginGroup(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new AfdOriginGroup(clientOptions, credential, uri, pipeline, id)));
 }
Пример #25
0
 public static TemplateSpecVersion GetTemplateSpecVersion(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new TemplateSpecVersion(clientOptions, credential, uri, pipeline, id)));
 }
 public static AfdSecurityPolicy GetAfdSecurityPolicy(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new AfdSecurityPolicy(clientOptions, credential, uri, pipeline, id)));
 }
Пример #27
0
 public static JitRequestDefinition GetJitRequestDefinition(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new JitRequestDefinition(clientOptions, credential, uri, pipeline, id)));
 }
 public static CdnWebApplicationFirewallPolicy GetCdnWebApplicationFirewallPolicy(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CdnWebApplicationFirewallPolicy(clientOptions, credential, uri, pipeline, id)));
 }
Пример #29
0
 public static ScriptLog GetScriptLog(this ArmClient armClient, ResourceIdentifier id)
 {
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new ScriptLog(clientOptions, credential, uri, pipeline, id)));
 }
Пример #30
0
 public static GalleryApplicationVersion GetGalleryApplicationVersion(this ArmClient armClient, ResourceIdentifier id)
 {
     GalleryApplicationVersion.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new GalleryApplicationVersion(clientOptions, credential, uri, pipeline, id)));
 }