public sealed class ConfigClientImpl : ConfigClient
Reference documentation and code samples for the Infrastructure Manager v1 API class ConfigClientImpl.
Config client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Config.V1Assembly
Google.Cloud.Config.V1.dll
Remarks
Infrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.
Constructors
ConfigClientImpl(ConfigClient, ConfigSettings, ILogger)
public ConfigClientImpl(Config.ConfigClient grpcClient, ConfigSettings settings, ILogger logger)
Constructs a client wrapper for the Config service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ConfigConfigClient The underlying gRPC client. |
settings | ConfigSettings The base ConfigSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateDeploymentOperationsClient
public override OperationsClient CreateDeploymentOperationsClient { get; }
The long-running operations client for CreateDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteDeploymentOperationsClient
public override OperationsClient DeleteDeploymentOperationsClient { get; }
The long-running operations client for DeleteDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Config.ConfigClient GrpcClient { get; }
The underlying gRPC Config client
Property Value | |
---|---|
Type | Description |
ConfigConfigClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
LockDeploymentOperationsClient
public override OperationsClient LockDeploymentOperationsClient { get; }
The long-running operations client for LockDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UnlockDeploymentOperationsClient
public override OperationsClient UnlockDeploymentOperationsClient { get; }
The long-running operations client for UnlockDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateDeploymentOperationsClient
public override OperationsClient UpdateDeploymentOperationsClient { get; }
The long-running operations client for UpdateDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateDeployment(CreateDeploymentRequest, CallSettings)
public override Operation<Deployment, OperationMetadata> CreateDeployment(CreateDeploymentRequest request, CallSettings callSettings = null)
Creates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | CreateDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDeploymentOperationMetadata | The RPC response. |
CreateDeploymentAsync(CreateDeploymentRequest, CallSettings)
public override Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(CreateDeploymentRequest request, CallSettings callSettings = null)
Creates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | CreateDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDeploymentOperationMetadata | A Task containing the RPC response. |
DeleteDeployment(DeleteDeploymentRequest, CallSettings)
public override Operation<Deployment, OperationMetadata> DeleteDeployment(DeleteDeploymentRequest request, CallSettings callSettings = null)
Deletes a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | DeleteDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDeploymentOperationMetadata | The RPC response. |
DeleteDeploymentAsync(DeleteDeploymentRequest, CallSettings)
public override Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeleteDeploymentRequest request, CallSettings callSettings = null)
Deletes a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | DeleteDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDeploymentOperationMetadata | A Task containing the RPC response. |
DeleteStatefile(DeleteStatefileRequest, CallSettings)
public override void DeleteStatefile(DeleteStatefileRequest request, CallSettings callSettings = null)
Deletes Terraform state file in a given deployment.
Parameters | |
---|---|
Name | Description |
request | DeleteStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteStatefileAsync(DeleteStatefileRequest, CallSettings)
public override Task DeleteStatefileAsync(DeleteStatefileRequest request, CallSettings callSettings = null)
Deletes Terraform state file in a given deployment.
Parameters | |
---|---|
Name | Description |
request | DeleteStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
ExportDeploymentStatefile(ExportDeploymentStatefileRequest, CallSettings)
public override Statefile ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)
Exports Terraform state file from a given deployment.
Parameters | |
---|---|
Name | Description |
request | ExportDeploymentStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Statefile | The RPC response. |
ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, CallSettings)
public override Task<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)
Exports Terraform state file from a given deployment.
Parameters | |
---|---|
Name | Description |
request | ExportDeploymentStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskStatefile | A Task containing the RPC response. |
ExportLockInfo(ExportLockInfoRequest, CallSettings)
public override LockInfo ExportLockInfo(ExportLockInfoRequest request, CallSettings callSettings = null)
Exports the lock info on a locked deployment.
Parameters | |
---|---|
Name | Description |
request | ExportLockInfoRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LockInfo | The RPC response. |
ExportLockInfoAsync(ExportLockInfoRequest, CallSettings)
public override Task<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, CallSettings callSettings = null)
Exports the lock info on a locked deployment.
Parameters | |
---|---|
Name | Description |
request | ExportLockInfoRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskLockInfo | A Task containing the RPC response. |
ExportRevisionStatefile(ExportRevisionStatefileRequest, CallSettings)
public override Statefile ExportRevisionStatefile(ExportRevisionStatefileRequest request, CallSettings callSettings = null)
Exports Terraform state file from a given revision.
Parameters | |
---|---|
Name | Description |
request | ExportRevisionStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Statefile | The RPC response. |
ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, CallSettings)
public override Task<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, CallSettings callSettings = null)
Exports Terraform state file from a given revision.
Parameters | |
---|---|
Name | Description |
request | ExportRevisionStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskStatefile | A Task containing the RPC response. |
GetDeployment(GetDeploymentRequest, CallSettings)
public override Deployment GetDeployment(GetDeploymentRequest request, CallSettings callSettings = null)
Gets details about a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment | The RPC response. |
GetDeploymentAsync(GetDeploymentRequest, CallSettings)
public override Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallSettings callSettings = null)
Gets details about a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment | A Task containing the RPC response. |
GetResource(GetResourceRequest, CallSettings)
public override Resource GetResource(GetResourceRequest request, CallSettings callSettings = null)
Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.
Parameters | |
---|---|
Name | Description |
request | GetResourceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Resource | The RPC response. |
GetResourceAsync(GetResourceRequest, CallSettings)
public override Task<Resource> GetResourceAsync(GetResourceRequest request, CallSettings callSettings = null)
Gets details about a [Resource][google.cloud.config.v1.Resource] deployed by Infra Manager.
Parameters | |
---|---|
Name | Description |
request | GetResourceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskResource | A Task containing the RPC response. |
GetRevision(GetRevisionRequest, CallSettings)
public override Revision GetRevision(GetRevisionRequest request, CallSettings callSettings = null)
Gets details about a [Revision][google.cloud.config.v1.Revision].
Parameters | |
---|---|
Name | Description |
request | GetRevisionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Revision | The RPC response. |
GetRevisionAsync(GetRevisionRequest, CallSettings)
public override Task<Revision> GetRevisionAsync(GetRevisionRequest request, CallSettings callSettings = null)
Gets details about a [Revision][google.cloud.config.v1.Revision].
Parameters | |
---|---|
Name | Description |
request | GetRevisionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskRevision | A Task containing the RPC response. |
ImportStatefile(ImportStatefileRequest, CallSettings)
public override Statefile ImportStatefile(ImportStatefileRequest request, CallSettings callSettings = null)
Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.
Parameters | |
---|---|
Name | Description |
request | ImportStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Statefile | The RPC response. |
ImportStatefileAsync(ImportStatefileRequest, CallSettings)
public override Task<Statefile> ImportStatefileAsync(ImportStatefileRequest request, CallSettings callSettings = null)
Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.
Parameters | |
---|---|
Name | Description |
request | ImportStatefileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskStatefile | A Task containing the RPC response. |
ListDeployments(ListDeploymentsRequest, CallSettings)
public override PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(ListDeploymentsRequest request, CallSettings callSettings = null)
Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDeploymentsResponseDeployment | A pageable sequence of Deployment resources. |
ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(ListDeploymentsRequest request, CallSettings callSettings = null)
Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDeploymentsResponseDeployment | A pageable asynchronous sequence of Deployment resources. |
ListResources(ListResourcesRequest, CallSettings)
public override PagedEnumerable<ListResourcesResponse, Resource> ListResources(ListResourcesRequest request, CallSettings callSettings = null)
Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
Parameters | |
---|---|
Name | Description |
request | ListResourcesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListResourcesResponseResource | A pageable sequence of Resource resources. |
ListResourcesAsync(ListResourcesRequest, CallSettings)
public override PagedAsyncEnumerable<ListResourcesResponse, Resource> ListResourcesAsync(ListResourcesRequest request, CallSettings callSettings = null)
Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
Parameters | |
---|---|
Name | Description |
request | ListResourcesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListResourcesResponseResource | A pageable asynchronous sequence of Resource resources. |
ListRevisions(ListRevisionsRequest, CallSettings)
public override PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(ListRevisionsRequest request, CallSettings callSettings = null)
Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
Parameters | |
---|---|
Name | Description |
request | ListRevisionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListRevisionsResponseRevision | A pageable sequence of Revision resources. |
ListRevisionsAsync(ListRevisionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(ListRevisionsRequest request, CallSettings callSettings = null)
Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
Parameters | |
---|---|
Name | Description |
request | ListRevisionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListRevisionsResponseRevision | A pageable asynchronous sequence of Revision resources. |
LockDeployment(LockDeploymentRequest, CallSettings)
public override Operation<Deployment, OperationMetadata> LockDeployment(LockDeploymentRequest request, CallSettings callSettings = null)
Locks a deployment.
Parameters | |
---|---|
Name | Description |
request | LockDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDeploymentOperationMetadata | The RPC response. |
LockDeploymentAsync(LockDeploymentRequest, CallSettings)
public override Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(LockDeploymentRequest request, CallSettings callSettings = null)
Locks a deployment.
Parameters | |
---|---|
Name | Description |
request | LockDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDeploymentOperationMetadata | A Task containing the RPC response. |
UnlockDeployment(UnlockDeploymentRequest, CallSettings)
public override Operation<Deployment, OperationMetadata> UnlockDeployment(UnlockDeploymentRequest request, CallSettings callSettings = null)
Unlocks a locked deployment.
Parameters | |
---|---|
Name | Description |
request | UnlockDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDeploymentOperationMetadata | The RPC response. |
UnlockDeploymentAsync(UnlockDeploymentRequest, CallSettings)
public override Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(UnlockDeploymentRequest request, CallSettings callSettings = null)
Unlocks a locked deployment.
Parameters | |
---|---|
Name | Description |
request | UnlockDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDeploymentOperationMetadata | A Task containing the RPC response. |
UpdateDeployment(UpdateDeploymentRequest, CallSettings)
public override Operation<Deployment, OperationMetadata> UpdateDeployment(UpdateDeploymentRequest request, CallSettings callSettings = null)
Updates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | UpdateDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDeploymentOperationMetadata | The RPC response. |
UpdateDeploymentAsync(UpdateDeploymentRequest, CallSettings)
public override Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(UpdateDeploymentRequest request, CallSettings callSettings = null)
Updates a [Deployment][google.cloud.config.v1.Deployment].
Parameters | |
---|---|
Name | Description |
request | UpdateDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDeploymentOperationMetadata | A Task containing the RPC response. |