public abstract class TelcoAutomationClient
Reference documentation and code samples for the Telco Automation v1 API class TelcoAutomationClient.
TelcoAutomation client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.TelcoAutomation.V1Assembly
Google.Cloud.TelcoAutomation.V1.dll
Remarks
TelcoAutomation Service manages the control plane cluster a.k.a. Orchestration Cluster (GKE cluster with config controller) of TNA. It also exposes blueprint APIs which manages the lifecycle of blueprints that control the infrastructure setup (e.g GDCE clusters) and deployment of network functions.
Properties
CreateEdgeSlmOperationsClient
public virtual OperationsClient CreateEdgeSlmOperationsClient { get; }
The long-running operations client for CreateEdgeSlm
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateOrchestrationClusterOperationsClient
public virtual OperationsClient CreateOrchestrationClusterOperationsClient { get; }
The long-running operations client for CreateOrchestrationCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the TelcoAutomation service, which is a host of "telcoautomation.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
string |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default TelcoAutomation scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyListstring |
The default TelcoAutomation scopes are:
DeleteEdgeSlmOperationsClient
public virtual OperationsClient DeleteEdgeSlmOperationsClient { get; }
The long-running operations client for DeleteEdgeSlm
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteOrchestrationClusterOperationsClient
public virtual OperationsClient DeleteOrchestrationClusterOperationsClient { get; }
The long-running operations client for DeleteOrchestrationCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual TelcoAutomation.TelcoAutomationClient GrpcClient { get; }
The underlying gRPC TelcoAutomation client
Property Value | |
---|---|
Type | Description |
TelcoAutomationTelcoAutomationClient |
LocationsClient
public virtual LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
Methods
ApplyDeployment(ApplyDeploymentRequest, CallSettings)
public virtual Deployment ApplyDeployment(ApplyDeploymentRequest request, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyDeploymentRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ApplyDeploymentRequest request = new ApplyDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
Deployment response = telcoAutomationClient.ApplyDeployment(request);
ApplyDeployment(DeploymentName, CallSettings)
public virtual Deployment ApplyDeployment(DeploymentName name, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment to apply to orchestration cluster. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = telcoAutomationClient.ApplyDeployment(name);
ApplyDeployment(string, CallSettings)
public virtual Deployment ApplyDeployment(string name, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment to apply to orchestration cluster. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = telcoAutomationClient.ApplyDeployment(name);
ApplyDeploymentAsync(ApplyDeploymentRequest, CallSettings)
public virtual Task<Deployment> ApplyDeploymentAsync(ApplyDeploymentRequest request, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyDeploymentRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApplyDeploymentRequest request = new ApplyDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(request);
ApplyDeploymentAsync(ApplyDeploymentRequest, CancellationToken)
public virtual Task<Deployment> ApplyDeploymentAsync(ApplyDeploymentRequest request, CancellationToken cancellationToken)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApplyDeploymentRequest request = new ApplyDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(request);
ApplyDeploymentAsync(DeploymentName, CallSettings)
public virtual Task<Deployment> ApplyDeploymentAsync(DeploymentName name, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment to apply to orchestration cluster. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(name);
ApplyDeploymentAsync(DeploymentName, CancellationToken)
public virtual Task<Deployment> ApplyDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment to apply to orchestration cluster. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(name);
ApplyDeploymentAsync(string, CallSettings)
public virtual Task<Deployment> ApplyDeploymentAsync(string name, CallSettings callSettings = null)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment to apply to orchestration cluster. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(name);
ApplyDeploymentAsync(string, CancellationToken)
public virtual Task<Deployment> ApplyDeploymentAsync(string name, CancellationToken cancellationToken)
Applies the deployment's YAML files to the parent orchestration cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment to apply to orchestration cluster. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = await telcoAutomationClient.ApplyDeploymentAsync(name);
ApplyHydratedDeployment(ApplyHydratedDeploymentRequest, CallSettings)
public virtual HydratedDeployment ApplyHydratedDeployment(ApplyHydratedDeploymentRequest request, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyHydratedDeploymentRequest 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 |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ApplyHydratedDeploymentRequest request = new ApplyHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = telcoAutomationClient.ApplyHydratedDeployment(request);
ApplyHydratedDeployment(HydratedDeploymentName, CallSettings)
public virtual HydratedDeployment ApplyHydratedDeployment(HydratedDeploymentName name, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. The name of the hydrated deployment to apply. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = telcoAutomationClient.ApplyHydratedDeployment(name);
ApplyHydratedDeployment(string, CallSettings)
public virtual HydratedDeployment ApplyHydratedDeployment(string name, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the hydrated deployment to apply. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = telcoAutomationClient.ApplyHydratedDeployment(name);
ApplyHydratedDeploymentAsync(ApplyHydratedDeploymentRequest, CallSettings)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(ApplyHydratedDeploymentRequest request, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyHydratedDeploymentRequest 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 |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApplyHydratedDeploymentRequest request = new ApplyHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(request);
ApplyHydratedDeploymentAsync(ApplyHydratedDeploymentRequest, CancellationToken)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(ApplyHydratedDeploymentRequest request, CancellationToken cancellationToken)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
request |
ApplyHydratedDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApplyHydratedDeploymentRequest request = new ApplyHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(request);
ApplyHydratedDeploymentAsync(HydratedDeploymentName, CallSettings)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(HydratedDeploymentName name, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. The name of the hydrated deployment to apply. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(name);
ApplyHydratedDeploymentAsync(HydratedDeploymentName, CancellationToken)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(HydratedDeploymentName name, CancellationToken cancellationToken)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. The name of the hydrated deployment to apply. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(name);
ApplyHydratedDeploymentAsync(string, CallSettings)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(string name, CallSettings callSettings = null)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the hydrated deployment to apply. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(name);
ApplyHydratedDeploymentAsync(string, CancellationToken)
public virtual Task<HydratedDeployment> ApplyHydratedDeploymentAsync(string name, CancellationToken cancellationToken)
Applies a hydrated deployment to a workload cluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the hydrated deployment to apply. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = await telcoAutomationClient.ApplyHydratedDeploymentAsync(name);
ApproveBlueprint(ApproveBlueprintRequest, CallSettings)
public virtual Blueprint ApproveBlueprint(ApproveBlueprintRequest request, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
request |
ApproveBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ApproveBlueprintRequest request = new ApproveBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = telcoAutomationClient.ApproveBlueprint(request);
ApproveBlueprint(BlueprintName, CallSettings)
public virtual Blueprint ApproveBlueprint(BlueprintName name, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = telcoAutomationClient.ApproveBlueprint(name);
ApproveBlueprint(string, CallSettings)
public virtual Blueprint ApproveBlueprint(string name, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = telcoAutomationClient.ApproveBlueprint(name);
ApproveBlueprintAsync(ApproveBlueprintRequest, CallSettings)
public virtual Task<Blueprint> ApproveBlueprintAsync(ApproveBlueprintRequest request, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
request |
ApproveBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApproveBlueprintRequest request = new ApproveBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(request);
ApproveBlueprintAsync(ApproveBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> ApproveBlueprintAsync(ApproveBlueprintRequest request, CancellationToken cancellationToken)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
request |
ApproveBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ApproveBlueprintRequest request = new ApproveBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(request);
ApproveBlueprintAsync(BlueprintName, CallSettings)
public virtual Task<Blueprint> ApproveBlueprintAsync(BlueprintName name, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(name);
ApproveBlueprintAsync(BlueprintName, CancellationToken)
public virtual Task<Blueprint> ApproveBlueprintAsync(BlueprintName name, CancellationToken cancellationToken)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(name);
ApproveBlueprintAsync(string, CallSettings)
public virtual Task<Blueprint> ApproveBlueprintAsync(string name, CallSettings callSettings = null)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(name);
ApproveBlueprintAsync(string, CancellationToken)
public virtual Task<Blueprint> ApproveBlueprintAsync(string name, CancellationToken cancellationToken)
Approves a blueprint and commits a new revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.ApproveBlueprintAsync(name);
ComputeDeploymentStatus(ComputeDeploymentStatusRequest, CallSettings)
public virtual ComputeDeploymentStatusResponse ComputeDeploymentStatus(ComputeDeploymentStatusRequest request, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
request |
ComputeDeploymentStatusRequest 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 |
ComputeDeploymentStatusResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ComputeDeploymentStatusRequest request = new ComputeDeploymentStatusRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
ComputeDeploymentStatusResponse response = telcoAutomationClient.ComputeDeploymentStatus(request);
ComputeDeploymentStatus(DeploymentName, CallSettings)
public virtual ComputeDeploymentStatusResponse ComputeDeploymentStatus(DeploymentName name, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment without revisionID. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ComputeDeploymentStatusResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
ComputeDeploymentStatusResponse response = telcoAutomationClient.ComputeDeploymentStatus(name);
ComputeDeploymentStatus(string, CallSettings)
public virtual ComputeDeploymentStatusResponse ComputeDeploymentStatus(string name, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment without revisionID. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ComputeDeploymentStatusResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
ComputeDeploymentStatusResponse response = telcoAutomationClient.ComputeDeploymentStatus(name);
ComputeDeploymentStatusAsync(ComputeDeploymentStatusRequest, CallSettings)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(ComputeDeploymentStatusRequest request, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
request |
ComputeDeploymentStatusRequest 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 |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ComputeDeploymentStatusRequest request = new ComputeDeploymentStatusRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(request);
ComputeDeploymentStatusAsync(ComputeDeploymentStatusRequest, CancellationToken)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(ComputeDeploymentStatusRequest request, CancellationToken cancellationToken)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
request |
ComputeDeploymentStatusRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ComputeDeploymentStatusRequest request = new ComputeDeploymentStatusRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(request);
ComputeDeploymentStatusAsync(DeploymentName, CallSettings)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(DeploymentName name, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment without revisionID. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(name);
ComputeDeploymentStatusAsync(DeploymentName, CancellationToken)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(DeploymentName name, CancellationToken cancellationToken)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment without revisionID. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(name);
ComputeDeploymentStatusAsync(string, CallSettings)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(string name, CallSettings callSettings = null)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment without revisionID. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(name);
ComputeDeploymentStatusAsync(string, CancellationToken)
public virtual Task<ComputeDeploymentStatusResponse> ComputeDeploymentStatusAsync(string name, CancellationToken cancellationToken)
Returns the requested deployment status.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment without revisionID. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskComputeDeploymentStatusResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
ComputeDeploymentStatusResponse response = await telcoAutomationClient.ComputeDeploymentStatusAsync(name);
Create()
public static TelcoAutomationClient Create()
Synchronously creates a TelcoAutomationClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TelcoAutomationClientBuilder.
Returns | |
---|---|
Type | Description |
TelcoAutomationClient |
The created TelcoAutomationClient. |
CreateAsync(CancellationToken)
public static Task<TelcoAutomationClient> CreateAsync(CancellationToken cancellationToken = default)
Asynchronously creates a TelcoAutomationClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TelcoAutomationClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
TaskTelcoAutomationClient |
The task representing the created TelcoAutomationClient. |
CreateBlueprint(CreateBlueprintRequest, CallSettings)
public virtual Blueprint CreateBlueprint(CreateBlueprintRequest request, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
CreateBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
CreateBlueprintRequest request = new CreateBlueprintRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
BlueprintId = "",
Blueprint = new Blueprint(),
};
// Make the request
Blueprint response = telcoAutomationClient.CreateBlueprint(request);
CreateBlueprint(OrchestrationClusterName, Blueprint, string, CallSettings)
public virtual Blueprint CreateBlueprint(OrchestrationClusterName parent, Blueprint blueprint, string blueprintId, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = telcoAutomationClient.CreateBlueprint(parent, blueprint, blueprintId);
CreateBlueprint(string, Blueprint, string, CallSettings)
public virtual Blueprint CreateBlueprint(string parent, Blueprint blueprint, string blueprintId, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = telcoAutomationClient.CreateBlueprint(parent, blueprint, blueprintId);
CreateBlueprintAsync(CreateBlueprintRequest, CallSettings)
public virtual Task<Blueprint> CreateBlueprintAsync(CreateBlueprintRequest request, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
CreateBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateBlueprintRequest request = new CreateBlueprintRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
BlueprintId = "",
Blueprint = new Blueprint(),
};
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(request);
CreateBlueprintAsync(CreateBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> CreateBlueprintAsync(CreateBlueprintRequest request, CancellationToken cancellationToken)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
CreateBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateBlueprintRequest request = new CreateBlueprintRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
BlueprintId = "",
Blueprint = new Blueprint(),
};
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(request);
CreateBlueprintAsync(OrchestrationClusterName, Blueprint, string, CallSettings)
public virtual Task<Blueprint> CreateBlueprintAsync(OrchestrationClusterName parent, Blueprint blueprint, string blueprintId, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(parent, blueprint, blueprintId);
CreateBlueprintAsync(OrchestrationClusterName, Blueprint, string, CancellationToken)
public virtual Task<Blueprint> CreateBlueprintAsync(OrchestrationClusterName parent, Blueprint blueprint, string blueprintId, CancellationToken cancellationToken)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(parent, blueprint, blueprintId);
CreateBlueprintAsync(string, Blueprint, string, CallSettings)
public virtual Task<Blueprint> CreateBlueprintAsync(string parent, Blueprint blueprint, string blueprintId, CallSettings callSettings = null)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(parent, blueprint, blueprintId);
CreateBlueprintAsync(string, Blueprint, string, CancellationToken)
public virtual Task<Blueprint> CreateBlueprintAsync(string parent, Blueprint blueprint, string blueprintId, CancellationToken cancellationToken)
Creates a blueprint.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
blueprint |
Blueprint Required. The |
blueprintId |
string Optional. The name of the blueprint. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Blueprint blueprint = new Blueprint();
string blueprintId = "";
// Make the request
Blueprint response = await telcoAutomationClient.CreateBlueprintAsync(parent, blueprint, blueprintId);
CreateDeployment(CreateDeploymentRequest, CallSettings)
public virtual Deployment CreateDeployment(CreateDeploymentRequest request, CallSettings callSettings = null)
Creates a 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 |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
CreateDeploymentRequest request = new CreateDeploymentRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
DeploymentId = "",
Deployment = new Deployment(),
};
// Make the request
Deployment response = telcoAutomationClient.CreateDeployment(request);
CreateDeployment(OrchestrationClusterName, Deployment, string, CallSettings)
public virtual Deployment CreateDeployment(OrchestrationClusterName parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = telcoAutomationClient.CreateDeployment(parent, deployment, deploymentId);
CreateDeployment(string, Deployment, string, CallSettings)
public virtual Deployment CreateDeployment(string parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = telcoAutomationClient.CreateDeployment(parent, deployment, deploymentId);
CreateDeploymentAsync(CreateDeploymentRequest, CallSettings)
public virtual Task<Deployment> CreateDeploymentAsync(CreateDeploymentRequest request, CallSettings callSettings = null)
Creates a 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 |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateDeploymentRequest request = new CreateDeploymentRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
DeploymentId = "",
Deployment = new Deployment(),
};
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(request);
CreateDeploymentAsync(CreateDeploymentRequest, CancellationToken)
public virtual Task<Deployment> CreateDeploymentAsync(CreateDeploymentRequest request, CancellationToken cancellationToken)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
request |
CreateDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateDeploymentRequest request = new CreateDeploymentRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
DeploymentId = "",
Deployment = new Deployment(),
};
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(request);
CreateDeploymentAsync(OrchestrationClusterName, Deployment, string, CallSettings)
public virtual Task<Deployment> CreateDeploymentAsync(OrchestrationClusterName parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(parent, deployment, deploymentId);
CreateDeploymentAsync(OrchestrationClusterName, Deployment, string, CancellationToken)
public virtual Task<Deployment> CreateDeploymentAsync(OrchestrationClusterName parent, Deployment deployment, string deploymentId, CancellationToken cancellationToken)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(parent, deployment, deploymentId);
CreateDeploymentAsync(string, Deployment, string, CallSettings)
public virtual Task<Deployment> CreateDeploymentAsync(string parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(parent, deployment, deploymentId);
CreateDeploymentAsync(string, Deployment, string, CancellationToken)
public virtual Task<Deployment> CreateDeploymentAsync(string parent, Deployment deployment, string deploymentId, CancellationToken cancellationToken)
Creates a deployment.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
deployment |
Deployment Required. The |
deploymentId |
string Optional. The name of the deployment. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
Deployment deployment = new Deployment();
string deploymentId = "";
// Make the request
Deployment response = await telcoAutomationClient.CreateDeploymentAsync(parent, deployment, deploymentId);
CreateEdgeSlm(LocationName, EdgeSlm, string, CallSettings)
public virtual Operation<EdgeSlm, OperationMetadata> CreateEdgeSlm(LocationName parent, EdgeSlm edgeSlm, string edgeSlmId, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEdgeSlmOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = telcoAutomationClient.CreateEdgeSlm(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlm(CreateEdgeSlmRequest, CallSettings)
public virtual Operation<EdgeSlm, OperationMetadata> CreateEdgeSlm(CreateEdgeSlmRequest request, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateEdgeSlmRequest 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 |
OperationEdgeSlmOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
CreateEdgeSlmRequest request = new CreateEdgeSlmRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EdgeSlmId = "",
EdgeSlm = new EdgeSlm(),
RequestId = "",
};
// Make the request
Operation<EdgeSlm, OperationMetadata> response = telcoAutomationClient.CreateEdgeSlm(request);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlm(string, EdgeSlm, string, CallSettings)
public virtual Operation<EdgeSlm, OperationMetadata> CreateEdgeSlm(string parent, EdgeSlm edgeSlm, string edgeSlmId, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEdgeSlmOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = telcoAutomationClient.CreateEdgeSlm(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(LocationName, EdgeSlm, string, CallSettings)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(LocationName parent, EdgeSlm edgeSlm, string edgeSlmId, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(LocationName, EdgeSlm, string, CancellationToken)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(LocationName parent, EdgeSlm edgeSlm, string edgeSlmId, CancellationToken cancellationToken)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(CreateEdgeSlmRequest, CallSettings)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(CreateEdgeSlmRequest request, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateEdgeSlmRequest 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 |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateEdgeSlmRequest request = new CreateEdgeSlmRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EdgeSlmId = "",
EdgeSlm = new EdgeSlm(),
RequestId = "",
};
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(request);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(CreateEdgeSlmRequest, CancellationToken)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(CreateEdgeSlmRequest request, CancellationToken cancellationToken)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateEdgeSlmRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateEdgeSlmRequest request = new CreateEdgeSlmRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
EdgeSlmId = "",
EdgeSlm = new EdgeSlm(),
RequestId = "",
};
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(request);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(string, EdgeSlm, string, CallSettings)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(string parent, EdgeSlm edgeSlm, string edgeSlmId, CallSettings callSettings = null)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateEdgeSlmAsync(string, EdgeSlm, string, CancellationToken)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> CreateEdgeSlmAsync(string parent, EdgeSlm edgeSlm, string edgeSlmId, CancellationToken cancellationToken)
Creates a new EdgeSlm in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
edgeSlm |
EdgeSlm Required. The resource being created |
edgeSlmId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
EdgeSlm edgeSlm = new EdgeSlm();
string edgeSlmId = "";
// Make the request
Operation<EdgeSlm, OperationMetadata> response = await telcoAutomationClient.CreateEdgeSlmAsync(parent, edgeSlm, edgeSlmId);
// Poll until the returned long-running operation is complete
Operation<EdgeSlm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EdgeSlm result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EdgeSlm, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EdgeSlm retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationCluster(LocationName, OrchestrationCluster, string, CallSettings)
public virtual Operation<OrchestrationCluster, OperationMetadata> CreateOrchestrationCluster(LocationName parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationOrchestrationClusterOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = telcoAutomationClient.CreateOrchestrationCluster(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationCluster(CreateOrchestrationClusterRequest, CallSettings)
public virtual Operation<OrchestrationCluster, OperationMetadata> CreateOrchestrationCluster(CreateOrchestrationClusterRequest request, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateOrchestrationClusterRequest 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 |
OperationOrchestrationClusterOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
CreateOrchestrationClusterRequest request = new CreateOrchestrationClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrchestrationClusterId = "",
OrchestrationCluster = new OrchestrationCluster(),
RequestId = "",
};
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = telcoAutomationClient.CreateOrchestrationCluster(request);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationCluster(string, OrchestrationCluster, string, CallSettings)
public virtual Operation<OrchestrationCluster, OperationMetadata> CreateOrchestrationCluster(string parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationOrchestrationClusterOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = telcoAutomationClient.CreateOrchestrationCluster(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceCreateOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(LocationName, OrchestrationCluster, string, CallSettings)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(LocationName parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(LocationName, OrchestrationCluster, string, CancellationToken)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(LocationName parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CancellationToken cancellationToken)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(CreateOrchestrationClusterRequest, CallSettings)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(CreateOrchestrationClusterRequest request, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateOrchestrationClusterRequest 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 |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateOrchestrationClusterRequest request = new CreateOrchestrationClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrchestrationClusterId = "",
OrchestrationCluster = new OrchestrationCluster(),
RequestId = "",
};
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(CreateOrchestrationClusterRequest, CancellationToken)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(CreateOrchestrationClusterRequest request, CancellationToken cancellationToken)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateOrchestrationClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
CreateOrchestrationClusterRequest request = new CreateOrchestrationClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrchestrationClusterId = "",
OrchestrationCluster = new OrchestrationCluster(),
RequestId = "",
};
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(string, OrchestrationCluster, string, CallSettings)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(string parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CallSettings callSettings = null)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
CreateOrchestrationClusterAsync(string, OrchestrationCluster, string, CancellationToken)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> CreateOrchestrationClusterAsync(string parent, OrchestrationCluster orchestrationCluster, string orchestrationClusterId, CancellationToken cancellationToken)
Creates a new OrchestrationCluster in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent. |
orchestrationCluster |
OrchestrationCluster Required. The resource being created |
orchestrationClusterId |
string Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OrchestrationCluster orchestrationCluster = new OrchestrationCluster();
string orchestrationClusterId = "";
// Make the request
Operation<OrchestrationCluster, OperationMetadata> response = await telcoAutomationClient.CreateOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId);
// Poll until the returned long-running operation is complete
Operation<OrchestrationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OrchestrationCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OrchestrationCluster, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceCreateOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OrchestrationCluster retrievedResult = retrievedResponse.Result;
}
DeleteBlueprint(BlueprintName, CallSettings)
public virtual void DeleteBlueprint(BlueprintName name, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
telcoAutomationClient.DeleteBlueprint(name);
DeleteBlueprint(DeleteBlueprintRequest, CallSettings)
public virtual void DeleteBlueprint(DeleteBlueprintRequest request, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
request |
DeleteBlueprintRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeleteBlueprintRequest request = new DeleteBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
telcoAutomationClient.DeleteBlueprint(request);
DeleteBlueprint(string, CallSettings)
public virtual void DeleteBlueprint(string name, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
telcoAutomationClient.DeleteBlueprint(name);
DeleteBlueprintAsync(BlueprintName, CallSettings)
public virtual Task DeleteBlueprintAsync(BlueprintName name, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(name);
DeleteBlueprintAsync(BlueprintName, CancellationToken)
public virtual Task DeleteBlueprintAsync(BlueprintName name, CancellationToken cancellationToken)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(name);
DeleteBlueprintAsync(DeleteBlueprintRequest, CallSettings)
public virtual Task DeleteBlueprintAsync(DeleteBlueprintRequest request, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
request |
DeleteBlueprintRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteBlueprintRequest request = new DeleteBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(request);
DeleteBlueprintAsync(DeleteBlueprintRequest, CancellationToken)
public virtual Task DeleteBlueprintAsync(DeleteBlueprintRequest request, CancellationToken cancellationToken)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
request |
DeleteBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteBlueprintRequest request = new DeleteBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(request);
DeleteBlueprintAsync(string, CallSettings)
public virtual Task DeleteBlueprintAsync(string name, CallSettings callSettings = null)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(name);
DeleteBlueprintAsync(string, CancellationToken)
public virtual Task DeleteBlueprintAsync(string name, CancellationToken cancellationToken)
Deletes a blueprint and all its revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
await telcoAutomationClient.DeleteBlueprintAsync(name);
DeleteEdgeSlm(DeleteEdgeSlmRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteEdgeSlm(DeleteEdgeSlmRequest request, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
DeleteEdgeSlmRequest 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 |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeleteEdgeSlmRequest request = new DeleteEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteEdgeSlm(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlm(EdgeSlmName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteEdgeSlm(EdgeSlmName name, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteEdgeSlm(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlm(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteEdgeSlm(string name, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteEdgeSlm(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteEdgeSlm(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(DeleteEdgeSlmRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(DeleteEdgeSlmRequest request, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
DeleteEdgeSlmRequest 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 |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteEdgeSlmRequest request = new DeleteEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(DeleteEdgeSlmRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(DeleteEdgeSlmRequest request, CancellationToken cancellationToken)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
DeleteEdgeSlmRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteEdgeSlmRequest request = new DeleteEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(EdgeSlmName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(EdgeSlmName name, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(EdgeSlmName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(EdgeSlmName name, CancellationToken cancellationToken)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(string name, CallSettings callSettings = null)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEdgeSlmAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteEdgeSlmAsync(string name, CancellationToken cancellationToken)
Deletes a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteEdgeSlmAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteEdgeSlmAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationCluster(DeleteOrchestrationClusterRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOrchestrationCluster(DeleteOrchestrationClusterRequest request, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
DeleteOrchestrationClusterRequest 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 |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeleteOrchestrationClusterRequest request = new DeleteOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteOrchestrationCluster(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationCluster(OrchestrationClusterName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOrchestrationCluster(OrchestrationClusterName name, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteOrchestrationCluster(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationCluster(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOrchestrationCluster(string name, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = telcoAutomationClient.DeleteOrchestrationCluster(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = telcoAutomationClient.PollOnceDeleteOrchestrationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest request, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
DeleteOrchestrationClusterRequest 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 |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteOrchestrationClusterRequest request = new DeleteOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest request, CancellationToken cancellationToken)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
DeleteOrchestrationClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeleteOrchestrationClusterRequest request = new DeleteOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(OrchestrationClusterName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(OrchestrationClusterName name, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(OrchestrationClusterName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(OrchestrationClusterName name, CancellationToken cancellationToken)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(string name, CallSettings callSettings = null)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteOrchestrationClusterAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOrchestrationClusterAsync(string name, CancellationToken cancellationToken)
Deletes a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await telcoAutomationClient.DeleteOrchestrationClusterAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await telcoAutomationClient.PollOnceDeleteOrchestrationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DiscardBlueprintChanges(BlueprintName, CallSettings)
public virtual DiscardBlueprintChangesResponse DiscardBlueprintChanges(BlueprintName name, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DiscardBlueprintChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
DiscardBlueprintChangesResponse response = telcoAutomationClient.DiscardBlueprintChanges(name);
DiscardBlueprintChanges(DiscardBlueprintChangesRequest, CallSettings)
public virtual DiscardBlueprintChangesResponse DiscardBlueprintChanges(DiscardBlueprintChangesRequest request, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardBlueprintChangesRequest 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 |
DiscardBlueprintChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DiscardBlueprintChangesRequest request = new DiscardBlueprintChangesRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
DiscardBlueprintChangesResponse response = telcoAutomationClient.DiscardBlueprintChanges(request);
DiscardBlueprintChanges(string, CallSettings)
public virtual DiscardBlueprintChangesResponse DiscardBlueprintChanges(string name, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DiscardBlueprintChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
DiscardBlueprintChangesResponse response = telcoAutomationClient.DiscardBlueprintChanges(name);
DiscardBlueprintChangesAsync(BlueprintName, CallSettings)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(BlueprintName name, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(name);
DiscardBlueprintChangesAsync(BlueprintName, CancellationToken)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(BlueprintName name, CancellationToken cancellationToken)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint of which changes are being discarded. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(name);
DiscardBlueprintChangesAsync(DiscardBlueprintChangesRequest, CallSettings)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(DiscardBlueprintChangesRequest request, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardBlueprintChangesRequest 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 |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DiscardBlueprintChangesRequest request = new DiscardBlueprintChangesRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(request);
DiscardBlueprintChangesAsync(DiscardBlueprintChangesRequest, CancellationToken)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(DiscardBlueprintChangesRequest request, CancellationToken cancellationToken)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardBlueprintChangesRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DiscardBlueprintChangesRequest request = new DiscardBlueprintChangesRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(request);
DiscardBlueprintChangesAsync(string, CallSettings)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(string name, CallSettings callSettings = null)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(name);
DiscardBlueprintChangesAsync(string, CancellationToken)
public virtual Task<DiscardBlueprintChangesResponse> DiscardBlueprintChangesAsync(string name, CancellationToken cancellationToken)
Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint of which changes are being discarded. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardBlueprintChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
DiscardBlueprintChangesResponse response = await telcoAutomationClient.DiscardBlueprintChangesAsync(name);
DiscardDeploymentChanges(DeploymentName, CallSettings)
public virtual DiscardDeploymentChangesResponse DiscardDeploymentChanges(DeploymentName name, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DiscardDeploymentChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
DiscardDeploymentChangesResponse response = telcoAutomationClient.DiscardDeploymentChanges(name);
DiscardDeploymentChanges(DiscardDeploymentChangesRequest, CallSettings)
public virtual DiscardDeploymentChangesResponse DiscardDeploymentChanges(DiscardDeploymentChangesRequest request, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardDeploymentChangesRequest 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 |
DiscardDeploymentChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DiscardDeploymentChangesRequest request = new DiscardDeploymentChangesRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
DiscardDeploymentChangesResponse response = telcoAutomationClient.DiscardDeploymentChanges(request);
DiscardDeploymentChanges(string, CallSettings)
public virtual DiscardDeploymentChangesResponse DiscardDeploymentChanges(string name, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DiscardDeploymentChangesResponse |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
DiscardDeploymentChangesResponse response = telcoAutomationClient.DiscardDeploymentChanges(name);
DiscardDeploymentChangesAsync(DeploymentName, CallSettings)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(DeploymentName name, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(name);
DiscardDeploymentChangesAsync(DeploymentName, CancellationToken)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(DeploymentName name, CancellationToken cancellationToken)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment of which changes are being discarded. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(name);
DiscardDeploymentChangesAsync(DiscardDeploymentChangesRequest, CallSettings)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(DiscardDeploymentChangesRequest request, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardDeploymentChangesRequest 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 |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DiscardDeploymentChangesRequest request = new DiscardDeploymentChangesRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(request);
DiscardDeploymentChangesAsync(DiscardDeploymentChangesRequest, CancellationToken)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(DiscardDeploymentChangesRequest request, CancellationToken cancellationToken)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
request |
DiscardDeploymentChangesRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DiscardDeploymentChangesRequest request = new DiscardDeploymentChangesRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(request);
DiscardDeploymentChangesAsync(string, CallSettings)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(string name, CallSettings callSettings = null)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment of which changes are being discarded. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(name);
DiscardDeploymentChangesAsync(string, CancellationToken)
public virtual Task<DiscardDeploymentChangesResponse> DiscardDeploymentChangesAsync(string name, CancellationToken cancellationToken)
Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment of which changes are being discarded. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDiscardDeploymentChangesResponse |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
DiscardDeploymentChangesResponse response = await telcoAutomationClient.DiscardDeploymentChangesAsync(name);
GetBlueprint(BlueprintName, CallSettings)
public virtual Blueprint GetBlueprint(BlueprintName name, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = telcoAutomationClient.GetBlueprint(name);
GetBlueprint(GetBlueprintRequest, CallSettings)
public virtual Blueprint GetBlueprint(GetBlueprintRequest request, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetBlueprintRequest request = new GetBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
View = BlueprintView.Unspecified,
};
// Make the request
Blueprint response = telcoAutomationClient.GetBlueprint(request);
GetBlueprint(string, CallSettings)
public virtual Blueprint GetBlueprint(string name, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = telcoAutomationClient.GetBlueprint(name);
GetBlueprintAsync(BlueprintName, CallSettings)
public virtual Task<Blueprint> GetBlueprintAsync(BlueprintName name, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(name);
GetBlueprintAsync(BlueprintName, CancellationToken)
public virtual Task<Blueprint> GetBlueprintAsync(BlueprintName name, CancellationToken cancellationToken)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(name);
GetBlueprintAsync(GetBlueprintRequest, CallSettings)
public virtual Task<Blueprint> GetBlueprintAsync(GetBlueprintRequest request, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetBlueprintRequest request = new GetBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
View = BlueprintView.Unspecified,
};
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(request);
GetBlueprintAsync(GetBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> GetBlueprintAsync(GetBlueprintRequest request, CancellationToken cancellationToken)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetBlueprintRequest request = new GetBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
View = BlueprintView.Unspecified,
};
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(request);
GetBlueprintAsync(string, CallSettings)
public virtual Task<Blueprint> GetBlueprintAsync(string name, CallSettings callSettings = null)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(name);
GetBlueprintAsync(string, CancellationToken)
public virtual Task<Blueprint> GetBlueprintAsync(string name, CancellationToken cancellationToken)
Returns the requested blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.GetBlueprintAsync(name);
GetDeployment(DeploymentName, CallSettings)
public virtual Deployment GetDeployment(DeploymentName name, CallSettings callSettings = null)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = telcoAutomationClient.GetDeployment(name);
GetDeployment(GetDeploymentRequest, CallSettings)
public virtual Deployment GetDeployment(GetDeploymentRequest request, CallSettings callSettings = null)
Returns the requested 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetDeploymentRequest request = new GetDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
View = DeploymentView.Unspecified,
};
// Make the request
Deployment response = telcoAutomationClient.GetDeployment(request);
GetDeployment(string, CallSettings)
public virtual Deployment GetDeployment(string name, CallSettings callSettings = null)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = telcoAutomationClient.GetDeployment(name);
GetDeploymentAsync(DeploymentName, CallSettings)
public virtual Task<Deployment> GetDeploymentAsync(DeploymentName name, CallSettings callSettings = null)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(name);
GetDeploymentAsync(DeploymentName, CancellationToken)
public virtual Task<Deployment> GetDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(name);
GetDeploymentAsync(GetDeploymentRequest, CallSettings)
public virtual Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallSettings callSettings = null)
Returns the requested 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetDeploymentRequest request = new GetDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
View = DeploymentView.Unspecified,
};
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(request);
GetDeploymentAsync(GetDeploymentRequest, CancellationToken)
public virtual Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CancellationToken cancellationToken)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
request |
GetDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetDeploymentRequest request = new GetDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
View = DeploymentView.Unspecified,
};
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(request);
GetDeploymentAsync(string, CallSettings)
public virtual Task<Deployment> GetDeploymentAsync(string name, CallSettings callSettings = null)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(name);
GetDeploymentAsync(string, CancellationToken)
public virtual Task<Deployment> GetDeploymentAsync(string name, CancellationToken cancellationToken)
Returns the requested deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
Deployment response = await telcoAutomationClient.GetDeploymentAsync(name);
GetEdgeSlm(EdgeSlmName, CallSettings)
public virtual EdgeSlm GetEdgeSlm(EdgeSlmName name, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EdgeSlm |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
EdgeSlm response = telcoAutomationClient.GetEdgeSlm(name);
GetEdgeSlm(GetEdgeSlmRequest, CallSettings)
public virtual EdgeSlm GetEdgeSlm(GetEdgeSlmRequest request, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
GetEdgeSlmRequest 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 |
EdgeSlm |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetEdgeSlmRequest request = new GetEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
};
// Make the request
EdgeSlm response = telcoAutomationClient.GetEdgeSlm(request);
GetEdgeSlm(string, CallSettings)
public virtual EdgeSlm GetEdgeSlm(string name, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EdgeSlm |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
EdgeSlm response = telcoAutomationClient.GetEdgeSlm(name);
GetEdgeSlmAsync(EdgeSlmName, CallSettings)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(EdgeSlmName name, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(name);
GetEdgeSlmAsync(EdgeSlmName, CancellationToken)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(EdgeSlmName name, CancellationToken cancellationToken)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
EdgeSlmName Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
EdgeSlmName name = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(name);
GetEdgeSlmAsync(GetEdgeSlmRequest, CallSettings)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(GetEdgeSlmRequest request, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
GetEdgeSlmRequest 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 |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetEdgeSlmRequest request = new GetEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
};
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(request);
GetEdgeSlmAsync(GetEdgeSlmRequest, CancellationToken)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(GetEdgeSlmRequest request, CancellationToken cancellationToken)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
request |
GetEdgeSlmRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetEdgeSlmRequest request = new GetEdgeSlmRequest
{
EdgeSlmName = EdgeSlmName.FromProjectLocationEdgeSlm("[PROJECT]", "[LOCATION]", "[EDGE_SLM]"),
};
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(request);
GetEdgeSlmAsync(string, CallSettings)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(string name, CallSettings callSettings = null)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(name);
GetEdgeSlmAsync(string, CancellationToken)
public virtual Task<EdgeSlm> GetEdgeSlmAsync(string name, CancellationToken cancellationToken)
Gets details of a single EdgeSlm.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskEdgeSlm |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/edgeSlms/[EDGE_SLM]";
// Make the request
EdgeSlm response = await telcoAutomationClient.GetEdgeSlmAsync(name);
GetHydratedDeployment(GetHydratedDeploymentRequest, CallSettings)
public virtual HydratedDeployment GetHydratedDeployment(GetHydratedDeploymentRequest request, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
GetHydratedDeploymentRequest 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 |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetHydratedDeploymentRequest request = new GetHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = telcoAutomationClient.GetHydratedDeployment(request);
GetHydratedDeployment(HydratedDeploymentName, CallSettings)
public virtual HydratedDeployment GetHydratedDeployment(HydratedDeploymentName name, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. Name of the hydrated deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = telcoAutomationClient.GetHydratedDeployment(name);
GetHydratedDeployment(string, CallSettings)
public virtual HydratedDeployment GetHydratedDeployment(string name, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the hydrated deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = telcoAutomationClient.GetHydratedDeployment(name);
GetHydratedDeploymentAsync(GetHydratedDeploymentRequest, CallSettings)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(GetHydratedDeploymentRequest request, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
GetHydratedDeploymentRequest 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 |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetHydratedDeploymentRequest request = new GetHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(request);
GetHydratedDeploymentAsync(GetHydratedDeploymentRequest, CancellationToken)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(GetHydratedDeploymentRequest request, CancellationToken cancellationToken)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
GetHydratedDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetHydratedDeploymentRequest request = new GetHydratedDeploymentRequest
{
HydratedDeploymentName = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]"),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(request);
GetHydratedDeploymentAsync(HydratedDeploymentName, CallSettings)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(HydratedDeploymentName name, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. Name of the hydrated deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(name);
GetHydratedDeploymentAsync(HydratedDeploymentName, CancellationToken)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(HydratedDeploymentName name, CancellationToken cancellationToken)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
HydratedDeploymentName Required. Name of the hydrated deployment. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeploymentName name = HydratedDeploymentName.FromProjectLocationOrchestrationClusterDeploymentHydratedDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]", "[HYDRATED_DEPLOYMENT]");
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(name);
GetHydratedDeploymentAsync(string, CallSettings)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(string name, CallSettings callSettings = null)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the hydrated deployment. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(name);
GetHydratedDeploymentAsync(string, CancellationToken)
public virtual Task<HydratedDeployment> GetHydratedDeploymentAsync(string name, CancellationToken cancellationToken)
Returns the requested hydrated deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the hydrated deployment. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]/hydratedDeployments/[HYDRATED_DEPLOYMENT]";
// Make the request
HydratedDeployment response = await telcoAutomationClient.GetHydratedDeploymentAsync(name);
GetOrchestrationCluster(GetOrchestrationClusterRequest, CallSettings)
public virtual OrchestrationCluster GetOrchestrationCluster(GetOrchestrationClusterRequest request, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
GetOrchestrationClusterRequest 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 |
OrchestrationCluster |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetOrchestrationClusterRequest request = new GetOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
};
// Make the request
OrchestrationCluster response = telcoAutomationClient.GetOrchestrationCluster(request);
GetOrchestrationCluster(OrchestrationClusterName, CallSettings)
public virtual OrchestrationCluster GetOrchestrationCluster(OrchestrationClusterName name, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OrchestrationCluster |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
OrchestrationCluster response = telcoAutomationClient.GetOrchestrationCluster(name);
GetOrchestrationCluster(string, CallSettings)
public virtual OrchestrationCluster GetOrchestrationCluster(string name, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OrchestrationCluster |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
OrchestrationCluster response = telcoAutomationClient.GetOrchestrationCluster(name);
GetOrchestrationClusterAsync(GetOrchestrationClusterRequest, CallSettings)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(GetOrchestrationClusterRequest request, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
GetOrchestrationClusterRequest 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 |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetOrchestrationClusterRequest request = new GetOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
};
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(request);
GetOrchestrationClusterAsync(GetOrchestrationClusterRequest, CancellationToken)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(GetOrchestrationClusterRequest request, CancellationToken cancellationToken)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
request |
GetOrchestrationClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetOrchestrationClusterRequest request = new GetOrchestrationClusterRequest
{
OrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
};
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(request);
GetOrchestrationClusterAsync(OrchestrationClusterName, CallSettings)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(OrchestrationClusterName name, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(name);
GetOrchestrationClusterAsync(OrchestrationClusterName, CancellationToken)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(OrchestrationClusterName name, CancellationToken cancellationToken)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
OrchestrationClusterName Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName name = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(name);
GetOrchestrationClusterAsync(string, CallSettings)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(string name, CallSettings callSettings = null)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(name);
GetOrchestrationClusterAsync(string, CancellationToken)
public virtual Task<OrchestrationCluster> GetOrchestrationClusterAsync(string name, CancellationToken cancellationToken)
Gets details of a single OrchestrationCluster.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOrchestrationCluster |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
OrchestrationCluster response = await telcoAutomationClient.GetOrchestrationClusterAsync(name);
GetPublicBlueprint(GetPublicBlueprintRequest, CallSettings)
public virtual PublicBlueprint GetPublicBlueprint(GetPublicBlueprintRequest request, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetPublicBlueprintRequest 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 |
PublicBlueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
GetPublicBlueprintRequest request = new GetPublicBlueprintRequest
{
PublicBlueprintName = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]"),
};
// Make the request
PublicBlueprint response = telcoAutomationClient.GetPublicBlueprint(request);
GetPublicBlueprint(PublicBlueprintName, CallSettings)
public virtual PublicBlueprint GetPublicBlueprint(PublicBlueprintName name, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
PublicBlueprintName Required. The name of the public blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PublicBlueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
PublicBlueprintName name = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]");
// Make the request
PublicBlueprint response = telcoAutomationClient.GetPublicBlueprint(name);
GetPublicBlueprint(string, CallSettings)
public virtual PublicBlueprint GetPublicBlueprint(string name, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the public blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PublicBlueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/publicBlueprints/[PUBLIC_LUEPRINT]";
// Make the request
PublicBlueprint response = telcoAutomationClient.GetPublicBlueprint(name);
GetPublicBlueprintAsync(GetPublicBlueprintRequest, CallSettings)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(GetPublicBlueprintRequest request, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetPublicBlueprintRequest 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 |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetPublicBlueprintRequest request = new GetPublicBlueprintRequest
{
PublicBlueprintName = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]"),
};
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(request);
GetPublicBlueprintAsync(GetPublicBlueprintRequest, CancellationToken)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(GetPublicBlueprintRequest request, CancellationToken cancellationToken)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
request |
GetPublicBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
GetPublicBlueprintRequest request = new GetPublicBlueprintRequest
{
PublicBlueprintName = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]"),
};
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(request);
GetPublicBlueprintAsync(PublicBlueprintName, CallSettings)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(PublicBlueprintName name, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
PublicBlueprintName Required. The name of the public blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
PublicBlueprintName name = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]");
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(name);
GetPublicBlueprintAsync(PublicBlueprintName, CancellationToken)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(PublicBlueprintName name, CancellationToken cancellationToken)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
PublicBlueprintName Required. The name of the public blueprint. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
PublicBlueprintName name = PublicBlueprintName.FromProjectLocationPublicLueprint("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]");
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(name);
GetPublicBlueprintAsync(string, CallSettings)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(string name, CallSettings callSettings = null)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the public blueprint. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/publicBlueprints/[PUBLIC_LUEPRINT]";
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(name);
GetPublicBlueprintAsync(string, CancellationToken)
public virtual Task<PublicBlueprint> GetPublicBlueprintAsync(string name, CancellationToken cancellationToken)
Returns the requested public blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the public blueprint. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskPublicBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/publicBlueprints/[PUBLIC_LUEPRINT]";
// Make the request
PublicBlueprint response = await telcoAutomationClient.GetPublicBlueprintAsync(name);
ListBlueprintRevisions(BlueprintName, string, int?, CallSettings)
public virtual PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisions(BlueprintName name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisions(name);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintRevisions(ListBlueprintRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisions(ListBlueprintRevisionsRequest request, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
request |
ListBlueprintRevisionsRequest 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 |
PagedEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListBlueprintRevisionsRequest request = new ListBlueprintRevisionsRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisions(string name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
PagedEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisions(name);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintRevisionsAsync(BlueprintName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisionsAsync(BlueprintName name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisionsAsync(name);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintRevisionsAsync(ListBlueprintRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisionsAsync(ListBlueprintRevisionsRequest request, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
request |
ListBlueprintRevisionsRequest 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 |
PagedAsyncEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListBlueprintRevisionsRequest request = new ListBlueprintRevisionsRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> ListBlueprintRevisionsAsync(string name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List blueprint revisions of a given blueprint.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
PagedAsyncEnumerable<ListBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintRevisionsAsync(name);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprints(ListBlueprintsRequest, CallSettings)
public virtual PagedEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprints(ListBlueprintsRequest request, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
request |
ListBlueprintsRequest 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 |
PagedEnumerableListBlueprintsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListBlueprintsRequest request = new ListBlueprintsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprints(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprints(OrchestrationClusterName, string, int?, CallSettings)
public virtual PagedEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprints(OrchestrationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListBlueprintsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
PagedEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprints(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprints(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprints(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListBlueprintsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
PagedEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprints(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintsAsync(ListBlueprintsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprintsAsync(ListBlueprintsRequest request, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
request |
ListBlueprintsRequest 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 |
PagedAsyncEnumerableListBlueprintsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListBlueprintsRequest request = new ListBlueprintsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintsAsync(OrchestrationClusterName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprintsAsync(OrchestrationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListBlueprintsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBlueprintsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> ListBlueprintsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all blueprints.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListBlueprintsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListBlueprintsResponse, Blueprint> response = telcoAutomationClient.ListBlueprintsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisions(DeploymentName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisions(DeploymentName name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisions(name);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisions(ListDeploymentRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisions(ListDeploymentRevisionsRequest request, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
request |
ListDeploymentRevisionsRequest 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 |
PagedEnumerableListDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListDeploymentRevisionsRequest request = new ListDeploymentRevisionsRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisions(string name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
PagedEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisions(name);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisionsAsync(DeploymentName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisionsAsync(DeploymentName name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of the deployment to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisionsAsync(name);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisionsAsync(ListDeploymentRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisionsAsync(ListDeploymentRevisionsRequest request, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
request |
ListDeploymentRevisionsRequest 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 |
PagedAsyncEnumerableListDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListDeploymentRevisionsRequest request = new ListDeploymentRevisionsRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> ListDeploymentRevisionsAsync(string name, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List deployment revisions of a given deployment.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the deployment to list revisions for. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
PagedAsyncEnumerable<ListDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.ListDeploymentRevisionsAsync(name);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeployments(ListDeploymentsRequest, CallSettings)
public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(ListDeploymentsRequest request, CallSettings callSettings = null)
List all deployments.
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. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListDeploymentsRequest request = new ListDeploymentsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeployments(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeployments(OrchestrationClusterName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(OrchestrationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all deployments.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDeploymentsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
PagedEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeployments(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all deployments.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDeploymentsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
PagedEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(ListDeploymentsRequest request, CallSettings callSettings = null)
List all deployments.
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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListDeploymentsRequest request = new ListDeploymentsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeploymentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentsAsync(OrchestrationClusterName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(OrchestrationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all deployments.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDeploymentsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDeploymentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all deployments.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDeploymentsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = telcoAutomationClient.ListDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlms(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlms(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListEdgeSlmsRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlms(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EdgeSlm item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEdgeSlmsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlms(ListEdgeSlmsRequest, CallSettings)
public virtual PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlms(ListEdgeSlmsRequest request, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListEdgeSlmsRequest 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 |
PagedEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListEdgeSlmsRequest request = new ListEdgeSlmsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlms(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (EdgeSlm item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEdgeSlmsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlms(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlms(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListEdgeSlmsRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlms(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EdgeSlm item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEdgeSlmsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlmsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlmsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListEdgeSlmsRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable asynchronous sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlmsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EdgeSlm item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEdgeSlmsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlmsAsync(ListEdgeSlmsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlmsAsync(ListEdgeSlmsRequest request, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListEdgeSlmsRequest 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 |
PagedAsyncEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable asynchronous sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListEdgeSlmsRequest request = new ListEdgeSlmsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlmsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EdgeSlm item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEdgeSlmsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEdgeSlmsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> ListEdgeSlmsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EdgeSlms in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListEdgeSlmsRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListEdgeSlmsResponseEdgeSlm |
A pageable asynchronous sequence of EdgeSlm resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListEdgeSlmsResponse, EdgeSlm> response = telcoAutomationClient.ListEdgeSlmsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EdgeSlm item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEdgeSlmsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EdgeSlm item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EdgeSlm> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EdgeSlm item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeployments(DeploymentName, string, int?, CallSettings)
public virtual PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeployments(DeploymentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
parent |
DeploymentName Required. The deployment managing the hydrated deployments. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName parent = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (HydratedDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHydratedDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeployments(ListHydratedDeploymentsRequest, CallSettings)
public virtual PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeployments(ListHydratedDeploymentsRequest request, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
request |
ListHydratedDeploymentsRequest 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 |
PagedEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListHydratedDeploymentsRequest request = new ListHydratedDeploymentsRequest
{
ParentAsDeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeployments(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (HydratedDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHydratedDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeployments(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeployments(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The deployment managing the hydrated deployments. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
PagedEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (HydratedDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHydratedDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeploymentsAsync(DeploymentName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeploymentsAsync(DeploymentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
parent |
DeploymentName Required. The deployment managing the hydrated deployments. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable asynchronous sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName parent = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HydratedDeployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHydratedDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeploymentsAsync(ListHydratedDeploymentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeploymentsAsync(ListHydratedDeploymentsRequest request, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
request |
ListHydratedDeploymentsRequest 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 |
PagedAsyncEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable asynchronous sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListHydratedDeploymentsRequest request = new ListHydratedDeploymentsRequest
{
ParentAsDeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeploymentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HydratedDeployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHydratedDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListHydratedDeploymentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> ListHydratedDeploymentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
List all hydrated deployments present under a deployment.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The deployment managing the hydrated deployments. |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListHydratedDeploymentsResponseHydratedDeployment |
A pageable asynchronous sequence of HydratedDeployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
PagedAsyncEnumerable<ListHydratedDeploymentsResponse, HydratedDeployment> response = telcoAutomationClient.ListHydratedDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HydratedDeployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHydratedDeploymentsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (HydratedDeployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HydratedDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HydratedDeployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClusters(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListOrchestrationClustersRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClusters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OrchestrationCluster item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOrchestrationClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClusters(ListOrchestrationClustersRequest, CallSettings)
public virtual PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClusters(ListOrchestrationClustersRequest request, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListOrchestrationClustersRequest 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 |
PagedEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListOrchestrationClustersRequest request = new ListOrchestrationClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClusters(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (OrchestrationCluster item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOrchestrationClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClusters(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListOrchestrationClustersRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClusters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OrchestrationCluster item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListOrchestrationClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClustersAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListOrchestrationClustersRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable asynchronous sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClustersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OrchestrationCluster item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListOrchestrationClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClustersAsync(ListOrchestrationClustersRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClustersAsync(ListOrchestrationClustersRequest request, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListOrchestrationClustersRequest 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 |
PagedAsyncEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable asynchronous sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListOrchestrationClustersRequest request = new ListOrchestrationClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClustersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OrchestrationCluster item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListOrchestrationClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListOrchestrationClustersAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> ListOrchestrationClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists OrchestrationClusters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListOrchestrationClustersRequest |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListOrchestrationClustersResponseOrchestrationCluster |
A pageable asynchronous sequence of OrchestrationCluster resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListOrchestrationClustersResponse, OrchestrationCluster> response = telcoAutomationClient.ListOrchestrationClustersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OrchestrationCluster item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListOrchestrationClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OrchestrationCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<OrchestrationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (OrchestrationCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprints(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprints(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprints(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (PublicBlueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprints(ListPublicBlueprintsRequest, CallSettings)
public virtual PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprints(ListPublicBlueprintsRequest request, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
request |
ListPublicBlueprintsRequest 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 |
PagedEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ListPublicBlueprintsRequest request = new ListPublicBlueprintsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprints(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (PublicBlueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprints(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprints(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprints(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (PublicBlueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPublicBlueprintsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprintsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprintsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable asynchronous sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprintsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PublicBlueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListPublicBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprintsAsync(ListPublicBlueprintsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprintsAsync(ListPublicBlueprintsRequest request, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
request |
ListPublicBlueprintsRequest 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 |
PagedAsyncEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable asynchronous sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ListPublicBlueprintsRequest request = new ListPublicBlueprintsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprintsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PublicBlueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListPublicBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListPublicBlueprintsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> ListPublicBlueprintsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}". |
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListPublicBlueprintsResponsePublicBlueprint |
A pageable asynchronous sequence of PublicBlueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPublicBlueprintsResponse, PublicBlueprint> response = telcoAutomationClient.ListPublicBlueprintsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PublicBlueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListPublicBlueprintsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PublicBlueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<PublicBlueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (PublicBlueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
PollOnceCreateEdgeSlm(string, CallSettings)
public virtual Operation<EdgeSlm, OperationMetadata> PollOnceCreateEdgeSlm(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateEdgeSlm
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEdgeSlmOperationMetadata |
The result of polling the operation. |
PollOnceCreateEdgeSlmAsync(string, CallSettings)
public virtual Task<Operation<EdgeSlm, OperationMetadata>> PollOnceCreateEdgeSlmAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateEdgeSlm
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEdgeSlmOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateOrchestrationCluster(string, CallSettings)
public virtual Operation<OrchestrationCluster, OperationMetadata> PollOnceCreateOrchestrationCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
CreateOrchestrationCluster
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationOrchestrationClusterOperationMetadata |
The result of polling the operation. |
PollOnceCreateOrchestrationClusterAsync(string, CallSettings)
public virtual Task<Operation<OrchestrationCluster, OperationMetadata>> PollOnceCreateOrchestrationClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateOrchestrationCluster
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationOrchestrationClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteEdgeSlm(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteEdgeSlm(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteEdgeSlm
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteEdgeSlmAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteEdgeSlmAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteEdgeSlm
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteOrchestrationCluster(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteOrchestrationCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
DeleteOrchestrationCluster
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteOrchestrationClusterAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteOrchestrationClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteOrchestrationCluster
.
Parameters | |
---|---|
Name | Description |
operationName |
string The name of a previously invoked operation. Must not be |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
ProposeBlueprint(BlueprintName, CallSettings)
public virtual Blueprint ProposeBlueprint(BlueprintName name, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being proposed. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = telcoAutomationClient.ProposeBlueprint(name);
ProposeBlueprint(ProposeBlueprintRequest, CallSettings)
public virtual Blueprint ProposeBlueprint(ProposeBlueprintRequest request, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
request |
ProposeBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
ProposeBlueprintRequest request = new ProposeBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = telcoAutomationClient.ProposeBlueprint(request);
ProposeBlueprint(string, CallSettings)
public virtual Blueprint ProposeBlueprint(string name, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being proposed. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = telcoAutomationClient.ProposeBlueprint(name);
ProposeBlueprintAsync(BlueprintName, CallSettings)
public virtual Task<Blueprint> ProposeBlueprintAsync(BlueprintName name, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being proposed. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(name);
ProposeBlueprintAsync(BlueprintName, CancellationToken)
public virtual Task<Blueprint> ProposeBlueprintAsync(BlueprintName name, CancellationToken cancellationToken)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being proposed. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(name);
ProposeBlueprintAsync(ProposeBlueprintRequest, CallSettings)
public virtual Task<Blueprint> ProposeBlueprintAsync(ProposeBlueprintRequest request, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
request |
ProposeBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ProposeBlueprintRequest request = new ProposeBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(request);
ProposeBlueprintAsync(ProposeBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> ProposeBlueprintAsync(ProposeBlueprintRequest request, CancellationToken cancellationToken)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
request |
ProposeBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
ProposeBlueprintRequest request = new ProposeBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(request);
ProposeBlueprintAsync(string, CallSettings)
public virtual Task<Blueprint> ProposeBlueprintAsync(string name, CallSettings callSettings = null)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being proposed. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(name);
ProposeBlueprintAsync(string, CancellationToken)
public virtual Task<Blueprint> ProposeBlueprintAsync(string name, CancellationToken cancellationToken)
Proposes a blueprint for approval of changes.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being proposed. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.ProposeBlueprintAsync(name);
RejectBlueprint(BlueprintName, CallSettings)
public virtual Blueprint RejectBlueprint(BlueprintName name, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being rejected. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = telcoAutomationClient.RejectBlueprint(name);
RejectBlueprint(RejectBlueprintRequest, CallSettings)
public virtual Blueprint RejectBlueprint(RejectBlueprintRequest request, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
request |
RejectBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
RejectBlueprintRequest request = new RejectBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = telcoAutomationClient.RejectBlueprint(request);
RejectBlueprint(string, CallSettings)
public virtual Blueprint RejectBlueprint(string name, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being rejected. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = telcoAutomationClient.RejectBlueprint(name);
RejectBlueprintAsync(BlueprintName, CallSettings)
public virtual Task<Blueprint> RejectBlueprintAsync(BlueprintName name, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being rejected. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(name);
RejectBlueprintAsync(BlueprintName, CancellationToken)
public virtual Task<Blueprint> RejectBlueprintAsync(BlueprintName name, CancellationToken cancellationToken)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
BlueprintName Required. The name of the blueprint being rejected. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
BlueprintName name = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(name);
RejectBlueprintAsync(RejectBlueprintRequest, CallSettings)
public virtual Task<Blueprint> RejectBlueprintAsync(RejectBlueprintRequest request, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
request |
RejectBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RejectBlueprintRequest request = new RejectBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(request);
RejectBlueprintAsync(RejectBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> RejectBlueprintAsync(RejectBlueprintRequest request, CancellationToken cancellationToken)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
request |
RejectBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RejectBlueprintRequest request = new RejectBlueprintRequest
{
BlueprintName = BlueprintName.FromProjectLocationOrchestrationClusterBlueprint("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]"),
};
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(request);
RejectBlueprintAsync(string, CallSettings)
public virtual Task<Blueprint> RejectBlueprintAsync(string name, CallSettings callSettings = null)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being rejected. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(name);
RejectBlueprintAsync(string, CancellationToken)
public virtual Task<Blueprint> RejectBlueprintAsync(string name, CancellationToken cancellationToken)
Rejects a blueprint revision proposal and flips it back to Draft state.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of the blueprint being rejected. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/blueprints/[BLUEPRINT]";
// Make the request
Blueprint response = await telcoAutomationClient.RejectBlueprintAsync(name);
RemoveDeployment(DeploymentName, CallSettings)
public virtual void RemoveDeployment(DeploymentName name, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of deployment to initiate delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
telcoAutomationClient.RemoveDeployment(name);
RemoveDeployment(RemoveDeploymentRequest, CallSettings)
public virtual void RemoveDeployment(RemoveDeploymentRequest request, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
request |
RemoveDeploymentRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
RemoveDeploymentRequest request = new RemoveDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
telcoAutomationClient.RemoveDeployment(request);
RemoveDeployment(string, CallSettings)
public virtual void RemoveDeployment(string name, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of deployment to initiate delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
telcoAutomationClient.RemoveDeployment(name);
RemoveDeploymentAsync(DeploymentName, CallSettings)
public virtual Task RemoveDeploymentAsync(DeploymentName name, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of deployment to initiate delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(name);
RemoveDeploymentAsync(DeploymentName, CancellationToken)
public virtual Task RemoveDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. The name of deployment to initiate delete. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(name);
RemoveDeploymentAsync(RemoveDeploymentRequest, CallSettings)
public virtual Task RemoveDeploymentAsync(RemoveDeploymentRequest request, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
request |
RemoveDeploymentRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RemoveDeploymentRequest request = new RemoveDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(request);
RemoveDeploymentAsync(RemoveDeploymentRequest, CancellationToken)
public virtual Task RemoveDeploymentAsync(RemoveDeploymentRequest request, CancellationToken cancellationToken)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
request |
RemoveDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RemoveDeploymentRequest request = new RemoveDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
};
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(request);
RemoveDeploymentAsync(string, CallSettings)
public virtual Task RemoveDeploymentAsync(string name, CallSettings callSettings = null)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of deployment to initiate delete. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(name);
RemoveDeploymentAsync(string, CancellationToken)
public virtual Task RemoveDeploymentAsync(string name, CancellationToken cancellationToken)
Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
Parameters | |
---|---|
Name | Description |
name |
string Required. The name of deployment to initiate delete. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
// Make the request
await telcoAutomationClient.RemoveDeploymentAsync(name);
RollbackDeployment(DeploymentName, string, CallSettings)
public virtual Deployment RollbackDeployment(DeploymentName name, string revisionId, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
string revisionId = "";
// Make the request
Deployment response = telcoAutomationClient.RollbackDeployment(name, revisionId);
RollbackDeployment(RollbackDeploymentRequest, CallSettings)
public virtual Deployment RollbackDeployment(RollbackDeploymentRequest request, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
request |
RollbackDeploymentRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
RollbackDeploymentRequest request = new RollbackDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
RevisionId = "",
};
// Make the request
Deployment response = telcoAutomationClient.RollbackDeployment(request);
RollbackDeployment(string, string, CallSettings)
public virtual Deployment RollbackDeployment(string name, string revisionId, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
string revisionId = "";
// Make the request
Deployment response = telcoAutomationClient.RollbackDeployment(name, revisionId);
RollbackDeploymentAsync(DeploymentName, string, CallSettings)
public virtual Task<Deployment> RollbackDeploymentAsync(DeploymentName name, string revisionId, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
string revisionId = "";
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(name, revisionId);
RollbackDeploymentAsync(DeploymentName, string, CancellationToken)
public virtual Task<Deployment> RollbackDeploymentAsync(DeploymentName name, string revisionId, CancellationToken cancellationToken)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
DeploymentName Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
DeploymentName name = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
string revisionId = "";
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(name, revisionId);
RollbackDeploymentAsync(RollbackDeploymentRequest, CallSettings)
public virtual Task<Deployment> RollbackDeploymentAsync(RollbackDeploymentRequest request, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
request |
RollbackDeploymentRequest 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. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RollbackDeploymentRequest request = new RollbackDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
RevisionId = "",
};
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(request);
RollbackDeploymentAsync(RollbackDeploymentRequest, CancellationToken)
public virtual Task<Deployment> RollbackDeploymentAsync(RollbackDeploymentRequest request, CancellationToken cancellationToken)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
request |
RollbackDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
RollbackDeploymentRequest request = new RollbackDeploymentRequest
{
DeploymentName = DeploymentName.FromProjectLocationOrchestrationClusterDeployment("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]"),
RevisionId = "",
};
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(request);
RollbackDeploymentAsync(string, string, CallSettings)
public virtual Task<Deployment> RollbackDeploymentAsync(string name, string revisionId, CallSettings callSettings = null)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
string revisionId = "";
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(name, revisionId);
RollbackDeploymentAsync(string, string, CancellationToken)
public virtual Task<Deployment> RollbackDeploymentAsync(string name, string revisionId, CancellationToken cancellationToken)
Rollback the active deployment to the given past approved deployment revision.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the deployment. |
revisionId |
string Required. The revision id of deployment to roll back to. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]/deployments/[DEPLOYMENT]";
string revisionId = "";
// Make the request
Deployment response = await telcoAutomationClient.RollbackDeploymentAsync(name, revisionId);
SearchBlueprintRevisions(OrchestrationClusterName, string, string, int?, CallSettings)
public virtual PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisions(OrchestrationClusterName parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
string query = "";
// Make the request
PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisions(parent, query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchBlueprintRevisions(SearchBlueprintRevisionsRequest, CallSettings)
public virtual PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisions(SearchBlueprintRevisionsRequest request, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
request |
SearchBlueprintRevisionsRequest 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 |
PagedEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
SearchBlueprintRevisionsRequest request = new SearchBlueprintRevisionsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Query = "",
};
// Make the request
PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchBlueprintRevisions(string, string, string, int?, CallSettings)
public virtual PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisions(string parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
string query = "";
// Make the request
PagedEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisions(parent, query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Blueprint item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchBlueprintRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchBlueprintRevisionsAsync(OrchestrationClusterName, string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisionsAsync(OrchestrationClusterName parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
string query = "";
// Make the request
PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisionsAsync(parent, query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchBlueprintRevisionsAsync(SearchBlueprintRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisionsAsync(SearchBlueprintRevisionsRequest request, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
request |
SearchBlueprintRevisionsRequest 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 |
PagedAsyncEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
SearchBlueprintRevisionsRequest request = new SearchBlueprintRevisionsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Query = "",
};
// Make the request
PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchBlueprintRevisionsAsync(string, string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> SearchBlueprintRevisionsAsync(string parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across blueprint revisions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableSearchBlueprintRevisionsResponseBlueprint |
A pageable asynchronous sequence of Blueprint resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
string query = "";
// Make the request
PagedAsyncEnumerable<SearchBlueprintRevisionsResponse, Blueprint> response = telcoAutomationClient.SearchBlueprintRevisionsAsync(parent, query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Blueprint item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchBlueprintRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Blueprint item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Blueprint> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Blueprint item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisions(OrchestrationClusterName, string, string, int?, CallSettings)
public virtual PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisions(OrchestrationClusterName parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
string query = "";
// Make the request
PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisions(parent, query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisions(SearchDeploymentRevisionsRequest, CallSettings)
public virtual PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisions(SearchDeploymentRevisionsRequest request, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
request |
SearchDeploymentRevisionsRequest 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 |
PagedEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
SearchDeploymentRevisionsRequest request = new SearchDeploymentRevisionsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Query = "",
};
// Make the request
PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisions(string, string, string, int?, CallSettings)
public virtual PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisions(string parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
string query = "";
// Make the request
PagedEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisions(parent, query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Deployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchDeploymentRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisionsAsync(OrchestrationClusterName, string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisionsAsync(OrchestrationClusterName parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
parent |
OrchestrationClusterName Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
OrchestrationClusterName parent = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
string query = "";
// Make the request
PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisionsAsync(parent, query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisionsAsync(SearchDeploymentRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisionsAsync(SearchDeploymentRevisionsRequest request, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
request |
SearchDeploymentRevisionsRequest 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 |
PagedAsyncEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
SearchDeploymentRevisionsRequest request = new SearchDeploymentRevisionsRequest
{
ParentAsOrchestrationClusterName = OrchestrationClusterName.FromProjectLocationOrchestrationCluster("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]"),
Query = "",
};
// Make the request
PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchDeploymentRevisionsAsync(string, string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> SearchDeploymentRevisionsAsync(string parent, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches across deployment revisions.
Parameters | |
---|---|
Name | Description |
parent |
string Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
query |
string Required. Supported queries:
|
pageToken |
string The token returned from the previous request. A value of |
pageSize |
int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableSearchDeploymentRevisionsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/orchestrationClusters/[ORCHESTRATION_CLUSTER]";
string query = "";
// Make the request
PagedAsyncEnumerable<SearchDeploymentRevisionsResponse, Deployment> response = telcoAutomationClient.SearchDeploymentRevisionsAsync(parent, query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Deployment item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchDeploymentRevisionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Deployment item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Deployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Deployment item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateBlueprint(Blueprint, FieldMask, CallSettings)
public virtual Blueprint UpdateBlueprint(Blueprint blueprint, FieldMask updateMask, CallSettings callSettings = null)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
blueprint |
Blueprint Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
Blueprint blueprint = new Blueprint();
FieldMask updateMask = new FieldMask();
// Make the request
Blueprint response = telcoAutomationClient.UpdateBlueprint(blueprint, updateMask);
UpdateBlueprint(UpdateBlueprintRequest, CallSettings)
public virtual Blueprint UpdateBlueprint(UpdateBlueprintRequest request, CallSettings callSettings = null)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
UpdateBlueprintRequest 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 |
Blueprint |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
UpdateBlueprintRequest request = new UpdateBlueprintRequest
{
Blueprint = new Blueprint(),
UpdateMask = new FieldMask(),
};
// Make the request
Blueprint response = telcoAutomationClient.UpdateBlueprint(request);
UpdateBlueprintAsync(Blueprint, FieldMask, CallSettings)
public virtual Task<Blueprint> UpdateBlueprintAsync(Blueprint blueprint, FieldMask updateMask, CallSettings callSettings = null)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
blueprint |
Blueprint Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
Blueprint blueprint = new Blueprint();
FieldMask updateMask = new FieldMask();
// Make the request
Blueprint response = await telcoAutomationClient.UpdateBlueprintAsync(blueprint, updateMask);
UpdateBlueprintAsync(Blueprint, FieldMask, CancellationToken)
public virtual Task<Blueprint> UpdateBlueprintAsync(Blueprint blueprint, FieldMask updateMask, CancellationToken cancellationToken)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
blueprint |
Blueprint Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
Blueprint blueprint = new Blueprint();
FieldMask updateMask = new FieldMask();
// Make the request
Blueprint response = await telcoAutomationClient.UpdateBlueprintAsync(blueprint, updateMask);
UpdateBlueprintAsync(UpdateBlueprintRequest, CallSettings)
public virtual Task<Blueprint> UpdateBlueprintAsync(UpdateBlueprintRequest request, CallSettings callSettings = null)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
UpdateBlueprintRequest 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 |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateBlueprintRequest request = new UpdateBlueprintRequest
{
Blueprint = new Blueprint(),
UpdateMask = new FieldMask(),
};
// Make the request
Blueprint response = await telcoAutomationClient.UpdateBlueprintAsync(request);
UpdateBlueprintAsync(UpdateBlueprintRequest, CancellationToken)
public virtual Task<Blueprint> UpdateBlueprintAsync(UpdateBlueprintRequest request, CancellationToken cancellationToken)
Updates a blueprint.
Parameters | |
---|---|
Name | Description |
request |
UpdateBlueprintRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskBlueprint |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateBlueprintRequest request = new UpdateBlueprintRequest
{
Blueprint = new Blueprint(),
UpdateMask = new FieldMask(),
};
// Make the request
Blueprint response = await telcoAutomationClient.UpdateBlueprintAsync(request);
UpdateDeployment(Deployment, FieldMask, CallSettings)
public virtual Deployment UpdateDeployment(Deployment deployment, FieldMask updateMask, CallSettings callSettings = null)
Updates a deployment.
Parameters | |
---|---|
Name | Description |
deployment |
Deployment Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
Deployment deployment = new Deployment();
FieldMask updateMask = new FieldMask();
// Make the request
Deployment response = telcoAutomationClient.UpdateDeployment(deployment, updateMask);
UpdateDeployment(UpdateDeploymentRequest, CallSettings)
public virtual Deployment UpdateDeployment(UpdateDeploymentRequest request, CallSettings callSettings = null)
Updates a 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 |
Deployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
UpdateDeploymentRequest request = new UpdateDeploymentRequest
{
Deployment = new Deployment(),
UpdateMask = new FieldMask(),
};
// Make the request
Deployment response = telcoAutomationClient.UpdateDeployment(request);
UpdateDeploymentAsync(Deployment, FieldMask, CallSettings)
public virtual Task<Deployment> UpdateDeploymentAsync(Deployment deployment, FieldMask updateMask, CallSettings callSettings = null)
Updates a deployment.
Parameters | |
---|---|
Name | Description |
deployment |
Deployment Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
Deployment deployment = new Deployment();
FieldMask updateMask = new FieldMask();
// Make the request
Deployment response = await telcoAutomationClient.UpdateDeploymentAsync(deployment, updateMask);
UpdateDeploymentAsync(Deployment, FieldMask, CancellationToken)
public virtual Task<Deployment> UpdateDeploymentAsync(Deployment deployment, FieldMask updateMask, CancellationToken cancellationToken)
Updates a deployment.
Parameters | |
---|---|
Name | Description |
deployment |
Deployment Required. The |
updateMask |
FieldMask Required. Update mask is used to specify the fields to be overwritten in
the |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
Deployment deployment = new Deployment();
FieldMask updateMask = new FieldMask();
// Make the request
Deployment response = await telcoAutomationClient.UpdateDeploymentAsync(deployment, updateMask);
UpdateDeploymentAsync(UpdateDeploymentRequest, CallSettings)
public virtual Task<Deployment> UpdateDeploymentAsync(UpdateDeploymentRequest request, CallSettings callSettings = null)
Updates a 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 |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateDeploymentRequest request = new UpdateDeploymentRequest
{
Deployment = new Deployment(),
UpdateMask = new FieldMask(),
};
// Make the request
Deployment response = await telcoAutomationClient.UpdateDeploymentAsync(request);
UpdateDeploymentAsync(UpdateDeploymentRequest, CancellationToken)
public virtual Task<Deployment> UpdateDeploymentAsync(UpdateDeploymentRequest request, CancellationToken cancellationToken)
Updates a deployment.
Parameters | |
---|---|
Name | Description |
request |
UpdateDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateDeploymentRequest request = new UpdateDeploymentRequest
{
Deployment = new Deployment(),
UpdateMask = new FieldMask(),
};
// Make the request
Deployment response = await telcoAutomationClient.UpdateDeploymentAsync(request);
UpdateHydratedDeployment(HydratedDeployment, FieldMask, CallSettings)
public virtual HydratedDeployment UpdateHydratedDeployment(HydratedDeployment hydratedDeployment, FieldMask updateMask, CallSettings callSettings = null)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
hydratedDeployment |
HydratedDeployment Required. The hydrated deployment to update. |
updateMask |
FieldMask Required. The list of fields to update. Update mask supports a special
value |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
HydratedDeployment hydratedDeployment = new HydratedDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
HydratedDeployment response = telcoAutomationClient.UpdateHydratedDeployment(hydratedDeployment, updateMask);
UpdateHydratedDeployment(UpdateHydratedDeploymentRequest, CallSettings)
public virtual HydratedDeployment UpdateHydratedDeployment(UpdateHydratedDeploymentRequest request, CallSettings callSettings = null)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
UpdateHydratedDeploymentRequest 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 |
HydratedDeployment |
The RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.Create();
// Initialize request argument(s)
UpdateHydratedDeploymentRequest request = new UpdateHydratedDeploymentRequest
{
HydratedDeployment = new HydratedDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
HydratedDeployment response = telcoAutomationClient.UpdateHydratedDeployment(request);
UpdateHydratedDeploymentAsync(HydratedDeployment, FieldMask, CallSettings)
public virtual Task<HydratedDeployment> UpdateHydratedDeploymentAsync(HydratedDeployment hydratedDeployment, FieldMask updateMask, CallSettings callSettings = null)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
hydratedDeployment |
HydratedDeployment Required. The hydrated deployment to update. |
updateMask |
FieldMask Required. The list of fields to update. Update mask supports a special
value |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeployment hydratedDeployment = new HydratedDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
HydratedDeployment response = await telcoAutomationClient.UpdateHydratedDeploymentAsync(hydratedDeployment, updateMask);
UpdateHydratedDeploymentAsync(HydratedDeployment, FieldMask, CancellationToken)
public virtual Task<HydratedDeployment> UpdateHydratedDeploymentAsync(HydratedDeployment hydratedDeployment, FieldMask updateMask, CancellationToken cancellationToken)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
hydratedDeployment |
HydratedDeployment Required. The hydrated deployment to update. |
updateMask |
FieldMask Required. The list of fields to update. Update mask supports a special
value |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
HydratedDeployment hydratedDeployment = new HydratedDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
HydratedDeployment response = await telcoAutomationClient.UpdateHydratedDeploymentAsync(hydratedDeployment, updateMask);
UpdateHydratedDeploymentAsync(UpdateHydratedDeploymentRequest, CallSettings)
public virtual Task<HydratedDeployment> UpdateHydratedDeploymentAsync(UpdateHydratedDeploymentRequest request, CallSettings callSettings = null)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
UpdateHydratedDeploymentRequest 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 |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateHydratedDeploymentRequest request = new UpdateHydratedDeploymentRequest
{
HydratedDeployment = new HydratedDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.UpdateHydratedDeploymentAsync(request);
UpdateHydratedDeploymentAsync(UpdateHydratedDeploymentRequest, CancellationToken)
public virtual Task<HydratedDeployment> UpdateHydratedDeploymentAsync(UpdateHydratedDeploymentRequest request, CancellationToken cancellationToken)
Updates a hydrated deployment.
Parameters | |
---|---|
Name | Description |
request |
UpdateHydratedDeploymentRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskHydratedDeployment |
A Task containing the RPC response. |
// Create client
TelcoAutomationClient telcoAutomationClient = await TelcoAutomationClient.CreateAsync();
// Initialize request argument(s)
UpdateHydratedDeploymentRequest request = new UpdateHydratedDeploymentRequest
{
HydratedDeployment = new HydratedDeployment(),
UpdateMask = new FieldMask(),
};
// Make the request
HydratedDeployment response = await telcoAutomationClient.UpdateHydratedDeploymentAsync(request);