internal CosmosTable(ArmResource options, CosmosTableData resource) : base(options, resource.Id) { HasData = true; _data = resource; _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal DatabaseAccountTableThroughputSetting(ArmResource options, ThroughputSettingsData resource) : base(options, resource.Id) { HasData = true; _data = resource; Parent = options; _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal CosmosTableCollection(ArmClient client, ResourceIdentifier id) : base(client, id) { _cosmosTableTableResourcesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.CosmosDB", CosmosTableResource.ResourceType.Namespace, Diagnostics); TryGetApiVersion(CosmosTableResource.ResourceType, out string cosmosTableTableResourcesApiVersion); _cosmosTableTableResourcesRestClient = new TableResourcesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, cosmosTableTableResourcesApiVersion); #if DEBUG ValidateResourceId(Id); #endif }
internal DatabaseAccountTableThroughputSettingResource(ArmClient client, ResourceIdentifier id) : base(client, id) { _databaseAccountTableThroughputSettingTableResourcesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.CosmosDB", ResourceType.Namespace, Diagnostics); TryGetApiVersion(ResourceType, out string databaseAccountTableThroughputSettingTableResourcesApiVersion); _databaseAccountTableThroughputSettingTableResourcesRestClient = new TableResourcesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, databaseAccountTableThroughputSettingTableResourcesApiVersion); #if DEBUG ValidateResourceId(Id); #endif }
internal CosmosTableCollection(ArmResource parent) : base(parent) { _cosmosTableTableResourcesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.CosmosDB", CosmosTable.ResourceType.Namespace, DiagnosticOptions); ArmClient.TryGetApiVersion(CosmosTable.ResourceType, out string cosmosTableTableResourcesApiVersion); _cosmosTableTableResourcesRestClient = new TableResourcesRestOperations(_cosmosTableTableResourcesClientDiagnostics, Pipeline, DiagnosticOptions.ApplicationId, BaseUri, cosmosTableTableResourcesApiVersion); #if DEBUG ValidateResourceId(Id); #endif }
internal CosmosTable(ArmClientOptions clientOptions, TokenCredential credential, Uri uri, HttpPipeline pipeline, ResourceIdentifier id) : base(clientOptions, credential, uri, pipeline, id) { _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal CosmosTable(ArmResource options, ResourceIdentifier id) : base(options, id) { _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal DatabaseAccountTableThroughputSetting(ArmClientOptions clientOptions, TokenCredential credential, Uri uri, HttpPipeline pipeline, ResourceIdentifier id) : base(clientOptions, credential, uri, pipeline, id) { _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal DatabaseAccountTableThroughputSetting(ArmResource options, ResourceIdentifier id) : base(options, id) { Parent = options; _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal CosmosTableCollection(ArmResource parent) : base(parent) { _clientDiagnostics = new ClientDiagnostics(ClientOptions); _tableResourcesRestClient = new TableResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal TableResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { RestClient = new TableResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; }