VMware Engine v1 API - Class VmwareEngineClient (1.3.0)

public abstract class VmwareEngineClient

Reference documentation and code samples for the VMware Engine v1 API class VmwareEngineClient.

VmwareEngine client wrapper, for convenient use.

Inheritance

object > VmwareEngineClient

Derived Types

Namespace

Google.Cloud.VmwareEngine.V1

Assembly

Google.Cloud.VmwareEngine.V1.dll

Remarks

VMwareEngine manages VMware's private clusters in the Cloud.

Properties

CreateClusterOperationsClient

public virtual OperationsClient CreateClusterOperationsClient { get; }

The long-running operations client for CreateCluster.

Property Value
Type Description
OperationsClient

CreateExternalAccessRuleOperationsClient

public virtual OperationsClient CreateExternalAccessRuleOperationsClient { get; }

The long-running operations client for CreateExternalAccessRule.

Property Value
Type Description
OperationsClient

CreateExternalAddressOperationsClient

public virtual OperationsClient CreateExternalAddressOperationsClient { get; }

The long-running operations client for CreateExternalAddress.

Property Value
Type Description
OperationsClient

CreateHcxActivationKeyOperationsClient

public virtual OperationsClient CreateHcxActivationKeyOperationsClient { get; }

The long-running operations client for CreateHcxActivationKey.

Property Value
Type Description
OperationsClient

CreateLoggingServerOperationsClient

public virtual OperationsClient CreateLoggingServerOperationsClient { get; }

The long-running operations client for CreateLoggingServer.

Property Value
Type Description
OperationsClient

CreateManagementDnsZoneBindingOperationsClient

public virtual OperationsClient CreateManagementDnsZoneBindingOperationsClient { get; }

The long-running operations client for CreateManagementDnsZoneBinding.

Property Value
Type Description
OperationsClient

CreateNetworkPeeringOperationsClient

public virtual OperationsClient CreateNetworkPeeringOperationsClient { get; }

The long-running operations client for CreateNetworkPeering.

Property Value
Type Description
OperationsClient

CreateNetworkPolicyOperationsClient

public virtual OperationsClient CreateNetworkPolicyOperationsClient { get; }

The long-running operations client for CreateNetworkPolicy.

Property Value
Type Description
OperationsClient

CreatePrivateCloudOperationsClient

public virtual OperationsClient CreatePrivateCloudOperationsClient { get; }

The long-running operations client for CreatePrivateCloud.

Property Value
Type Description
OperationsClient

CreatePrivateConnectionOperationsClient

public virtual OperationsClient CreatePrivateConnectionOperationsClient { get; }

The long-running operations client for CreatePrivateConnection.

Property Value
Type Description
OperationsClient

CreateVmwareEngineNetworkOperationsClient

public virtual OperationsClient CreateVmwareEngineNetworkOperationsClient { get; }

The long-running operations client for CreateVmwareEngineNetwork.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the VmwareEngine service, which is a host of "vmwareengine.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default VmwareEngine scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default VmwareEngine scopes are:

DeleteClusterOperationsClient

public virtual OperationsClient DeleteClusterOperationsClient { get; }

The long-running operations client for DeleteCluster.

Property Value
Type Description
OperationsClient

DeleteExternalAccessRuleOperationsClient

public virtual OperationsClient DeleteExternalAccessRuleOperationsClient { get; }

The long-running operations client for DeleteExternalAccessRule.

Property Value
Type Description
OperationsClient

DeleteExternalAddressOperationsClient

public virtual OperationsClient DeleteExternalAddressOperationsClient { get; }

The long-running operations client for DeleteExternalAddress.

Property Value
Type Description
OperationsClient

DeleteLoggingServerOperationsClient

public virtual OperationsClient DeleteLoggingServerOperationsClient { get; }

The long-running operations client for DeleteLoggingServer.

Property Value
Type Description
OperationsClient

DeleteManagementDnsZoneBindingOperationsClient

public virtual OperationsClient DeleteManagementDnsZoneBindingOperationsClient { get; }

The long-running operations client for DeleteManagementDnsZoneBinding.

Property Value
Type Description
OperationsClient

DeleteNetworkPeeringOperationsClient

public virtual OperationsClient DeleteNetworkPeeringOperationsClient { get; }

The long-running operations client for DeleteNetworkPeering.

Property Value
Type Description
OperationsClient

DeleteNetworkPolicyOperationsClient

public virtual OperationsClient DeleteNetworkPolicyOperationsClient { get; }

The long-running operations client for DeleteNetworkPolicy.

Property Value
Type Description
OperationsClient

DeletePrivateCloudOperationsClient

public virtual OperationsClient DeletePrivateCloudOperationsClient { get; }

The long-running operations client for DeletePrivateCloud.

Property Value
Type Description
OperationsClient

DeletePrivateConnectionOperationsClient

public virtual OperationsClient DeletePrivateConnectionOperationsClient { get; }

The long-running operations client for DeletePrivateConnection.

Property Value
Type Description
OperationsClient

DeleteVmwareEngineNetworkOperationsClient

public virtual OperationsClient DeleteVmwareEngineNetworkOperationsClient { get; }

The long-running operations client for DeleteVmwareEngineNetwork.

Property Value
Type Description
OperationsClient

GrantDnsBindPermissionOperationsClient

public virtual OperationsClient GrantDnsBindPermissionOperationsClient { get; }

The long-running operations client for GrantDnsBindPermission.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual VmwareEngine.VmwareEngineClient GrpcClient { get; }

The underlying gRPC VmwareEngine client

Property Value
Type Description
VmwareEngineVmwareEngineClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

RepairManagementDnsZoneBindingOperationsClient

public virtual OperationsClient RepairManagementDnsZoneBindingOperationsClient { get; }

The long-running operations client for RepairManagementDnsZoneBinding.

Property Value
Type Description
OperationsClient

ResetNsxCredentialsOperationsClient

public virtual OperationsClient ResetNsxCredentialsOperationsClient { get; }

The long-running operations client for ResetNsxCredentials.

Property Value
Type Description
OperationsClient

ResetVcenterCredentialsOperationsClient

public virtual OperationsClient ResetVcenterCredentialsOperationsClient { get; }

The long-running operations client for ResetVcenterCredentials.

Property Value
Type Description
OperationsClient

RevokeDnsBindPermissionOperationsClient

public virtual OperationsClient RevokeDnsBindPermissionOperationsClient { get; }

The long-running operations client for RevokeDnsBindPermission.

Property Value
Type Description
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UndeletePrivateCloudOperationsClient

public virtual OperationsClient UndeletePrivateCloudOperationsClient { get; }

The long-running operations client for UndeletePrivateCloud.

Property Value
Type Description
OperationsClient

UpdateClusterOperationsClient

public virtual OperationsClient UpdateClusterOperationsClient { get; }

The long-running operations client for UpdateCluster.

Property Value
Type Description
OperationsClient

UpdateDnsForwardingOperationsClient

public virtual OperationsClient UpdateDnsForwardingOperationsClient { get; }

The long-running operations client for UpdateDnsForwarding.

Property Value
Type Description
OperationsClient

UpdateExternalAccessRuleOperationsClient

public virtual OperationsClient UpdateExternalAccessRuleOperationsClient { get; }

The long-running operations client for UpdateExternalAccessRule.

Property Value
Type Description
OperationsClient

UpdateExternalAddressOperationsClient

public virtual OperationsClient UpdateExternalAddressOperationsClient { get; }

The long-running operations client for UpdateExternalAddress.

Property Value
Type Description
OperationsClient

UpdateLoggingServerOperationsClient

public virtual OperationsClient UpdateLoggingServerOperationsClient { get; }

The long-running operations client for UpdateLoggingServer.

Property Value
Type Description
OperationsClient

UpdateManagementDnsZoneBindingOperationsClient

public virtual OperationsClient UpdateManagementDnsZoneBindingOperationsClient { get; }

The long-running operations client for UpdateManagementDnsZoneBinding.

Property Value
Type Description
OperationsClient

UpdateNetworkPeeringOperationsClient

public virtual OperationsClient UpdateNetworkPeeringOperationsClient { get; }

The long-running operations client for UpdateNetworkPeering.

Property Value
Type Description
OperationsClient

UpdateNetworkPolicyOperationsClient

public virtual OperationsClient UpdateNetworkPolicyOperationsClient { get; }

The long-running operations client for UpdateNetworkPolicy.

Property Value
Type Description
OperationsClient

UpdatePrivateCloudOperationsClient

public virtual OperationsClient UpdatePrivateCloudOperationsClient { get; }

The long-running operations client for UpdatePrivateCloud.

Property Value
Type Description
OperationsClient

UpdatePrivateConnectionOperationsClient

public virtual OperationsClient UpdatePrivateConnectionOperationsClient { get; }

The long-running operations client for UpdatePrivateConnection.

Property Value
Type Description
OperationsClient

UpdateSubnetOperationsClient

public virtual OperationsClient UpdateSubnetOperationsClient { get; }

The long-running operations client for UpdateSubnet.

Property Value
Type Description
OperationsClient

UpdateVmwareEngineNetworkOperationsClient

public virtual OperationsClient UpdateVmwareEngineNetworkOperationsClient { get; }

The long-running operations client for UpdateVmwareEngineNetwork.

Property Value
Type Description
OperationsClient

Methods

Create()

public static VmwareEngineClient Create()

Synchronously creates a VmwareEngineClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use VmwareEngineClientBuilder.

Returns
Type Description
VmwareEngineClient

The created VmwareEngineClient.

CreateAsync(CancellationToken)

public static Task<VmwareEngineClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a VmwareEngineClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use VmwareEngineClientBuilder.

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskVmwareEngineClient

The task representing the created VmwareEngineClient.

CreateCluster(CreateClusterRequest, CallSettings)

public virtual Operation<Cluster, OperationMetadata> CreateCluster(CreateClusterRequest request, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
request CreateClusterRequest

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
OperationClusterOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ClusterId = "",
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = vmwareEngineClient.CreateCluster(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateCluster(PrivateCloudName, Cluster, string, CallSettings)

public virtual Operation<Cluster, OperationMetadata> CreateCluster(PrivateCloudName parent, Cluster cluster, string clusterId, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClusterOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = vmwareEngineClient.CreateCluster(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateCluster(string, Cluster, string, CallSettings)

public virtual Operation<Cluster, OperationMetadata> CreateCluster(string parent, Cluster cluster, string clusterId, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClusterOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = vmwareEngineClient.CreateCluster(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(CreateClusterRequest, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(CreateClusterRequest request, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
request CreateClusterRequest

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
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ClusterId = "",
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(CreateClusterRequest, CancellationToken)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(CreateClusterRequest request, CancellationToken cancellationToken)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
request CreateClusterRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ClusterId = "",
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(PrivateCloudName, Cluster, string, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(PrivateCloudName parent, Cluster cluster, string clusterId, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(PrivateCloudName, Cluster, string, CancellationToken)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(PrivateCloudName parent, Cluster cluster, string clusterId, CancellationToken cancellationToken)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(string, Cluster, string, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(string parent, Cluster cluster, string clusterId, CallSettings callSettings = null)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateClusterAsync(string, Cluster, string, CancellationToken)

public virtual Task<Operation<Cluster, OperationMetadata>> CreateClusterAsync(string parent, Cluster cluster, string clusterId, CancellationToken cancellationToken)

Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cluster Cluster

Required. The initial description of the new cluster.

clusterId string

Required. The user-provided identifier of the new Cluster. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
Cluster cluster = new Cluster();
string clusterId = "";
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.CreateClusterAsync(parent, cluster, clusterId);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRule(CreateExternalAccessRuleRequest, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> CreateExternalAccessRule(CreateExternalAccessRuleRequest request, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
request CreateExternalAccessRuleRequest

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
OperationExternalAccessRuleOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateExternalAccessRuleRequest request = new CreateExternalAccessRuleRequest
{
    ParentAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    ExternalAccessRule = new ExternalAccessRule(),
    ExternalAccessRuleId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = vmwareEngineClient.CreateExternalAccessRule(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAccessRule(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRule(NetworkPolicyName, ExternalAccessRule, string, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> CreateExternalAccessRule(NetworkPolicyName parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent NetworkPolicyName

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAccessRuleOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicyName parent = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = vmwareEngineClient.CreateExternalAccessRule(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAccessRule(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRule(string, ExternalAccessRule, string, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> CreateExternalAccessRule(string parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent string

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAccessRuleOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = vmwareEngineClient.CreateExternalAccessRule(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAccessRule(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(CreateExternalAccessRuleRequest, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(CreateExternalAccessRuleRequest request, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
request CreateExternalAccessRuleRequest

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
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateExternalAccessRuleRequest request = new CreateExternalAccessRuleRequest
{
    ParentAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    ExternalAccessRule = new ExternalAccessRule(),
    ExternalAccessRuleId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(CreateExternalAccessRuleRequest, CancellationToken)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(CreateExternalAccessRuleRequest request, CancellationToken cancellationToken)

Creates a new external access rule in a given network policy.

Parameters
Name Description
request CreateExternalAccessRuleRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateExternalAccessRuleRequest request = new CreateExternalAccessRuleRequest
{
    ParentAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    ExternalAccessRule = new ExternalAccessRule(),
    ExternalAccessRuleId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(NetworkPolicyName, ExternalAccessRule, string, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(NetworkPolicyName parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent NetworkPolicyName

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName parent = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(NetworkPolicyName, ExternalAccessRule, string, CancellationToken)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(NetworkPolicyName parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CancellationToken cancellationToken)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent NetworkPolicyName

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName parent = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(string, ExternalAccessRule, string, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(string parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CallSettings callSettings = null)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent string

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAccessRuleAsync(string, ExternalAccessRule, string, CancellationToken)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> CreateExternalAccessRuleAsync(string parent, ExternalAccessRule externalAccessRule, string externalAccessRuleId, CancellationToken cancellationToken)

Creates a new external access rule in a given network policy.

Parameters
Name Description
parent string

Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

externalAccessRule ExternalAccessRule

Required. The initial description of a new external access rule.

externalAccessRuleId string

Required. The user-provided identifier of the ExternalAccessRule to be created. This identifier must be unique among ExternalAccessRule resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
string externalAccessRuleId = "";
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.CreateExternalAccessRuleAsync(parent, externalAccessRule, externalAccessRuleId);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

CreateExternalAddress(CreateExternalAddressRequest, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> CreateExternalAddress(CreateExternalAddressRequest request, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
request CreateExternalAddressRequest

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
OperationExternalAddressOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateExternalAddressRequest request = new CreateExternalAddressRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ExternalAddress = new ExternalAddress(),
    ExternalAddressId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = vmwareEngineClient.CreateExternalAddress(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAddress(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddress(PrivateCloudName, ExternalAddress, string, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> CreateExternalAddress(PrivateCloudName parent, ExternalAddress externalAddress, string externalAddressId, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAddressOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = vmwareEngineClient.CreateExternalAddress(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAddress(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddress(string, ExternalAddress, string, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> CreateExternalAddress(string parent, ExternalAddress externalAddress, string externalAddressId, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAddressOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = vmwareEngineClient.CreateExternalAddress(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateExternalAddress(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(CreateExternalAddressRequest, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(CreateExternalAddressRequest request, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
request CreateExternalAddressRequest

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
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateExternalAddressRequest request = new CreateExternalAddressRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ExternalAddress = new ExternalAddress(),
    ExternalAddressId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(CreateExternalAddressRequest, CancellationToken)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(CreateExternalAddressRequest request, CancellationToken cancellationToken)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
request CreateExternalAddressRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateExternalAddressRequest request = new CreateExternalAddressRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ExternalAddress = new ExternalAddress(),
    ExternalAddressId = "",
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(PrivateCloudName, ExternalAddress, string, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(PrivateCloudName parent, ExternalAddress externalAddress, string externalAddressId, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(PrivateCloudName, ExternalAddress, string, CancellationToken)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(PrivateCloudName parent, ExternalAddress externalAddress, string externalAddressId, CancellationToken cancellationToken)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(string, ExternalAddress, string, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(string parent, ExternalAddress externalAddress, string externalAddressId, CallSettings callSettings = null)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateExternalAddressAsync(string, ExternalAddress, string, CancellationToken)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> CreateExternalAddressAsync(string parent, ExternalAddress externalAddress, string externalAddressId, CancellationToken cancellationToken)

Creates a new ExternalAddress resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (NetworkPolicy.external_ip).

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

externalAddress ExternalAddress

Required. The initial description of a new external IP address.

externalAddressId string

Required. The user-provided identifier of the ExternalAddress to be created. This identifier must be unique among ExternalAddress resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ExternalAddress externalAddress = new ExternalAddress();
string externalAddressId = "";
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.CreateExternalAddressAsync(parent, externalAddress, externalAddressId);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKey(CreateHcxActivationKeyRequest, CallSettings)

public virtual Operation<HcxActivationKey, OperationMetadata> CreateHcxActivationKey(CreateHcxActivationKeyRequest request, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
request CreateHcxActivationKeyRequest

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
OperationHcxActivationKeyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateHcxActivationKeyRequest request = new CreateHcxActivationKeyRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    HcxActivationKey = new HcxActivationKey(),
    HcxActivationKeyId = "",
    RequestId = "",
};
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = vmwareEngineClient.CreateHcxActivationKey(request);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateHcxActivationKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKey(PrivateCloudName, HcxActivationKey, string, CallSettings)

public virtual Operation<HcxActivationKey, OperationMetadata> CreateHcxActivationKey(PrivateCloudName parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationHcxActivationKeyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = vmwareEngineClient.CreateHcxActivationKey(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateHcxActivationKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKey(string, HcxActivationKey, string, CallSettings)

public virtual Operation<HcxActivationKey, OperationMetadata> CreateHcxActivationKey(string parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationHcxActivationKeyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = vmwareEngineClient.CreateHcxActivationKey(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateHcxActivationKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(CreateHcxActivationKeyRequest, CallSettings)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(CreateHcxActivationKeyRequest request, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
request CreateHcxActivationKeyRequest

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
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateHcxActivationKeyRequest request = new CreateHcxActivationKeyRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    HcxActivationKey = new HcxActivationKey(),
    HcxActivationKeyId = "",
    RequestId = "",
};
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(CreateHcxActivationKeyRequest, CancellationToken)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(CreateHcxActivationKeyRequest request, CancellationToken cancellationToken)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
request CreateHcxActivationKeyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateHcxActivationKeyRequest request = new CreateHcxActivationKeyRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    HcxActivationKey = new HcxActivationKey(),
    HcxActivationKeyId = "",
    RequestId = "",
};
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(PrivateCloudName, HcxActivationKey, string, CallSettings)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(PrivateCloudName parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(PrivateCloudName, HcxActivationKey, string, CancellationToken)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(PrivateCloudName parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CancellationToken cancellationToken)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(string, HcxActivationKey, string, CallSettings)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(string parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CallSettings callSettings = null)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateHcxActivationKeyAsync(string, HcxActivationKey, string, CancellationToken)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> CreateHcxActivationKeyAsync(string parent, HcxActivationKey hcxActivationKey, string hcxActivationKeyId, CancellationToken cancellationToken)

Creates a new HCX activation key in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

hcxActivationKey HcxActivationKey

Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object.

hcxActivationKeyId string

Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
HcxActivationKey hcxActivationKey = new HcxActivationKey();
string hcxActivationKeyId = "";
// Make the request
Operation<HcxActivationKey, OperationMetadata> response = await vmwareEngineClient.CreateHcxActivationKeyAsync(parent, hcxActivationKey, hcxActivationKeyId);

// Poll until the returned long-running operation is complete
Operation<HcxActivationKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
HcxActivationKey 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<HcxActivationKey, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateHcxActivationKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    HcxActivationKey retrievedResult = retrievedResponse.Result;
}

CreateLoggingServer(CreateLoggingServerRequest, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> CreateLoggingServer(CreateLoggingServerRequest request, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
request CreateLoggingServerRequest

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
OperationLoggingServerOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateLoggingServerRequest request = new CreateLoggingServerRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    LoggingServer = new LoggingServer(),
    LoggingServerId = "",
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = vmwareEngineClient.CreateLoggingServer(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateLoggingServer(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServer(PrivateCloudName, LoggingServer, string, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> CreateLoggingServer(PrivateCloudName parent, LoggingServer loggingServer, string loggingServerId, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLoggingServerOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = vmwareEngineClient.CreateLoggingServer(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateLoggingServer(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServer(string, LoggingServer, string, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> CreateLoggingServer(string parent, LoggingServer loggingServer, string loggingServerId, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLoggingServerOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = vmwareEngineClient.CreateLoggingServer(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateLoggingServer(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(CreateLoggingServerRequest, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(CreateLoggingServerRequest request, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
request CreateLoggingServerRequest

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
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateLoggingServerRequest request = new CreateLoggingServerRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    LoggingServer = new LoggingServer(),
    LoggingServerId = "",
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(CreateLoggingServerRequest, CancellationToken)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(CreateLoggingServerRequest request, CancellationToken cancellationToken)

Create a new logging server for a given private cloud.

Parameters
Name Description
request CreateLoggingServerRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateLoggingServerRequest request = new CreateLoggingServerRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    LoggingServer = new LoggingServer(),
    LoggingServerId = "",
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(PrivateCloudName, LoggingServer, string, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(PrivateCloudName parent, LoggingServer loggingServer, string loggingServerId, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(PrivateCloudName, LoggingServer, string, CancellationToken)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(PrivateCloudName parent, LoggingServer loggingServer, string loggingServerId, CancellationToken cancellationToken)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(string, LoggingServer, string, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(string parent, LoggingServer loggingServer, string loggingServerId, CallSettings callSettings = null)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateLoggingServerAsync(string, LoggingServer, string, CancellationToken)

public virtual Task<Operation<LoggingServer, OperationMetadata>> CreateLoggingServerAsync(string parent, LoggingServer loggingServer, string loggingServerId, CancellationToken cancellationToken)

Create a new logging server for a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

loggingServer LoggingServer

Required. The initial description of a new logging server.

loggingServerId string

Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
LoggingServer loggingServer = new LoggingServer();
string loggingServerId = "";
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.CreateLoggingServerAsync(parent, loggingServer, loggingServerId);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> CreateManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
request CreateManagementDnsZoneBindingRequest

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
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateManagementDnsZoneBindingRequest request = new CreateManagementDnsZoneBindingRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    ManagementDnsZoneBindingId = "",
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.CreateManagementDnsZoneBinding(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBinding(PrivateCloudName, ManagementDnsZoneBinding, string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> CreateManagementDnsZoneBinding(PrivateCloudName parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.CreateManagementDnsZoneBinding(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBinding(string, ManagementDnsZoneBinding, string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> CreateManagementDnsZoneBinding(string parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.CreateManagementDnsZoneBinding(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(CreateManagementDnsZoneBindingRequest, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(CreateManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
request CreateManagementDnsZoneBindingRequest

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
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateManagementDnsZoneBindingRequest request = new CreateManagementDnsZoneBindingRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    ManagementDnsZoneBindingId = "",
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(CreateManagementDnsZoneBindingRequest, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(CreateManagementDnsZoneBindingRequest request, CancellationToken cancellationToken)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
request CreateManagementDnsZoneBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateManagementDnsZoneBindingRequest request = new CreateManagementDnsZoneBindingRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    ManagementDnsZoneBindingId = "",
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(PrivateCloudName, ManagementDnsZoneBinding, string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(PrivateCloudName parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(PrivateCloudName, ManagementDnsZoneBinding, string, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(PrivateCloudName parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CancellationToken cancellationToken)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(string, ManagementDnsZoneBinding, string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(string parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CallSettings callSettings = null)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateManagementDnsZoneBindingAsync(string, ManagementDnsZoneBinding, string, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> CreateManagementDnsZoneBindingAsync(string parent, ManagementDnsZoneBinding managementDnsZoneBinding, string managementDnsZoneBindingId, CancellationToken cancellationToken)

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

managementDnsZoneBinding ManagementDnsZoneBinding

Required. The initial values for a new management DNS zone binding.

managementDnsZoneBindingId string

Required. The user-provided identifier of the ManagementDnsZoneBinding resource to be created. This identifier must be unique among ManagementDnsZoneBinding resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
string managementDnsZoneBindingId = "";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.CreateManagementDnsZoneBindingAsync(parent, managementDnsZoneBinding, managementDnsZoneBindingId);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeering(LocationName, NetworkPeering, string, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> CreateNetworkPeering(LocationName parent, NetworkPeering networkPeering, string networkPeeringId, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPeeringOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = vmwareEngineClient.CreateNetworkPeering(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPeering(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeering(CreateNetworkPeeringRequest, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> CreateNetworkPeering(CreateNetworkPeeringRequest request, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request CreateNetworkPeeringRequest

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
OperationNetworkPeeringOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateNetworkPeeringRequest request = new CreateNetworkPeeringRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPeeringId = "",
    NetworkPeering = new NetworkPeering(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = vmwareEngineClient.CreateNetworkPeering(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPeering(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeering(string, NetworkPeering, string, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> CreateNetworkPeering(string parent, NetworkPeering networkPeering, string networkPeeringId, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPeeringOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = vmwareEngineClient.CreateNetworkPeering(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPeering(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(LocationName, NetworkPeering, string, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(LocationName parent, NetworkPeering networkPeering, string networkPeeringId, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(LocationName, NetworkPeering, string, CancellationToken)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(LocationName parent, NetworkPeering networkPeering, string networkPeeringId, CancellationToken cancellationToken)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(CreateNetworkPeeringRequest, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(CreateNetworkPeeringRequest request, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request CreateNetworkPeeringRequest

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
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateNetworkPeeringRequest request = new CreateNetworkPeeringRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPeeringId = "",
    NetworkPeering = new NetworkPeering(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(CreateNetworkPeeringRequest, CancellationToken)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(CreateNetworkPeeringRequest request, CancellationToken cancellationToken)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request CreateNetworkPeeringRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateNetworkPeeringRequest request = new CreateNetworkPeeringRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPeeringId = "",
    NetworkPeering = new NetworkPeering(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(string, NetworkPeering, string, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(string parent, NetworkPeering networkPeering, string networkPeeringId, CallSettings callSettings = null)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPeeringAsync(string, NetworkPeering, string, CancellationToken)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> CreateNetworkPeeringAsync(string parent, NetworkPeering networkPeering, string networkPeeringId, CancellationToken cancellationToken)

Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

networkPeering NetworkPeering

Required. The initial description of the new network peering.

networkPeeringId string

Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPeering networkPeering = new NetworkPeering();
string networkPeeringId = "";
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPeeringAsync(parent, networkPeering, networkPeeringId);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicy(LocationName, NetworkPolicy, string, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> CreateNetworkPolicy(LocationName parent, NetworkPolicy networkPolicy, string networkPolicyId, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPolicyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = vmwareEngineClient.CreateNetworkPolicy(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicy(CreateNetworkPolicyRequest, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> CreateNetworkPolicy(CreateNetworkPolicyRequest request, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
request CreateNetworkPolicyRequest

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
OperationNetworkPolicyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateNetworkPolicyRequest request = new CreateNetworkPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPolicyId = "",
    NetworkPolicy = new NetworkPolicy(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = vmwareEngineClient.CreateNetworkPolicy(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicy(string, NetworkPolicy, string, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> CreateNetworkPolicy(string parent, NetworkPolicy networkPolicy, string networkPolicyId, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent string

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPolicyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = vmwareEngineClient.CreateNetworkPolicy(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateNetworkPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(LocationName, NetworkPolicy, string, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(LocationName parent, NetworkPolicy networkPolicy, string networkPolicyId, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(LocationName, NetworkPolicy, string, CancellationToken)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(LocationName parent, NetworkPolicy networkPolicy, string networkPolicyId, CancellationToken cancellationToken)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(CreateNetworkPolicyRequest, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(CreateNetworkPolicyRequest request, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
request CreateNetworkPolicyRequest

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
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateNetworkPolicyRequest request = new CreateNetworkPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPolicyId = "",
    NetworkPolicy = new NetworkPolicy(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(CreateNetworkPolicyRequest, CancellationToken)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(CreateNetworkPolicyRequest request, CancellationToken cancellationToken)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
request CreateNetworkPolicyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateNetworkPolicyRequest request = new CreateNetworkPolicyRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    NetworkPolicyId = "",
    NetworkPolicy = new NetworkPolicy(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(string, NetworkPolicy, string, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(string parent, NetworkPolicy networkPolicy, string networkPolicyId, CallSettings callSettings = null)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent string

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreateNetworkPolicyAsync(string, NetworkPolicy, string, CancellationToken)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> CreateNetworkPolicyAsync(string parent, NetworkPolicy networkPolicy, string networkPolicyId, CancellationToken cancellationToken)

Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.

Parameters
Name Description
parent string

Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

networkPolicy NetworkPolicy

Required. The network policy configuration to use in the request.

networkPolicyId string

Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent projects/{my-project}/locations/{us-central1}/networkPolicies and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
NetworkPolicy networkPolicy = new NetworkPolicy();
string networkPolicyId = "";
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.CreateNetworkPolicyAsync(parent, networkPolicy, networkPolicyId);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloud(LocationName, PrivateCloud, string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> CreatePrivateCloud(LocationName parent, PrivateCloud privateCloud, string privateCloudId, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.CreatePrivateCloud(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloud(CreatePrivateCloudRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> CreatePrivateCloud(CreatePrivateCloudRequest request, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
request CreatePrivateCloudRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreatePrivateCloudRequest request = new CreatePrivateCloudRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateCloudId = "",
    PrivateCloud = new PrivateCloud(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.CreatePrivateCloud(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloud(string, PrivateCloud, string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> CreatePrivateCloud(string parent, PrivateCloud privateCloud, string privateCloudId, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.CreatePrivateCloud(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(LocationName, PrivateCloud, string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(LocationName parent, PrivateCloud privateCloud, string privateCloudId, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(LocationName, PrivateCloud, string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(LocationName parent, PrivateCloud privateCloud, string privateCloudId, CancellationToken cancellationToken)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(CreatePrivateCloudRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(CreatePrivateCloudRequest request, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
request CreatePrivateCloudRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreatePrivateCloudRequest request = new CreatePrivateCloudRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateCloudId = "",
    PrivateCloud = new PrivateCloud(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(CreatePrivateCloudRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(CreatePrivateCloudRequest request, CancellationToken cancellationToken)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
request CreatePrivateCloudRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreatePrivateCloudRequest request = new CreatePrivateCloudRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateCloudId = "",
    PrivateCloud = new PrivateCloud(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(string, PrivateCloud, string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(string parent, PrivateCloud privateCloud, string privateCloudId, CallSettings callSettings = null)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateCloudAsync(string, PrivateCloud, string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> CreatePrivateCloudAsync(string parent, PrivateCloud privateCloud, string privateCloudId, CancellationToken cancellationToken)

Creates a new PrivateCloud resource in a given project and location. Private clouds of type STANDARD and TIME_LIMITED are zonal resources, STRETCHED private clouds are regional. Creating a private cloud also creates a management cluster for that private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateCloud privateCloud = new PrivateCloud();
string privateCloudId = "";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.CreatePrivateCloudAsync(parent, privateCloud, privateCloudId);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnection(LocationName, PrivateConnection, string, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> CreatePrivateConnection(LocationName parent, PrivateConnection privateConnection, string privateConnectionId, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateConnectionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = vmwareEngineClient.CreatePrivateConnection(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateConnection(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnection(CreatePrivateConnectionRequest, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> CreatePrivateConnection(CreatePrivateConnectionRequest request, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
request CreatePrivateConnectionRequest

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
OperationPrivateConnectionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreatePrivateConnectionRequest request = new CreatePrivateConnectionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateConnectionId = "",
    PrivateConnection = new PrivateConnection(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = vmwareEngineClient.CreatePrivateConnection(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateConnection(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnection(string, PrivateConnection, string, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> CreatePrivateConnection(string parent, PrivateConnection privateConnection, string privateConnectionId, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateConnectionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = vmwareEngineClient.CreatePrivateConnection(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreatePrivateConnection(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(LocationName, PrivateConnection, string, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(LocationName parent, PrivateConnection privateConnection, string privateConnectionId, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(LocationName, PrivateConnection, string, CancellationToken)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(LocationName parent, PrivateConnection privateConnection, string privateConnectionId, CancellationToken cancellationToken)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(CreatePrivateConnectionRequest, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(CreatePrivateConnectionRequest request, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
request CreatePrivateConnectionRequest

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
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreatePrivateConnectionRequest request = new CreatePrivateConnectionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateConnectionId = "",
    PrivateConnection = new PrivateConnection(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(CreatePrivateConnectionRequest, CancellationToken)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(CreatePrivateConnectionRequest request, CancellationToken cancellationToken)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
request CreatePrivateConnectionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreatePrivateConnectionRequest request = new CreatePrivateConnectionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    PrivateConnectionId = "",
    PrivateConnection = new PrivateConnection(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(string, PrivateConnection, string, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(string parent, PrivateConnection privateConnection, string privateConnectionId, CallSettings callSettings = null)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreatePrivateConnectionAsync(string, PrivateConnection, string, CancellationToken)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> CreatePrivateConnectionAsync(string parent, PrivateConnection privateConnection, string privateConnectionId, CancellationToken cancellationToken)

Creates a new private connection that can be used for accessing private Clouds.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

privateConnection PrivateConnection

Required. The initial description of the new private connection.

privateConnectionId string

Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
PrivateConnection privateConnection = new PrivateConnection();
string privateConnectionId = "";
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.CreatePrivateConnectionAsync(parent, privateConnection, privateConnectionId);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetwork(LocationName, VmwareEngineNetwork, string, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> CreateVmwareEngineNetwork(LocationName parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVmwareEngineNetworkOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = vmwareEngineClient.CreateVmwareEngineNetwork(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateVmwareEngineNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetwork(CreateVmwareEngineNetworkRequest, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> CreateVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
request CreateVmwareEngineNetworkRequest

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
OperationVmwareEngineNetworkOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
CreateVmwareEngineNetworkRequest request = new CreateVmwareEngineNetworkRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    VmwareEngineNetworkId = "",
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = vmwareEngineClient.CreateVmwareEngineNetwork(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateVmwareEngineNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetwork(string, VmwareEngineNetwork, string, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> CreateVmwareEngineNetwork(string parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVmwareEngineNetworkOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = vmwareEngineClient.CreateVmwareEngineNetwork(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceCreateVmwareEngineNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(LocationName, VmwareEngineNetwork, string, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(LocationName parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(LocationName, VmwareEngineNetwork, string, CancellationToken)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(LocationName parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CancellationToken cancellationToken)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(CreateVmwareEngineNetworkRequest, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(CreateVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
request CreateVmwareEngineNetworkRequest

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
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateVmwareEngineNetworkRequest request = new CreateVmwareEngineNetworkRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    VmwareEngineNetworkId = "",
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(CreateVmwareEngineNetworkRequest, CancellationToken)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(CreateVmwareEngineNetworkRequest request, CancellationToken cancellationToken)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
request CreateVmwareEngineNetworkRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
CreateVmwareEngineNetworkRequest request = new CreateVmwareEngineNetworkRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    VmwareEngineNetworkId = "",
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(string, VmwareEngineNetwork, string, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(string parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CallSettings callSettings = null)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

CreateVmwareEngineNetworkAsync(string, VmwareEngineNetwork, string, CancellationToken)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> CreateVmwareEngineNetworkAsync(string parent, VmwareEngineNetwork vmwareEngineNetwork, string vmwareEngineNetworkId, CancellationToken cancellationToken)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
Name Description
parent string

Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type LEGACY is a regional resource, and a VMware Engine network of type STANDARD is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

vmwareEngineNetwork VmwareEngineNetwork

Required. The initial description of the new VMware Engine network.

vmwareEngineNetworkId string

Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:

  • For networks of type LEGACY, adheres to the format: {region-id}-default. Replace {region-id} with the region where you want to create the VMware Engine network. For example, "us-central1-default".
  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
string vmwareEngineNetworkId = "";
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.CreateVmwareEngineNetworkAsync(parent, vmwareEngineNetwork, vmwareEngineNetworkId);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceCreateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

DeleteCluster(ClusterName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCluster(ClusterName name, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name ClusterName

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteCluster(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 = vmwareEngineClient.PollOnceDeleteCluster(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;
}

DeleteCluster(DeleteClusterRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCluster(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
request DeleteClusterRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteCluster(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 = vmwareEngineClient.PollOnceDeleteCluster(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;
}

DeleteCluster(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCluster(string name, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name string

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteCluster(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 = vmwareEngineClient.PollOnceDeleteCluster(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;
}

DeleteClusterAsync(ClusterName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(ClusterName name, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name ClusterName

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteClusterAsync(ClusterName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(ClusterName name, CancellationToken cancellationToken)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name ClusterName

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteClusterAsync(DeleteClusterRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
request DeleteClusterRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteClusterAsync(DeleteClusterRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(DeleteClusterRequest request, CancellationToken cancellationToken)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
request DeleteClusterRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteClusterAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(string name, CallSettings callSettings = null)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name string

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteClusterAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteClusterAsync(string name, CancellationToken cancellationToken)

Deletes a Cluster resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

Parameters
Name Description
name string

Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteClusterAsync(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 vmwareEngineClient.PollOnceDeleteClusterAsync(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;
}

DeleteExternalAccessRule(DeleteExternalAccessRuleRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAccessRule(DeleteExternalAccessRuleRequest request, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
request DeleteExternalAccessRuleRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteExternalAccessRuleRequest request = new DeleteExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAccessRule(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 = vmwareEngineClient.PollOnceDeleteExternalAccessRule(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;
}

DeleteExternalAccessRule(ExternalAccessRuleName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAccessRule(ExternalAccessRuleName name, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAccessRule(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 = vmwareEngineClient.PollOnceDeleteExternalAccessRule(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;
}

DeleteExternalAccessRule(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAccessRule(string name, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAccessRule(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 = vmwareEngineClient.PollOnceDeleteExternalAccessRule(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;
}

DeleteExternalAccessRuleAsync(DeleteExternalAccessRuleRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(DeleteExternalAccessRuleRequest request, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
request DeleteExternalAccessRuleRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteExternalAccessRuleRequest request = new DeleteExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAccessRuleAsync(DeleteExternalAccessRuleRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(DeleteExternalAccessRuleRequest request, CancellationToken cancellationToken)

Deletes a single external access rule.

Parameters
Name Description
request DeleteExternalAccessRuleRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteExternalAccessRuleRequest request = new DeleteExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAccessRuleAsync(ExternalAccessRuleName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(ExternalAccessRuleName name, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAccessRuleAsync(ExternalAccessRuleName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(ExternalAccessRuleName name, CancellationToken cancellationToken)

Deletes a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAccessRuleAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(string name, CallSettings callSettings = null)

Deletes a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAccessRuleAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAccessRuleAsync(string name, CancellationToken cancellationToken)

Deletes a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAccessRuleAsync(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 vmwareEngineClient.PollOnceDeleteExternalAccessRuleAsync(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;
}

DeleteExternalAddress(DeleteExternalAddressRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAddress(DeleteExternalAddressRequest request, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
request DeleteExternalAddressRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteExternalAddressRequest request = new DeleteExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAddress(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 = vmwareEngineClient.PollOnceDeleteExternalAddress(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;
}

DeleteExternalAddress(ExternalAddressName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAddress(ExternalAddressName name, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAddress(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 = vmwareEngineClient.PollOnceDeleteExternalAddress(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;
}

DeleteExternalAddress(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteExternalAddress(string name, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name string

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteExternalAddress(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 = vmwareEngineClient.PollOnceDeleteExternalAddress(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;
}

DeleteExternalAddressAsync(DeleteExternalAddressRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(DeleteExternalAddressRequest request, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
request DeleteExternalAddressRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteExternalAddressRequest request = new DeleteExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteExternalAddressAsync(DeleteExternalAddressRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(DeleteExternalAddressRequest request, CancellationToken cancellationToken)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
request DeleteExternalAddressRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteExternalAddressRequest request = new DeleteExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteExternalAddressAsync(ExternalAddressName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(ExternalAddressName name, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteExternalAddressAsync(ExternalAddressName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(ExternalAddressName name, CancellationToken cancellationToken)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteExternalAddressAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(string name, CallSettings callSettings = null)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name string

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteExternalAddressAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteExternalAddressAsync(string name, CancellationToken cancellationToken)

Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

Parameters
Name Description
name string

Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteExternalAddressAsync(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 vmwareEngineClient.PollOnceDeleteExternalAddressAsync(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;
}

DeleteLoggingServer(DeleteLoggingServerRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLoggingServer(DeleteLoggingServerRequest request, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
request DeleteLoggingServerRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteLoggingServerRequest request = new DeleteLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteLoggingServer(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 = vmwareEngineClient.PollOnceDeleteLoggingServer(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;
}

DeleteLoggingServer(LoggingServerName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLoggingServer(LoggingServerName name, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteLoggingServer(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 = vmwareEngineClient.PollOnceDeleteLoggingServer(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;
}

DeleteLoggingServer(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLoggingServer(string name, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
name string

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteLoggingServer(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 = vmwareEngineClient.PollOnceDeleteLoggingServer(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;
}

DeleteLoggingServerAsync(DeleteLoggingServerRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(DeleteLoggingServerRequest request, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
request DeleteLoggingServerRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteLoggingServerRequest request = new DeleteLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteLoggingServerAsync(DeleteLoggingServerRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(DeleteLoggingServerRequest request, CancellationToken cancellationToken)

Deletes a single logging server.

Parameters
Name Description
request DeleteLoggingServerRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteLoggingServerRequest request = new DeleteLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteLoggingServerAsync(LoggingServerName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(LoggingServerName name, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteLoggingServerAsync(LoggingServerName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(LoggingServerName name, CancellationToken cancellationToken)

Deletes a single logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteLoggingServerAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(string name, CallSettings callSettings = null)

Deletes a single logging server.

Parameters
Name Description
name string

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteLoggingServerAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLoggingServerAsync(string name, CancellationToken cancellationToken)

Deletes a single logging server.

Parameters
Name Description
name string

Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteLoggingServerAsync(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 vmwareEngineClient.PollOnceDeleteLoggingServerAsync(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;
}

DeleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
request DeleteManagementDnsZoneBindingRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteManagementDnsZoneBindingRequest request = new DeleteManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteManagementDnsZoneBinding(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 = vmwareEngineClient.PollOnceDeleteManagementDnsZoneBinding(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;
}

DeleteManagementDnsZoneBinding(ManagementDnsZoneBindingName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteManagementDnsZoneBinding(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteManagementDnsZoneBinding(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 = vmwareEngineClient.PollOnceDeleteManagementDnsZoneBinding(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;
}

DeleteManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteManagementDnsZoneBinding(string name, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteManagementDnsZoneBinding(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 = vmwareEngineClient.PollOnceDeleteManagementDnsZoneBinding(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;
}

DeleteManagementDnsZoneBindingAsync(DeleteManagementDnsZoneBindingRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(DeleteManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
request DeleteManagementDnsZoneBindingRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteManagementDnsZoneBindingRequest request = new DeleteManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteManagementDnsZoneBindingAsync(DeleteManagementDnsZoneBindingRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(DeleteManagementDnsZoneBindingRequest request, CancellationToken cancellationToken)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
request DeleteManagementDnsZoneBindingRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteManagementDnsZoneBindingRequest request = new DeleteManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CancellationToken cancellationToken)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(string name, CallSettings callSettings = null)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteManagementDnsZoneBindingAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteManagementDnsZoneBindingAsync(string name, CancellationToken cancellationToken)

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteManagementDnsZoneBindingAsync(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 vmwareEngineClient.PollOnceDeleteManagementDnsZoneBindingAsync(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;
}

DeleteNetworkPeering(DeleteNetworkPeeringRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPeering(DeleteNetworkPeeringRequest request, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request DeleteNetworkPeeringRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteNetworkPeeringRequest request = new DeleteNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPeering(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 = vmwareEngineClient.PollOnceDeleteNetworkPeering(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;
}

DeleteNetworkPeering(NetworkPeeringName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPeering(NetworkPeeringName name, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPeering(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 = vmwareEngineClient.PollOnceDeleteNetworkPeering(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;
}

DeleteNetworkPeering(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPeering(string name, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPeering(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 = vmwareEngineClient.PollOnceDeleteNetworkPeering(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;
}

DeleteNetworkPeeringAsync(DeleteNetworkPeeringRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(DeleteNetworkPeeringRequest request, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request DeleteNetworkPeeringRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteNetworkPeeringRequest request = new DeleteNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPeeringAsync(DeleteNetworkPeeringRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(DeleteNetworkPeeringRequest request, CancellationToken cancellationToken)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request DeleteNetworkPeeringRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteNetworkPeeringRequest request = new DeleteNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPeeringAsync(NetworkPeeringName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(NetworkPeeringName name, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPeeringAsync(NetworkPeeringName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(NetworkPeeringName name, CancellationToken cancellationToken)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPeeringAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(string name, CallSettings callSettings = null)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPeeringAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPeeringAsync(string name, CancellationToken cancellationToken)

Deletes a NetworkPeering resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPeeringAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPeeringAsync(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;
}

DeleteNetworkPolicy(DeleteNetworkPolicyRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPolicy(DeleteNetworkPolicyRequest request, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
request DeleteNetworkPolicyRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteNetworkPolicyRequest request = new DeleteNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPolicy(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 = vmwareEngineClient.PollOnceDeleteNetworkPolicy(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;
}

DeleteNetworkPolicy(NetworkPolicyName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPolicy(NetworkPolicyName name, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPolicy(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 = vmwareEngineClient.PollOnceDeleteNetworkPolicy(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;
}

DeleteNetworkPolicy(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteNetworkPolicy(string name, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name string

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteNetworkPolicy(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 = vmwareEngineClient.PollOnceDeleteNetworkPolicy(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;
}

DeleteNetworkPolicyAsync(DeleteNetworkPolicyRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(DeleteNetworkPolicyRequest request, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
request DeleteNetworkPolicyRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteNetworkPolicyRequest request = new DeleteNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeleteNetworkPolicyAsync(DeleteNetworkPolicyRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(DeleteNetworkPolicyRequest request, CancellationToken cancellationToken)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
request DeleteNetworkPolicyRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteNetworkPolicyRequest request = new DeleteNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeleteNetworkPolicyAsync(NetworkPolicyName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(NetworkPolicyName name, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeleteNetworkPolicyAsync(NetworkPolicyName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(NetworkPolicyName name, CancellationToken cancellationToken)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeleteNetworkPolicyAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(string name, CallSettings callSettings = null)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name string

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeleteNetworkPolicyAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteNetworkPolicyAsync(string name, CancellationToken cancellationToken)

Deletes a NetworkPolicy resource. A network policy cannot be deleted when NetworkService.state is set to RECONCILING for either its external IP or internet access service.

Parameters
Name Description
name string

Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteNetworkPolicyAsync(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 vmwareEngineClient.PollOnceDeleteNetworkPolicyAsync(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;
}

DeletePrivateCloud(DeletePrivateCloudRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> DeletePrivateCloud(DeletePrivateCloudRequest request, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
request DeletePrivateCloudRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeletePrivateCloudRequest request = new DeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Force = false,
    DelayHours = 0,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.DeletePrivateCloud(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceDeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloud(PrivateCloudName, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> DeletePrivateCloud(PrivateCloudName name, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.DeletePrivateCloud(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceDeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> DeletePrivateCloud(string name, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name string

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.DeletePrivateCloud(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceDeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(DeletePrivateCloudRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(DeletePrivateCloudRequest request, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
request DeletePrivateCloudRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeletePrivateCloudRequest request = new DeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Force = false,
    DelayHours = 0,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(DeletePrivateCloudRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(DeletePrivateCloudRequest request, CancellationToken cancellationToken)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
request DeletePrivateCloudRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeletePrivateCloudRequest request = new DeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Force = false,
    DelayHours = 0,
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(PrivateCloudName, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(PrivateCloudName name, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(PrivateCloudName, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(PrivateCloudName name, CancellationToken cancellationToken)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(string name, CallSettings callSettings = null)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name string

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateCloudAsync(string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> DeletePrivateCloudAsync(string name, CancellationToken cancellationToken)

Schedules a PrivateCloud resource for deletion.

A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and expireTime set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud is successfully scheduled for deletion (this also applies when delayHours is set to zero), and the operation is not kept in pending state until PrivateCloud is purged. PrivateCloud can be restored using UndeletePrivateCloud method before the expireTime elapses. When expireTime is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state is set to PURGING. PrivateCloud can be polled using standard GET method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

Parameters
Name Description
name string

Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.DeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceDeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

DeletePrivateConnection(DeletePrivateConnectionRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeletePrivateConnection(DeletePrivateConnectionRequest request, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
request DeletePrivateConnectionRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeletePrivateConnectionRequest request = new DeletePrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeletePrivateConnection(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 = vmwareEngineClient.PollOnceDeletePrivateConnection(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;
}

DeletePrivateConnection(PrivateConnectionName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeletePrivateConnection(PrivateConnectionName name, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeletePrivateConnection(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 = vmwareEngineClient.PollOnceDeletePrivateConnection(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;
}

DeletePrivateConnection(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeletePrivateConnection(string name, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeletePrivateConnection(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 = vmwareEngineClient.PollOnceDeletePrivateConnection(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;
}

DeletePrivateConnectionAsync(DeletePrivateConnectionRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(DeletePrivateConnectionRequest request, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
request DeletePrivateConnectionRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeletePrivateConnectionRequest request = new DeletePrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeletePrivateConnectionAsync(DeletePrivateConnectionRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(DeletePrivateConnectionRequest request, CancellationToken cancellationToken)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
request DeletePrivateConnectionRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeletePrivateConnectionRequest request = new DeletePrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeletePrivateConnectionAsync(PrivateConnectionName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(PrivateConnectionName name, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeletePrivateConnectionAsync(PrivateConnectionName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(PrivateConnectionName name, CancellationToken cancellationToken)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeletePrivateConnectionAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(string name, CallSettings callSettings = null)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeletePrivateConnectionAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeletePrivateConnectionAsync(string name, CancellationToken cancellationToken)

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeletePrivateConnectionAsync(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 vmwareEngineClient.PollOnceDeletePrivateConnectionAsync(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;
}

DeleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
request DeleteVmwareEngineNetworkRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DeleteVmwareEngineNetworkRequest request = new DeleteVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
    RequestId = "",
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteVmwareEngineNetwork(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 = vmwareEngineClient.PollOnceDeleteVmwareEngineNetwork(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;
}

DeleteVmwareEngineNetwork(VmwareEngineNetworkName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteVmwareEngineNetwork(VmwareEngineNetworkName name, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteVmwareEngineNetwork(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 = vmwareEngineClient.PollOnceDeleteVmwareEngineNetwork(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;
}

DeleteVmwareEngineNetwork(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteVmwareEngineNetwork(string name, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = vmwareEngineClient.DeleteVmwareEngineNetwork(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 = vmwareEngineClient.PollOnceDeleteVmwareEngineNetwork(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;
}

DeleteVmwareEngineNetworkAsync(DeleteVmwareEngineNetworkRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(DeleteVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
request DeleteVmwareEngineNetworkRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteVmwareEngineNetworkRequest request = new DeleteVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
    RequestId = "",
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

DeleteVmwareEngineNetworkAsync(DeleteVmwareEngineNetworkRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(DeleteVmwareEngineNetworkRequest request, CancellationToken cancellationToken)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
request DeleteVmwareEngineNetworkRequest

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.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DeleteVmwareEngineNetworkRequest request = new DeleteVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
    RequestId = "",
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

DeleteVmwareEngineNetworkAsync(VmwareEngineNetworkName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(VmwareEngineNetworkName name, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

DeleteVmwareEngineNetworkAsync(VmwareEngineNetworkName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(VmwareEngineNetworkName name, CancellationToken cancellationToken)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

DeleteVmwareEngineNetworkAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(string name, CallSettings callSettings = null)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

DeleteVmwareEngineNetworkAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteVmwareEngineNetworkAsync(string name, CancellationToken cancellationToken)

Deletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = await vmwareEngineClient.DeleteVmwareEngineNetworkAsync(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 vmwareEngineClient.PollOnceDeleteVmwareEngineNetworkAsync(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;
}

FetchNetworkPolicyExternalAddresses(FetchNetworkPolicyExternalAddressesRequest, CallSettings)

public virtual PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddresses(FetchNetworkPolicyExternalAddressesRequest request, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
request FetchNetworkPolicyExternalAddressesRequest

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
PagedEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
FetchNetworkPolicyExternalAddressesRequest request = new FetchNetworkPolicyExternalAddressesRequest
{
    NetworkPolicyAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
};
// Make the request
PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddresses(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (FetchNetworkPolicyExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

FetchNetworkPolicyExternalAddresses(NetworkPolicyName, string, int?, CallSettings)

public virtual PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddresses(NetworkPolicyName networkPolicy, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
networkPolicy NetworkPolicyName

Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicyName networkPolicy = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddresses(networkPolicy);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (FetchNetworkPolicyExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

FetchNetworkPolicyExternalAddresses(string, string, int?, CallSettings)

public virtual PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddresses(string networkPolicy, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
networkPolicy string

Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string networkPolicy = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
PagedEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddresses(networkPolicy);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (FetchNetworkPolicyExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

FetchNetworkPolicyExternalAddressesAsync(FetchNetworkPolicyExternalAddressesRequest, CallSettings)

public virtual PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddressesAsync(FetchNetworkPolicyExternalAddressesRequest request, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
request FetchNetworkPolicyExternalAddressesRequest

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
PagedAsyncEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
FetchNetworkPolicyExternalAddressesRequest request = new FetchNetworkPolicyExternalAddressesRequest
{
    NetworkPolicyAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
};
// Make the request
PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddressesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((FetchNetworkPolicyExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

FetchNetworkPolicyExternalAddressesAsync(NetworkPolicyName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddressesAsync(NetworkPolicyName networkPolicy, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
networkPolicy NetworkPolicyName

Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName networkPolicy = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddressesAsync(networkPolicy);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((FetchNetworkPolicyExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

FetchNetworkPolicyExternalAddressesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> FetchNetworkPolicyExternalAddressesAsync(string networkPolicy, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

Parameters
Name Description
networkPolicy string

Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableFetchNetworkPolicyExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string networkPolicy = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
PagedAsyncEnumerable<FetchNetworkPolicyExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.FetchNetworkPolicyExternalAddressesAsync(networkPolicy);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((FetchNetworkPolicyExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

GetCluster(ClusterName, CallSettings)

public virtual Cluster GetCluster(ClusterName name, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name ClusterName

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Cluster

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Cluster response = vmwareEngineClient.GetCluster(name);

GetCluster(GetClusterRequest, CallSettings)

public virtual Cluster GetCluster(GetClusterRequest request, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
request GetClusterRequest

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
Cluster

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
};
// Make the request
Cluster response = vmwareEngineClient.GetCluster(request);

GetCluster(string, CallSettings)

public virtual Cluster GetCluster(string name, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name string

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Cluster

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Cluster response = vmwareEngineClient.GetCluster(name);

GetClusterAsync(ClusterName, CallSettings)

public virtual Task<Cluster> GetClusterAsync(ClusterName name, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name ClusterName

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(name);

GetClusterAsync(ClusterName, CancellationToken)

public virtual Task<Cluster> GetClusterAsync(ClusterName name, CancellationToken cancellationToken)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name ClusterName

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(name);

GetClusterAsync(GetClusterRequest, CallSettings)

public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
request GetClusterRequest

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
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
};
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(request);

GetClusterAsync(GetClusterRequest, CancellationToken)

public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CancellationToken cancellationToken)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
request GetClusterRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
    ClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
};
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(request);

GetClusterAsync(string, CallSettings)

public virtual Task<Cluster> GetClusterAsync(string name, CallSettings callSettings = null)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name string

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(name);

GetClusterAsync(string, CancellationToken)

public virtual Task<Cluster> GetClusterAsync(string name, CancellationToken cancellationToken)

Retrieves a Cluster resource by its resource name.

Parameters
Name Description
name string

Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCluster

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
Cluster response = await vmwareEngineClient.GetClusterAsync(name);

GetDnsBindPermission(DnsBindPermissionName, CallSettings)

public virtual DnsBindPermission GetDnsBindPermission(DnsBindPermissionName name, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsBindPermission

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
DnsBindPermission response = vmwareEngineClient.GetDnsBindPermission(name);

GetDnsBindPermission(GetDnsBindPermissionRequest, CallSettings)

public virtual DnsBindPermission GetDnsBindPermission(GetDnsBindPermissionRequest request, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GetDnsBindPermissionRequest

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
DnsBindPermission

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetDnsBindPermissionRequest request = new GetDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
DnsBindPermission response = vmwareEngineClient.GetDnsBindPermission(request);

GetDnsBindPermission(string, CallSettings)

public virtual DnsBindPermission GetDnsBindPermission(string name, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsBindPermission

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
// Make the request
DnsBindPermission response = vmwareEngineClient.GetDnsBindPermission(name);

GetDnsBindPermissionAsync(DnsBindPermissionName, CallSettings)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(DnsBindPermissionName name, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(name);

GetDnsBindPermissionAsync(DnsBindPermissionName, CancellationToken)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(DnsBindPermissionName name, CancellationToken cancellationToken)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(name);

GetDnsBindPermissionAsync(GetDnsBindPermissionRequest, CallSettings)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(GetDnsBindPermissionRequest request, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GetDnsBindPermissionRequest

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
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetDnsBindPermissionRequest request = new GetDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(request);

GetDnsBindPermissionAsync(GetDnsBindPermissionRequest, CancellationToken)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(GetDnsBindPermissionRequest request, CancellationToken cancellationToken)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GetDnsBindPermissionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetDnsBindPermissionRequest request = new GetDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(request);

GetDnsBindPermissionAsync(string, CallSettings)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(string name, CallSettings callSettings = null)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(name);

GetDnsBindPermissionAsync(string, CancellationToken)

public virtual Task<DnsBindPermission> GetDnsBindPermissionAsync(string name, CancellationToken cancellationToken)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsBindPermission

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
// Make the request
DnsBindPermission response = await vmwareEngineClient.GetDnsBindPermissionAsync(name);

GetDnsForwarding(DnsForwardingName, CallSettings)

public virtual DnsForwarding GetDnsForwarding(DnsForwardingName name, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
name DnsForwardingName

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsForwarding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DnsForwardingName name = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
DnsForwarding response = vmwareEngineClient.GetDnsForwarding(name);

GetDnsForwarding(GetDnsForwardingRequest, CallSettings)

public virtual DnsForwarding GetDnsForwarding(GetDnsForwardingRequest request, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
request GetDnsForwardingRequest

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
DnsForwarding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetDnsForwardingRequest request = new GetDnsForwardingRequest
{
    DnsForwardingName = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
DnsForwarding response = vmwareEngineClient.GetDnsForwarding(request);

GetDnsForwarding(string, CallSettings)

public virtual DnsForwarding GetDnsForwarding(string name, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
name string

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsForwarding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/dnsForwarding";
// Make the request
DnsForwarding response = vmwareEngineClient.GetDnsForwarding(name);

GetDnsForwardingAsync(DnsForwardingName, CallSettings)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(DnsForwardingName name, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
name DnsForwardingName

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsForwardingName name = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(name);

GetDnsForwardingAsync(DnsForwardingName, CancellationToken)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(DnsForwardingName name, CancellationToken cancellationToken)

Gets details of the DnsForwarding config.

Parameters
Name Description
name DnsForwardingName

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsForwardingName name = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(name);

GetDnsForwardingAsync(GetDnsForwardingRequest, CallSettings)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(GetDnsForwardingRequest request, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
request GetDnsForwardingRequest

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
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetDnsForwardingRequest request = new GetDnsForwardingRequest
{
    DnsForwardingName = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(request);

GetDnsForwardingAsync(GetDnsForwardingRequest, CancellationToken)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(GetDnsForwardingRequest request, CancellationToken cancellationToken)

Gets details of the DnsForwarding config.

Parameters
Name Description
request GetDnsForwardingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetDnsForwardingRequest request = new GetDnsForwardingRequest
{
    DnsForwardingName = DnsForwardingName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(request);

GetDnsForwardingAsync(string, CallSettings)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(string name, CallSettings callSettings = null)

Gets details of the DnsForwarding config.

Parameters
Name Description
name string

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/dnsForwarding";
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(name);

GetDnsForwardingAsync(string, CancellationToken)

public virtual Task<DnsForwarding> GetDnsForwardingAsync(string name, CancellationToken cancellationToken)

Gets details of the DnsForwarding config.

Parameters
Name Description
name string

Required. The resource name of a DnsForwarding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskDnsForwarding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/dnsForwarding";
// Make the request
DnsForwarding response = await vmwareEngineClient.GetDnsForwardingAsync(name);

GetExternalAccessRule(ExternalAccessRuleName, CallSettings)

public virtual ExternalAccessRule GetExternalAccessRule(ExternalAccessRuleName name, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ExternalAccessRule

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
ExternalAccessRule response = vmwareEngineClient.GetExternalAccessRule(name);

GetExternalAccessRule(GetExternalAccessRuleRequest, CallSettings)

public virtual ExternalAccessRule GetExternalAccessRule(GetExternalAccessRuleRequest request, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
request GetExternalAccessRuleRequest

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
ExternalAccessRule

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetExternalAccessRuleRequest request = new GetExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
};
// Make the request
ExternalAccessRule response = vmwareEngineClient.GetExternalAccessRule(request);

GetExternalAccessRule(string, CallSettings)

public virtual ExternalAccessRule GetExternalAccessRule(string name, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ExternalAccessRule

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
ExternalAccessRule response = vmwareEngineClient.GetExternalAccessRule(name);

GetExternalAccessRuleAsync(ExternalAccessRuleName, CallSettings)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(ExternalAccessRuleName name, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(name);

GetExternalAccessRuleAsync(ExternalAccessRuleName, CancellationToken)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(ExternalAccessRuleName name, CancellationToken cancellationToken)

Gets details of a single external access rule.

Parameters
Name Description
name ExternalAccessRuleName

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRuleName name = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]");
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(name);

GetExternalAccessRuleAsync(GetExternalAccessRuleRequest, CallSettings)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(GetExternalAccessRuleRequest request, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
request GetExternalAccessRuleRequest

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
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetExternalAccessRuleRequest request = new GetExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
};
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(request);

GetExternalAccessRuleAsync(GetExternalAccessRuleRequest, CancellationToken)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(GetExternalAccessRuleRequest request, CancellationToken cancellationToken)

Gets details of a single external access rule.

Parameters
Name Description
request GetExternalAccessRuleRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetExternalAccessRuleRequest request = new GetExternalAccessRuleRequest
{
    ExternalAccessRuleName = ExternalAccessRuleName.FromProjectLocationNetworkPolicyExternalAccessRule("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]", "[EXTERNAL_ACCESS_RULE]"),
};
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(request);

GetExternalAccessRuleAsync(string, CallSettings)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(string name, CallSettings callSettings = null)

Gets details of a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(name);

GetExternalAccessRuleAsync(string, CancellationToken)

public virtual Task<ExternalAccessRule> GetExternalAccessRuleAsync(string name, CancellationToken cancellationToken)

Gets details of a single external access rule.

Parameters
Name Description
name string

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAccessRule

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]/externalAccessRules/[EXTERNAL_ACCESS_RULE]";
// Make the request
ExternalAccessRule response = await vmwareEngineClient.GetExternalAccessRuleAsync(name);

GetExternalAddress(ExternalAddressName, CallSettings)

public virtual ExternalAddress GetExternalAddress(ExternalAddressName name, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ExternalAddress

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
ExternalAddress response = vmwareEngineClient.GetExternalAddress(name);

GetExternalAddress(GetExternalAddressRequest, CallSettings)

public virtual ExternalAddress GetExternalAddress(GetExternalAddressRequest request, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
request GetExternalAddressRequest

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
ExternalAddress

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetExternalAddressRequest request = new GetExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
};
// Make the request
ExternalAddress response = vmwareEngineClient.GetExternalAddress(request);

GetExternalAddress(string, CallSettings)

public virtual ExternalAddress GetExternalAddress(string name, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
name string

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ExternalAddress

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
ExternalAddress response = vmwareEngineClient.GetExternalAddress(name);

GetExternalAddressAsync(ExternalAddressName, CallSettings)

public virtual Task<ExternalAddress> GetExternalAddressAsync(ExternalAddressName name, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(name);

GetExternalAddressAsync(ExternalAddressName, CancellationToken)

public virtual Task<ExternalAddress> GetExternalAddressAsync(ExternalAddressName name, CancellationToken cancellationToken)

Gets details of a single external IP address.

Parameters
Name Description
name ExternalAddressName

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddressName name = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]");
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(name);

GetExternalAddressAsync(GetExternalAddressRequest, CallSettings)

public virtual Task<ExternalAddress> GetExternalAddressAsync(GetExternalAddressRequest request, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
request GetExternalAddressRequest

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
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetExternalAddressRequest request = new GetExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
};
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(request);

GetExternalAddressAsync(GetExternalAddressRequest, CancellationToken)

public virtual Task<ExternalAddress> GetExternalAddressAsync(GetExternalAddressRequest request, CancellationToken cancellationToken)

Gets details of a single external IP address.

Parameters
Name Description
request GetExternalAddressRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetExternalAddressRequest request = new GetExternalAddressRequest
{
    ExternalAddressName = ExternalAddressName.FromProjectLocationPrivateCloudExternalAddress("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[EXTERNAL_ADDRESS]"),
};
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(request);

GetExternalAddressAsync(string, CallSettings)

public virtual Task<ExternalAddress> GetExternalAddressAsync(string name, CallSettings callSettings = null)

Gets details of a single external IP address.

Parameters
Name Description
name string

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(name);

GetExternalAddressAsync(string, CancellationToken)

public virtual Task<ExternalAddress> GetExternalAddressAsync(string name, CancellationToken cancellationToken)

Gets details of a single external IP address.

Parameters
Name Description
name string

Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskExternalAddress

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/externalAddresses/[EXTERNAL_ADDRESS]";
// Make the request
ExternalAddress response = await vmwareEngineClient.GetExternalAddressAsync(name);

GetHcxActivationKey(GetHcxActivationKeyRequest, CallSettings)

public virtual HcxActivationKey GetHcxActivationKey(GetHcxActivationKeyRequest request, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
request GetHcxActivationKeyRequest

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
HcxActivationKey

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetHcxActivationKeyRequest request = new GetHcxActivationKeyRequest
{
    HcxActivationKeyName = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]"),
};
// Make the request
HcxActivationKey response = vmwareEngineClient.GetHcxActivationKey(request);

GetHcxActivationKey(HcxActivationKeyName, CallSettings)

public virtual HcxActivationKey GetHcxActivationKey(HcxActivationKeyName name, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name HcxActivationKeyName

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HcxActivationKey

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
HcxActivationKeyName name = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]");
// Make the request
HcxActivationKey response = vmwareEngineClient.GetHcxActivationKey(name);

GetHcxActivationKey(string, CallSettings)

public virtual HcxActivationKey GetHcxActivationKey(string name, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HcxActivationKey

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/hcxActivationKeys/[HCX_ACTIVATION_KEY]";
// Make the request
HcxActivationKey response = vmwareEngineClient.GetHcxActivationKey(name);

GetHcxActivationKeyAsync(GetHcxActivationKeyRequest, CallSettings)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(GetHcxActivationKeyRequest request, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
request GetHcxActivationKeyRequest

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
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetHcxActivationKeyRequest request = new GetHcxActivationKeyRequest
{
    HcxActivationKeyName = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]"),
};
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(request);

GetHcxActivationKeyAsync(GetHcxActivationKeyRequest, CancellationToken)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(GetHcxActivationKeyRequest request, CancellationToken cancellationToken)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
request GetHcxActivationKeyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetHcxActivationKeyRequest request = new GetHcxActivationKeyRequest
{
    HcxActivationKeyName = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]"),
};
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(request);

GetHcxActivationKeyAsync(HcxActivationKeyName, CallSettings)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(HcxActivationKeyName name, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name HcxActivationKeyName

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
HcxActivationKeyName name = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]");
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(name);

GetHcxActivationKeyAsync(HcxActivationKeyName, CancellationToken)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(HcxActivationKeyName name, CancellationToken cancellationToken)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name HcxActivationKeyName

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
HcxActivationKeyName name = HcxActivationKeyName.FromProjectLocationPrivateCloudHcxActivationKey("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[HCX_ACTIVATION_KEY]");
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(name);

GetHcxActivationKeyAsync(string, CallSettings)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(string name, CallSettings callSettings = null)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/hcxActivationKeys/[HCX_ACTIVATION_KEY]";
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(name);

GetHcxActivationKeyAsync(string, CancellationToken)

public virtual Task<HcxActivationKey> GetHcxActivationKeyAsync(string name, CancellationToken cancellationToken)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskHcxActivationKey

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/hcxActivationKeys/[HCX_ACTIVATION_KEY]";
// Make the request
HcxActivationKey response = await vmwareEngineClient.GetHcxActivationKeyAsync(name);

GetLoggingServer(GetLoggingServerRequest, CallSettings)

public virtual LoggingServer GetLoggingServer(GetLoggingServerRequest request, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
request GetLoggingServerRequest

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
LoggingServer

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetLoggingServerRequest request = new GetLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
};
// Make the request
LoggingServer response = vmwareEngineClient.GetLoggingServer(request);

GetLoggingServer(LoggingServerName, CallSettings)

public virtual LoggingServer GetLoggingServer(LoggingServerName name, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LoggingServer

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
LoggingServer response = vmwareEngineClient.GetLoggingServer(name);

GetLoggingServer(string, CallSettings)

public virtual LoggingServer GetLoggingServer(string name, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
name string

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LoggingServer

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
LoggingServer response = vmwareEngineClient.GetLoggingServer(name);

GetLoggingServerAsync(GetLoggingServerRequest, CallSettings)

public virtual Task<LoggingServer> GetLoggingServerAsync(GetLoggingServerRequest request, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
request GetLoggingServerRequest

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
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetLoggingServerRequest request = new GetLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
};
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(request);

GetLoggingServerAsync(GetLoggingServerRequest, CancellationToken)

public virtual Task<LoggingServer> GetLoggingServerAsync(GetLoggingServerRequest request, CancellationToken cancellationToken)

Gets details of a logging server.

Parameters
Name Description
request GetLoggingServerRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetLoggingServerRequest request = new GetLoggingServerRequest
{
    LoggingServerName = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]"),
};
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(request);

GetLoggingServerAsync(LoggingServerName, CallSettings)

public virtual Task<LoggingServer> GetLoggingServerAsync(LoggingServerName name, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(name);

GetLoggingServerAsync(LoggingServerName, CancellationToken)

public virtual Task<LoggingServer> GetLoggingServerAsync(LoggingServerName name, CancellationToken cancellationToken)

Gets details of a logging server.

Parameters
Name Description
name LoggingServerName

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServerName name = LoggingServerName.FromProjectLocationPrivateCloudLoggingServer("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[LOGGING_SERVER]");
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(name);

GetLoggingServerAsync(string, CallSettings)

public virtual Task<LoggingServer> GetLoggingServerAsync(string name, CallSettings callSettings = null)

Gets details of a logging server.

Parameters
Name Description
name string

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(name);

GetLoggingServerAsync(string, CancellationToken)

public virtual Task<LoggingServer> GetLoggingServerAsync(string name, CancellationToken cancellationToken)

Gets details of a logging server.

Parameters
Name Description
name string

Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLoggingServer

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/loggingServers/[LOGGING_SERVER]";
// Make the request
LoggingServer response = await vmwareEngineClient.GetLoggingServerAsync(name);

GetManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest, CallSettings)

public virtual ManagementDnsZoneBinding GetManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
request GetManagementDnsZoneBindingRequest

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
ManagementDnsZoneBinding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetManagementDnsZoneBindingRequest request = new GetManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
};
// Make the request
ManagementDnsZoneBinding response = vmwareEngineClient.GetManagementDnsZoneBinding(request);

GetManagementDnsZoneBinding(ManagementDnsZoneBindingName, CallSettings)

public virtual ManagementDnsZoneBinding GetManagementDnsZoneBinding(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ManagementDnsZoneBinding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
ManagementDnsZoneBinding response = vmwareEngineClient.GetManagementDnsZoneBinding(name);

GetManagementDnsZoneBinding(string, CallSettings)

public virtual ManagementDnsZoneBinding GetManagementDnsZoneBinding(string name, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ManagementDnsZoneBinding

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
ManagementDnsZoneBinding response = vmwareEngineClient.GetManagementDnsZoneBinding(name);

GetManagementDnsZoneBindingAsync(GetManagementDnsZoneBindingRequest, CallSettings)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(GetManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
request GetManagementDnsZoneBindingRequest

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
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetManagementDnsZoneBindingRequest request = new GetManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
};
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(request);

GetManagementDnsZoneBindingAsync(GetManagementDnsZoneBindingRequest, CancellationToken)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(GetManagementDnsZoneBindingRequest request, CancellationToken cancellationToken)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
request GetManagementDnsZoneBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetManagementDnsZoneBindingRequest request = new GetManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
};
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(request);

GetManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CallSettings)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(name);

GetManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CancellationToken)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CancellationToken cancellationToken)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(name);

GetManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(string name, CallSettings callSettings = null)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(name);

GetManagementDnsZoneBindingAsync(string, CancellationToken)

public virtual Task<ManagementDnsZoneBinding> GetManagementDnsZoneBindingAsync(string name, CancellationToken cancellationToken)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskManagementDnsZoneBinding

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
ManagementDnsZoneBinding response = await vmwareEngineClient.GetManagementDnsZoneBindingAsync(name);

GetNetworkPeering(GetNetworkPeeringRequest, CallSettings)

public virtual NetworkPeering GetNetworkPeering(GetNetworkPeeringRequest request, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request GetNetworkPeeringRequest

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
NetworkPeering

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetNetworkPeeringRequest request = new GetNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
};
// Make the request
NetworkPeering response = vmwareEngineClient.GetNetworkPeering(request);

GetNetworkPeering(NetworkPeeringName, CallSettings)

public virtual NetworkPeering GetNetworkPeering(NetworkPeeringName name, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NetworkPeering

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
NetworkPeering response = vmwareEngineClient.GetNetworkPeering(name);

GetNetworkPeering(string, CallSettings)

public virtual NetworkPeering GetNetworkPeering(string name, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NetworkPeering

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
NetworkPeering response = vmwareEngineClient.GetNetworkPeering(name);

GetNetworkPeeringAsync(GetNetworkPeeringRequest, CallSettings)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(GetNetworkPeeringRequest request, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request GetNetworkPeeringRequest

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
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNetworkPeeringRequest request = new GetNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
};
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(request);

GetNetworkPeeringAsync(GetNetworkPeeringRequest, CancellationToken)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(GetNetworkPeeringRequest request, CancellationToken cancellationToken)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request GetNetworkPeeringRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNetworkPeeringRequest request = new GetNetworkPeeringRequest
{
    NetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
};
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(request);

GetNetworkPeeringAsync(NetworkPeeringName, CallSettings)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(NetworkPeeringName name, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(name);

GetNetworkPeeringAsync(NetworkPeeringName, CancellationToken)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(NetworkPeeringName name, CancellationToken cancellationToken)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name NetworkPeeringName

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeeringName name = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(name);

GetNetworkPeeringAsync(string, CallSettings)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(string name, CallSettings callSettings = null)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(name);

GetNetworkPeeringAsync(string, CancellationToken)

public virtual Task<NetworkPeering> GetNetworkPeeringAsync(string name, CancellationToken cancellationToken)

Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPeering

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
NetworkPeering response = await vmwareEngineClient.GetNetworkPeeringAsync(name);

GetNetworkPolicy(GetNetworkPolicyRequest, CallSettings)

public virtual NetworkPolicy GetNetworkPolicy(GetNetworkPolicyRequest request, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
request GetNetworkPolicyRequest

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
NetworkPolicy

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetNetworkPolicyRequest request = new GetNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
};
// Make the request
NetworkPolicy response = vmwareEngineClient.GetNetworkPolicy(request);

GetNetworkPolicy(NetworkPolicyName, CallSettings)

public virtual NetworkPolicy GetNetworkPolicy(NetworkPolicyName name, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NetworkPolicy

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
NetworkPolicy response = vmwareEngineClient.GetNetworkPolicy(name);

GetNetworkPolicy(string, CallSettings)

public virtual NetworkPolicy GetNetworkPolicy(string name, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NetworkPolicy

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
NetworkPolicy response = vmwareEngineClient.GetNetworkPolicy(name);

GetNetworkPolicyAsync(GetNetworkPolicyRequest, CallSettings)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(GetNetworkPolicyRequest request, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
request GetNetworkPolicyRequest

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
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNetworkPolicyRequest request = new GetNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
};
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(request);

GetNetworkPolicyAsync(GetNetworkPolicyRequest, CancellationToken)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(GetNetworkPolicyRequest request, CancellationToken cancellationToken)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
request GetNetworkPolicyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNetworkPolicyRequest request = new GetNetworkPolicyRequest
{
    NetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
};
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(request);

GetNetworkPolicyAsync(NetworkPolicyName, CallSettings)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(NetworkPolicyName name, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(name);

GetNetworkPolicyAsync(NetworkPolicyName, CancellationToken)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(NetworkPolicyName name, CancellationToken cancellationToken)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name NetworkPolicyName

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName name = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(name);

GetNetworkPolicyAsync(string, CallSettings)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(string name, CallSettings callSettings = null)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(name);

GetNetworkPolicyAsync(string, CancellationToken)

public virtual Task<NetworkPolicy> GetNetworkPolicyAsync(string name, CancellationToken cancellationToken)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNetworkPolicy

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
NetworkPolicy response = await vmwareEngineClient.GetNetworkPolicyAsync(name);

GetNode(GetNodeRequest, CallSettings)

public virtual Node GetNode(GetNodeRequest request, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
request GetNodeRequest

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
Node

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetNodeRequest request = new GetNodeRequest
{
    NodeName = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]"),
};
// Make the request
Node response = vmwareEngineClient.GetNode(request);

GetNode(NodeName, CallSettings)

public virtual Node GetNode(NodeName name, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
name NodeName

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Node

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NodeName name = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]");
// Make the request
Node response = vmwareEngineClient.GetNode(name);

GetNode(string, CallSettings)

public virtual Node GetNode(string name, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
name string

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Node

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]/nodes/[NODE]";
// Make the request
Node response = vmwareEngineClient.GetNode(name);

GetNodeAsync(GetNodeRequest, CallSettings)

public virtual Task<Node> GetNodeAsync(GetNodeRequest request, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
request GetNodeRequest

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
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNodeRequest request = new GetNodeRequest
{
    NodeName = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]"),
};
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(request);

GetNodeAsync(GetNodeRequest, CancellationToken)

public virtual Task<Node> GetNodeAsync(GetNodeRequest request, CancellationToken cancellationToken)

Gets details of a single node.

Parameters
Name Description
request GetNodeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNodeRequest request = new GetNodeRequest
{
    NodeName = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]"),
};
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(request);

GetNodeAsync(NodeName, CallSettings)

public virtual Task<Node> GetNodeAsync(NodeName name, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
name NodeName

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NodeName name = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]");
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(name);

GetNodeAsync(NodeName, CancellationToken)

public virtual Task<Node> GetNodeAsync(NodeName name, CancellationToken cancellationToken)

Gets details of a single node.

Parameters
Name Description
name NodeName

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NodeName name = NodeName.FromProjectLocationPrivateCloudClusterNode("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]", "[NODE]");
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(name);

GetNodeAsync(string, CallSettings)

public virtual Task<Node> GetNodeAsync(string name, CallSettings callSettings = null)

Gets details of a single node.

Parameters
Name Description
name string

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]/nodes/[NODE]";
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(name);

GetNodeAsync(string, CancellationToken)

public virtual Task<Node> GetNodeAsync(string name, CancellationToken cancellationToken)

Gets details of a single node.

Parameters
Name Description
name string

Required. The resource name of the node to retrieve. For example: projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNode

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]/nodes/[NODE]";
// Make the request
Node response = await vmwareEngineClient.GetNodeAsync(name);

GetNodeType(GetNodeTypeRequest, CallSettings)

public virtual NodeType GetNodeType(GetNodeTypeRequest request, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
request GetNodeTypeRequest

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
NodeType

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetNodeTypeRequest request = new GetNodeTypeRequest
{
    NodeTypeName = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]"),
};
// Make the request
NodeType response = vmwareEngineClient.GetNodeType(request);

GetNodeType(NodeTypeName, CallSettings)

public virtual NodeType GetNodeType(NodeTypeName name, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
name NodeTypeName

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NodeType

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NodeTypeName name = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]");
// Make the request
NodeType response = vmwareEngineClient.GetNodeType(name);

GetNodeType(string, CallSettings)

public virtual NodeType GetNodeType(string name, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
name string

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NodeType

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/nodeTypes/[NODE_TYPE]";
// Make the request
NodeType response = vmwareEngineClient.GetNodeType(name);

GetNodeTypeAsync(GetNodeTypeRequest, CallSettings)

public virtual Task<NodeType> GetNodeTypeAsync(GetNodeTypeRequest request, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
request GetNodeTypeRequest

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
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNodeTypeRequest request = new GetNodeTypeRequest
{
    NodeTypeName = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]"),
};
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(request);

GetNodeTypeAsync(GetNodeTypeRequest, CancellationToken)

public virtual Task<NodeType> GetNodeTypeAsync(GetNodeTypeRequest request, CancellationToken cancellationToken)

Gets details of a single NodeType.

Parameters
Name Description
request GetNodeTypeRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetNodeTypeRequest request = new GetNodeTypeRequest
{
    NodeTypeName = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]"),
};
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(request);

GetNodeTypeAsync(NodeTypeName, CallSettings)

public virtual Task<NodeType> GetNodeTypeAsync(NodeTypeName name, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
name NodeTypeName

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NodeTypeName name = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]");
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(name);

GetNodeTypeAsync(NodeTypeName, CancellationToken)

public virtual Task<NodeType> GetNodeTypeAsync(NodeTypeName name, CancellationToken cancellationToken)

Gets details of a single NodeType.

Parameters
Name Description
name NodeTypeName

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NodeTypeName name = NodeTypeName.FromProjectLocationNodeType("[PROJECT]", "[LOCATION]", "[NODE_TYPE]");
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(name);

GetNodeTypeAsync(string, CallSettings)

public virtual Task<NodeType> GetNodeTypeAsync(string name, CallSettings callSettings = null)

Gets details of a single NodeType.

Parameters
Name Description
name string

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/nodeTypes/[NODE_TYPE]";
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(name);

GetNodeTypeAsync(string, CancellationToken)

public virtual Task<NodeType> GetNodeTypeAsync(string name, CancellationToken cancellationToken)

Gets details of a single NodeType.

Parameters
Name Description
name string

Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskNodeType

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/nodeTypes/[NODE_TYPE]";
// Make the request
NodeType response = await vmwareEngineClient.GetNodeTypeAsync(name);

GetPrivateCloud(GetPrivateCloudRequest, CallSettings)

public virtual PrivateCloud GetPrivateCloud(GetPrivateCloudRequest request, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
request GetPrivateCloudRequest

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
PrivateCloud

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetPrivateCloudRequest request = new GetPrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PrivateCloud response = vmwareEngineClient.GetPrivateCloud(request);

GetPrivateCloud(PrivateCloudName, CallSettings)

public virtual PrivateCloud GetPrivateCloud(PrivateCloudName name, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PrivateCloud

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PrivateCloud response = vmwareEngineClient.GetPrivateCloud(name);

GetPrivateCloud(string, CallSettings)

public virtual PrivateCloud GetPrivateCloud(string name, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PrivateCloud

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PrivateCloud response = vmwareEngineClient.GetPrivateCloud(name);

GetPrivateCloudAsync(GetPrivateCloudRequest, CallSettings)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(GetPrivateCloudRequest request, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
request GetPrivateCloudRequest

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
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetPrivateCloudRequest request = new GetPrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(request);

GetPrivateCloudAsync(GetPrivateCloudRequest, CancellationToken)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(GetPrivateCloudRequest request, CancellationToken cancellationToken)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
request GetPrivateCloudRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetPrivateCloudRequest request = new GetPrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(request);

GetPrivateCloudAsync(PrivateCloudName, CallSettings)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(PrivateCloudName name, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(name);

GetPrivateCloudAsync(PrivateCloudName, CancellationToken)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(PrivateCloudName name, CancellationToken cancellationToken)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(name);

GetPrivateCloudAsync(string, CallSettings)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(string name, CallSettings callSettings = null)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(name);

GetPrivateCloudAsync(string, CancellationToken)

public virtual Task<PrivateCloud> GetPrivateCloudAsync(string name, CancellationToken cancellationToken)

Retrieves a PrivateCloud resource by its resource name.

Parameters
Name Description
name string

Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateCloud

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PrivateCloud response = await vmwareEngineClient.GetPrivateCloudAsync(name);

GetPrivateConnection(GetPrivateConnectionRequest, CallSettings)

public virtual PrivateConnection GetPrivateConnection(GetPrivateConnectionRequest request, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
request GetPrivateConnectionRequest

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
PrivateConnection

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetPrivateConnectionRequest request = new GetPrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
};
// Make the request
PrivateConnection response = vmwareEngineClient.GetPrivateConnection(request);

GetPrivateConnection(PrivateConnectionName, CallSettings)

public virtual PrivateConnection GetPrivateConnection(PrivateConnectionName name, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PrivateConnection

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
PrivateConnection response = vmwareEngineClient.GetPrivateConnection(name);

GetPrivateConnection(string, CallSettings)

public virtual PrivateConnection GetPrivateConnection(string name, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name string

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PrivateConnection

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
PrivateConnection response = vmwareEngineClient.GetPrivateConnection(name);

GetPrivateConnectionAsync(GetPrivateConnectionRequest, CallSettings)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(GetPrivateConnectionRequest request, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
request GetPrivateConnectionRequest

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
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetPrivateConnectionRequest request = new GetPrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
};
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(request);

GetPrivateConnectionAsync(GetPrivateConnectionRequest, CancellationToken)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(GetPrivateConnectionRequest request, CancellationToken cancellationToken)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
request GetPrivateConnectionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetPrivateConnectionRequest request = new GetPrivateConnectionRequest
{
    PrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
};
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(request);

GetPrivateConnectionAsync(PrivateConnectionName, CallSettings)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(PrivateConnectionName name, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(name);

GetPrivateConnectionAsync(PrivateConnectionName, CancellationToken)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(PrivateConnectionName name, CancellationToken cancellationToken)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name PrivateConnectionName

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnectionName name = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(name);

GetPrivateConnectionAsync(string, CallSettings)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(string name, CallSettings callSettings = null)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name string

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(name);

GetPrivateConnectionAsync(string, CancellationToken)

public virtual Task<PrivateConnection> GetPrivateConnectionAsync(string name, CancellationToken cancellationToken)

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.

Parameters
Name Description
name string

Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskPrivateConnection

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
PrivateConnection response = await vmwareEngineClient.GetPrivateConnectionAsync(name);

GetSubnet(GetSubnetRequest, CallSettings)

public virtual Subnet GetSubnet(GetSubnetRequest request, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
request GetSubnetRequest

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
Subnet

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetSubnetRequest request = new GetSubnetRequest
{
    SubnetName = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]"),
};
// Make the request
Subnet response = vmwareEngineClient.GetSubnet(request);

GetSubnet(SubnetName, CallSettings)

public virtual Subnet GetSubnet(SubnetName name, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
name SubnetName

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Subnet

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
SubnetName name = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]");
// Make the request
Subnet response = vmwareEngineClient.GetSubnet(name);

GetSubnet(string, CallSettings)

public virtual Subnet GetSubnet(string name, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
name string

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Subnet

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/subnets/[SUBNET]";
// Make the request
Subnet response = vmwareEngineClient.GetSubnet(name);

GetSubnetAsync(GetSubnetRequest, CallSettings)

public virtual Task<Subnet> GetSubnetAsync(GetSubnetRequest request, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
request GetSubnetRequest

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
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetSubnetRequest request = new GetSubnetRequest
{
    SubnetName = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]"),
};
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(request);

GetSubnetAsync(GetSubnetRequest, CancellationToken)

public virtual Task<Subnet> GetSubnetAsync(GetSubnetRequest request, CancellationToken cancellationToken)

Gets details of a single subnet.

Parameters
Name Description
request GetSubnetRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetSubnetRequest request = new GetSubnetRequest
{
    SubnetName = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]"),
};
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(request);

GetSubnetAsync(SubnetName, CallSettings)

public virtual Task<Subnet> GetSubnetAsync(SubnetName name, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
name SubnetName

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
SubnetName name = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]");
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(name);

GetSubnetAsync(SubnetName, CancellationToken)

public virtual Task<Subnet> GetSubnetAsync(SubnetName name, CancellationToken cancellationToken)

Gets details of a single subnet.

Parameters
Name Description
name SubnetName

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
SubnetName name = SubnetName.FromProjectLocationPrivateCloudSubnet("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[SUBNET]");
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(name);

GetSubnetAsync(string, CallSettings)

public virtual Task<Subnet> GetSubnetAsync(string name, CallSettings callSettings = null)

Gets details of a single subnet.

Parameters
Name Description
name string

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/subnets/[SUBNET]";
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(name);

GetSubnetAsync(string, CancellationToken)

public virtual Task<Subnet> GetSubnetAsync(string name, CancellationToken cancellationToken)

Gets details of a single subnet.

Parameters
Name Description
name string

Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSubnet

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/subnets/[SUBNET]";
// Make the request
Subnet response = await vmwareEngineClient.GetSubnetAsync(name);

GetVmwareEngineNetwork(GetVmwareEngineNetworkRequest, CallSettings)

public virtual VmwareEngineNetwork GetVmwareEngineNetwork(GetVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
request GetVmwareEngineNetworkRequest

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
VmwareEngineNetwork

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GetVmwareEngineNetworkRequest request = new GetVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
};
// Make the request
VmwareEngineNetwork response = vmwareEngineClient.GetVmwareEngineNetwork(request);

GetVmwareEngineNetwork(VmwareEngineNetworkName, CallSettings)

public virtual VmwareEngineNetwork GetVmwareEngineNetwork(VmwareEngineNetworkName name, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VmwareEngineNetwork

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
VmwareEngineNetwork response = vmwareEngineClient.GetVmwareEngineNetwork(name);

GetVmwareEngineNetwork(string, CallSettings)

public virtual VmwareEngineNetwork GetVmwareEngineNetwork(string name, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VmwareEngineNetwork

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
VmwareEngineNetwork response = vmwareEngineClient.GetVmwareEngineNetwork(name);

GetVmwareEngineNetworkAsync(GetVmwareEngineNetworkRequest, CallSettings)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(GetVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
request GetVmwareEngineNetworkRequest

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
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetVmwareEngineNetworkRequest request = new GetVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
};
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(request);

GetVmwareEngineNetworkAsync(GetVmwareEngineNetworkRequest, CancellationToken)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(GetVmwareEngineNetworkRequest request, CancellationToken cancellationToken)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
request GetVmwareEngineNetworkRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GetVmwareEngineNetworkRequest request = new GetVmwareEngineNetworkRequest
{
    VmwareEngineNetworkName = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]"),
};
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(request);

GetVmwareEngineNetworkAsync(VmwareEngineNetworkName, CallSettings)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(VmwareEngineNetworkName name, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(name);

GetVmwareEngineNetworkAsync(VmwareEngineNetworkName, CancellationToken)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(VmwareEngineNetworkName name, CancellationToken cancellationToken)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name VmwareEngineNetworkName

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetworkName name = VmwareEngineNetworkName.FromProjectLocationVmwareEngineNetwork("[PROJECT]", "[LOCATION]", "[VMWARE_ENGINE_NETWORK]");
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(name);

GetVmwareEngineNetworkAsync(string, CallSettings)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(string name, CallSettings callSettings = null)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(name);

GetVmwareEngineNetworkAsync(string, CancellationToken)

public virtual Task<VmwareEngineNetwork> GetVmwareEngineNetworkAsync(string name, CancellationToken cancellationToken)

Retrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).

Parameters
Name Description
name string

Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVmwareEngineNetwork

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vmwareEngineNetworks/[VMWARE_ENGINE_NETWORK]";
// Make the request
VmwareEngineNetwork response = await vmwareEngineClient.GetVmwareEngineNetworkAsync(name);

GrantDnsBindPermission(DnsBindPermissionName, Principal, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> GrantDnsBindPermission(DnsBindPermissionName name, Principal principal, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.GrantDnsBindPermission(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceGrantDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermission(GrantDnsBindPermissionRequest, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> GrantDnsBindPermission(GrantDnsBindPermissionRequest request, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GrantDnsBindPermissionRequest

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
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
GrantDnsBindPermissionRequest request = new GrantDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.GrantDnsBindPermission(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceGrantDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermission(string, Principal, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> GrantDnsBindPermission(string name, Principal principal, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.GrantDnsBindPermission(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceGrantDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(DnsBindPermissionName, Principal, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(DnsBindPermissionName name, Principal principal, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(DnsBindPermissionName, Principal, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(DnsBindPermissionName name, Principal principal, CancellationToken cancellationToken)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(GrantDnsBindPermissionRequest, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(GrantDnsBindPermissionRequest request, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GrantDnsBindPermissionRequest

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
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GrantDnsBindPermissionRequest request = new GrantDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(GrantDnsBindPermissionRequest, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(GrantDnsBindPermissionRequest request, CancellationToken cancellationToken)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request GrantDnsBindPermissionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
GrantDnsBindPermissionRequest request = new GrantDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(string, Principal, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(string name, Principal principal, CallSettings callSettings = null)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

GrantDnsBindPermissionAsync(string, Principal, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> GrantDnsBindPermissionAsync(string name, Principal principal, CancellationToken cancellationToken)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.GrantDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceGrantDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

ListClusters(ListClustersRequest, CallSettings)

public virtual PagedEnumerable<ListClustersResponse, Cluster> ListClusters(ListClustersRequest request, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
request ListClustersRequest

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
PagedEnumerableListClustersResponseCluster

A pageable sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClusters(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Cluster 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 (ListClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListClusters(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListClustersResponse, Cluster> ListClusters(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListClustersResponseCluster

A pageable sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Cluster 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 (ListClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListClusters(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListClustersResponse, Cluster> ListClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListClustersResponseCluster

A pageable sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Cluster 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 (ListClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListClustersAsync(ListClustersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListClustersResponse, Cluster> ListClustersAsync(ListClustersRequest request, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
request ListClustersRequest

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
PagedAsyncEnumerableListClustersResponseCluster

A pageable asynchronous sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClustersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Cluster 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((ListClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListClustersAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListClustersResponse, Cluster> ListClustersAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListClustersResponseCluster

A pageable asynchronous sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Cluster 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((ListClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListClustersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListClustersResponse, Cluster> ListClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Cluster resources in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListClustersResponseCluster

A pageable asynchronous sequence of Cluster resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListClustersResponse, Cluster> response = vmwareEngineClient.ListClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Cluster 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((ListClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Cluster 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<Cluster> 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 (Cluster 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;

ListExternalAccessRules(ListExternalAccessRulesRequest, CallSettings)

public virtual PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRules(ListExternalAccessRulesRequest request, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
request ListExternalAccessRulesRequest

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
PagedEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListExternalAccessRulesRequest request = new ListExternalAccessRulesRequest
{
    ParentAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRules(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAccessRule 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 (ListExternalAccessRulesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAccessRules(NetworkPolicyName, string, int?, CallSettings)

public virtual PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRules(NetworkPolicyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
parent NetworkPolicyName

Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicyName parent = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRules(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAccessRule 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 (ListExternalAccessRulesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAccessRules(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRules(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
parent string

Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
PagedEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRules(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAccessRule 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 (ListExternalAccessRulesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAccessRulesAsync(ListExternalAccessRulesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRulesAsync(ListExternalAccessRulesRequest request, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
request ListExternalAccessRulesRequest

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
PagedAsyncEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable asynchronous sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListExternalAccessRulesRequest request = new ListExternalAccessRulesRequest
{
    ParentAsNetworkPolicyName = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRulesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAccessRule 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((ListExternalAccessRulesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAccessRulesAsync(NetworkPolicyName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRulesAsync(NetworkPolicyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
parent NetworkPolicyName

Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable asynchronous sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicyName parent = NetworkPolicyName.FromProjectLocationNetworkPolicy("[PROJECT]", "[LOCATION]", "[NETWORK_POLICY]");
// Make the request
PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRulesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAccessRule 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((ListExternalAccessRulesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAccessRulesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> ListExternalAccessRulesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ExternalAccessRule resources in the specified network policy.

Parameters
Name Description
parent string

Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListExternalAccessRulesResponseExternalAccessRule

A pageable asynchronous sequence of ExternalAccessRule resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPolicies/[NETWORK_POLICY]";
// Make the request
PagedAsyncEnumerable<ListExternalAccessRulesResponse, ExternalAccessRule> response = vmwareEngineClient.ListExternalAccessRulesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAccessRule 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((ListExternalAccessRulesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAccessRule 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<ExternalAccessRule> 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 (ExternalAccessRule 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;

ListExternalAddresses(ListExternalAddressesRequest, CallSettings)

public virtual PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddresses(ListExternalAddressesRequest request, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
request ListExternalAddressesRequest

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
PagedEnumerableListExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListExternalAddressesRequest request = new ListExternalAddressesRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddresses(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (ListExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListExternalAddresses(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddresses(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddresses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (ListExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListExternalAddresses(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddresses(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListExternalAddressesResponseExternalAddress

A pageable sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddresses(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ExternalAddress 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 (ListExternalAddressesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListExternalAddressesAsync(ListExternalAddressesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddressesAsync(ListExternalAddressesRequest request, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
request ListExternalAddressesRequest

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
PagedAsyncEnumerableListExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListExternalAddressesRequest request = new ListExternalAddressesRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddressesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((ListExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListExternalAddressesAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddressesAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddressesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((ListExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListExternalAddressesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> ListExternalAddressesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListExternalAddressesResponseExternalAddress

A pageable asynchronous sequence of ExternalAddress resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListExternalAddressesResponse, ExternalAddress> response = vmwareEngineClient.ListExternalAddressesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExternalAddress 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((ListExternalAddressesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ExternalAddress 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<ExternalAddress> 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 (ExternalAddress 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;

ListHcxActivationKeys(ListHcxActivationKeysRequest, CallSettings)

public virtual PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeys(ListHcxActivationKeysRequest request, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
request ListHcxActivationKeysRequest

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
PagedEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListHcxActivationKeysRequest request = new ListHcxActivationKeysRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeys(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (HcxActivationKey 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 (ListHcxActivationKeysResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListHcxActivationKeys(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeys(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeys(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (HcxActivationKey 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 (ListHcxActivationKeysResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListHcxActivationKeys(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeys(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeys(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (HcxActivationKey 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 (ListHcxActivationKeysResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListHcxActivationKeysAsync(ListHcxActivationKeysRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeysAsync(ListHcxActivationKeysRequest request, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
request ListHcxActivationKeysRequest

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
PagedAsyncEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable asynchronous sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListHcxActivationKeysRequest request = new ListHcxActivationKeysRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeysAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HcxActivationKey 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((ListHcxActivationKeysResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListHcxActivationKeysAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeysAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable asynchronous sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeysAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HcxActivationKey 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((ListHcxActivationKeysResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListHcxActivationKeysAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> ListHcxActivationKeysAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HcxActivationKey resources in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListHcxActivationKeysResponseHcxActivationKey

A pageable asynchronous sequence of HcxActivationKey resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListHcxActivationKeysResponse, HcxActivationKey> response = vmwareEngineClient.ListHcxActivationKeysAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HcxActivationKey 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((ListHcxActivationKeysResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HcxActivationKey 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<HcxActivationKey> 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 (HcxActivationKey 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;

ListLoggingServers(ListLoggingServersRequest, CallSettings)

public virtual PagedEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServers(ListLoggingServersRequest request, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
request ListLoggingServersRequest

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
PagedEnumerableListLoggingServersResponseLoggingServer

A pageable sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListLoggingServersRequest request = new ListLoggingServersRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServers(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (LoggingServer 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 (ListLoggingServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListLoggingServers(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServers(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLoggingServersResponseLoggingServer

A pageable sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServers(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (LoggingServer 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 (ListLoggingServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListLoggingServers(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServers(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLoggingServersResponseLoggingServer

A pageable sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServers(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (LoggingServer 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 (ListLoggingServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListLoggingServersAsync(ListLoggingServersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServersAsync(ListLoggingServersRequest request, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
request ListLoggingServersRequest

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
PagedAsyncEnumerableListLoggingServersResponseLoggingServer

A pageable asynchronous sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListLoggingServersRequest request = new ListLoggingServersRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LoggingServer 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((ListLoggingServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListLoggingServersAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServersAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLoggingServersResponseLoggingServer

A pageable asynchronous sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LoggingServer 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((ListLoggingServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListLoggingServersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> ListLoggingServersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists logging servers configured for a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLoggingServersResponseLoggingServer

A pageable asynchronous sequence of LoggingServer resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListLoggingServersResponse, LoggingServer> response = vmwareEngineClient.ListLoggingServersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LoggingServer 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((ListLoggingServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LoggingServer 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<LoggingServer> 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 (LoggingServer 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;

ListManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest, CallSettings)

public virtual PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest request, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
request ListManagementDnsZoneBindingsRequest

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
PagedEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListManagementDnsZoneBindingsRequest request = new ListManagementDnsZoneBindingsRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindings(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ManagementDnsZoneBinding 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 (ListManagementDnsZoneBindingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListManagementDnsZoneBindings(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindings(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ManagementDnsZoneBinding 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 (ListManagementDnsZoneBindingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListManagementDnsZoneBindings(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ManagementDnsZoneBinding 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 (ListManagementDnsZoneBindingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListManagementDnsZoneBindingsAsync(ListManagementDnsZoneBindingsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindingsAsync(ListManagementDnsZoneBindingsRequest request, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
request ListManagementDnsZoneBindingsRequest

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
PagedAsyncEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable asynchronous sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListManagementDnsZoneBindingsRequest request = new ListManagementDnsZoneBindingsRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindingsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ManagementDnsZoneBinding 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((ListManagementDnsZoneBindingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListManagementDnsZoneBindingsAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindingsAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable asynchronous sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ManagementDnsZoneBinding 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((ListManagementDnsZoneBindingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListManagementDnsZoneBindingsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> ListManagementDnsZoneBindingsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListManagementDnsZoneBindingsResponseManagementDnsZoneBinding

A pageable asynchronous sequence of ManagementDnsZoneBinding resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListManagementDnsZoneBindingsResponse, ManagementDnsZoneBinding> response = vmwareEngineClient.ListManagementDnsZoneBindingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ManagementDnsZoneBinding 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((ListManagementDnsZoneBindingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ManagementDnsZoneBinding 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<ManagementDnsZoneBinding> 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 (ManagementDnsZoneBinding 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;

ListNetworkPeerings(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeerings(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeerings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPeering 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 (ListNetworkPeeringsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPeerings(ListNetworkPeeringsRequest, CallSettings)

public virtual PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeerings(ListNetworkPeeringsRequest request, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request ListNetworkPeeringsRequest

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
PagedEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListNetworkPeeringsRequest request = new ListNetworkPeeringsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeerings(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPeering 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 (ListNetworkPeeringsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPeerings(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeerings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeerings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPeering 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 (ListNetworkPeeringsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPeeringsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeeringsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable asynchronous sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeeringsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPeering 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((ListNetworkPeeringsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPeeringsAsync(ListNetworkPeeringsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeeringsAsync(ListNetworkPeeringsRequest request, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request ListNetworkPeeringsRequest

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
PagedAsyncEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable asynchronous sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListNetworkPeeringsRequest request = new ListNetworkPeeringsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeeringsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPeering 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((ListNetworkPeeringsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPeeringsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> ListNetworkPeeringsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPeering resources in a given project. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNetworkPeeringsResponseNetworkPeering

A pageable asynchronous sequence of NetworkPeering resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListNetworkPeeringsResponse, NetworkPeering> response = vmwareEngineClient.ListNetworkPeeringsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPeering 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((ListNetworkPeeringsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPeering 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<NetworkPeering> 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 (NetworkPeering 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;

ListNetworkPolicies(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPolicies(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPolicies(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPolicy 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 (ListNetworkPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNetworkPolicies(ListNetworkPoliciesRequest, CallSettings)

public virtual PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPolicies(ListNetworkPoliciesRequest request, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
request ListNetworkPoliciesRequest

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
PagedEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListNetworkPoliciesRequest request = new ListNetworkPoliciesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPolicies(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPolicy 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 (ListNetworkPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNetworkPolicies(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPolicies(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
parent string

Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPolicies(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NetworkPolicy 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 (ListNetworkPoliciesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNetworkPoliciesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPoliciesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable asynchronous sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPoliciesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPolicy 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((ListNetworkPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNetworkPoliciesAsync(ListNetworkPoliciesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPoliciesAsync(ListNetworkPoliciesRequest request, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
request ListNetworkPoliciesRequest

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
PagedAsyncEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable asynchronous sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListNetworkPoliciesRequest request = new ListNetworkPoliciesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPoliciesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPolicy 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((ListNetworkPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNetworkPoliciesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> ListNetworkPoliciesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists NetworkPolicy resources in a specified project and location.

Parameters
Name Description
parent string

Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNetworkPoliciesResponseNetworkPolicy

A pageable asynchronous sequence of NetworkPolicy resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListNetworkPoliciesResponse, NetworkPolicy> response = vmwareEngineClient.ListNetworkPoliciesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NetworkPolicy 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((ListNetworkPoliciesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NetworkPolicy 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<NetworkPolicy> 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 (NetworkPolicy 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;

ListNodeTypes(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
parent LocationName

Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNodeTypesResponseNodeType

A pageable sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NodeType 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 (ListNodeTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodeTypes(ListNodeTypesRequest, CallSettings)

public virtual PagedEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypes(ListNodeTypesRequest request, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
request ListNodeTypesRequest

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
PagedEnumerableListNodeTypesResponseNodeType

A pageable sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListNodeTypesRequest request = new ListNodeTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (NodeType 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 (ListNodeTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodeTypes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
parent string

Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNodeTypesResponseNodeType

A pageable sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (NodeType 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 (ListNodeTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodeTypesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
parent LocationName

Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNodeTypesResponseNodeType

A pageable asynchronous sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NodeType 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((ListNodeTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodeTypesAsync(ListNodeTypesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypesAsync(ListNodeTypesRequest request, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
request ListNodeTypesRequest

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
PagedAsyncEnumerableListNodeTypesResponseNodeType

A pageable asynchronous sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListNodeTypesRequest request = new ListNodeTypesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NodeType 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((ListNodeTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodeTypesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> ListNodeTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists node types

Parameters
Name Description
parent string

Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNodeTypesResponseNodeType

A pageable asynchronous sequence of NodeType resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListNodeTypesResponse, NodeType> response = vmwareEngineClient.ListNodeTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((NodeType 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((ListNodeTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (NodeType 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<NodeType> 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 (NodeType 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;

ListNodes(ClusterName, string, int?, CallSettings)

public virtual PagedEnumerable<ListNodesResponse, Node> ListNodes(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
parent ClusterName

Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNodesResponseNode

A pageable sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
PagedEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Node 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 (ListNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListNodes(ListNodesRequest, CallSettings)

public virtual PagedEnumerable<ListNodesResponse, Node> ListNodes(ListNodesRequest request, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
request ListNodesRequest

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
PagedEnumerableListNodesResponseNode

A pageable sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListNodesRequest request = new ListNodesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
};
// Make the request
PagedEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Node 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 (ListNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListNodes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListNodesResponse, Node> ListNodes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
parent string

Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListNodesResponseNode

A pageable sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
PagedEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Node 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 (ListNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListNodesAsync(ClusterName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNodesResponse, Node> ListNodesAsync(ClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
parent ClusterName

Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNodesResponseNode

A pageable asynchronous sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ClusterName parent = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Node 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((ListNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListNodesAsync(ListNodesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListNodesResponse, Node> ListNodesAsync(ListNodesRequest request, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
request ListNodesRequest

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
PagedAsyncEnumerableListNodesResponseNode

A pageable asynchronous sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListNodesRequest request = new ListNodesRequest
{
    ParentAsClusterName = ClusterName.FromProjectLocationPrivateCloudCluster("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Node 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((ListNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListNodesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListNodesResponse, Node> ListNodesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists nodes in a given cluster.

Parameters
Name Description
parent string

Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListNodesResponseNode

A pageable asynchronous sequence of Node resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/clusters/[CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListNodesResponse, Node> response = vmwareEngineClient.ListNodesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Node 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((ListNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Node 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<Node> 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 (Node 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;

ListPeeringRoutes(ListPeeringRoutesRequest, CallSettings)

public virtual PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutes(ListPeeringRoutesRequest request, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request ListPeeringRoutesRequest

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
PagedEnumerableListPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListPeeringRoutesRequest request = new ListPeeringRoutesRequest
{
    ParentAsNetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPeeringRoutes(NetworkPeeringName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutes(NetworkPeeringName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent NetworkPeeringName

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPeeringName parent = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPeeringRoutes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
PagedEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPeeringRoutesAsync(ListPeeringRoutesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutesAsync(ListPeeringRoutesRequest request, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request ListPeeringRoutesRequest

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
PagedAsyncEnumerableListPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListPeeringRoutesRequest request = new ListPeeringRoutesRequest
{
    ParentAsNetworkPeeringName = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPeeringRoutesAsync(NetworkPeeringName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutesAsync(NetworkPeeringName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent NetworkPeeringName

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeeringName parent = NetworkPeeringName.FromProjectLocationNetworkPeering("[PROJECT]", "[LOCATION]", "[NETWORK_PEERING]");
// Make the request
PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPeeringRoutesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> ListPeeringRoutesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
parent string

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/networkPeerings/[NETWORK_PEERING]";
// Make the request
PagedAsyncEnumerable<ListPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPeeringRoutesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateClouds(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateClouds(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateCloudsResponsePrivateCloud

A pageable sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateClouds(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateCloud 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 (ListPrivateCloudsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateClouds(ListPrivateCloudsRequest, CallSettings)

public virtual PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateClouds(ListPrivateCloudsRequest request, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
request ListPrivateCloudsRequest

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
PagedEnumerableListPrivateCloudsResponsePrivateCloud

A pageable sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListPrivateCloudsRequest request = new ListPrivateCloudsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateClouds(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateCloud 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 (ListPrivateCloudsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateClouds(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateClouds(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateCloudsResponsePrivateCloud

A pageable sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateClouds(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateCloud 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 (ListPrivateCloudsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateCloudsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateCloudsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateCloudsResponsePrivateCloud

A pageable asynchronous sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateCloudsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateCloud 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((ListPrivateCloudsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateCloudsAsync(ListPrivateCloudsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateCloudsAsync(ListPrivateCloudsRequest request, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
request ListPrivateCloudsRequest

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
PagedAsyncEnumerableListPrivateCloudsResponsePrivateCloud

A pageable asynchronous sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListPrivateCloudsRequest request = new ListPrivateCloudsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateCloudsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateCloud 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((ListPrivateCloudsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateCloudsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> ListPrivateCloudsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateCloud resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateCloudsResponsePrivateCloud

A pageable asynchronous sequence of PrivateCloud resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPrivateCloudsResponse, PrivateCloud> response = vmwareEngineClient.ListPrivateCloudsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateCloud 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((ListPrivateCloudsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateCloud 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<PrivateCloud> 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 (PrivateCloud 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;

ListPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
request ListPrivateConnectionPeeringRoutesRequest

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
PagedEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListPrivateConnectionPeeringRoutesRequest request = new ListPrivateConnectionPeeringRoutesRequest
{
    ParentAsPrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
};
// Make the request
PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPrivateConnectionPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnectionPeeringRoutes(PrivateConnectionName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutes(PrivateConnectionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
parent PrivateConnectionName

Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1/privateConnections/my-connection

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateConnectionName parent = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPrivateConnectionPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnectionPeeringRoutes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
parent string

Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1/privateConnections/my-connection

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
PagedEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PeeringRoute 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 (ListPrivateConnectionPeeringRoutesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnectionPeeringRoutesAsync(ListPrivateConnectionPeeringRoutesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutesAsync(ListPrivateConnectionPeeringRoutesRequest request, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
request ListPrivateConnectionPeeringRoutesRequest

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
PagedAsyncEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListPrivateConnectionPeeringRoutesRequest request = new ListPrivateConnectionPeeringRoutesRequest
{
    ParentAsPrivateConnectionName = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]"),
};
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPrivateConnectionPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnectionPeeringRoutesAsync(PrivateConnectionName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutesAsync(PrivateConnectionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
parent PrivateConnectionName

Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1/privateConnections/my-connection

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnectionName parent = PrivateConnectionName.FromProjectLocationPrivateConnection("[PROJECT]", "[LOCATION]", "[PRIVATE_CONNECTION]");
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPrivateConnectionPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnectionPeeringRoutesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> ListPrivateConnectionPeeringRoutesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the private connection routes exchanged over a peering connection.

Parameters
Name Description
parent string

Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1/privateConnections/my-connection

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateConnectionPeeringRoutesResponsePeeringRoute

A pageable asynchronous sequence of PeeringRoute resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateConnections/[PRIVATE_CONNECTION]";
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionPeeringRoutesResponse, PeeringRoute> response = vmwareEngineClient.ListPrivateConnectionPeeringRoutesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PeeringRoute 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((ListPrivateConnectionPeeringRoutesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PeeringRoute 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<PeeringRoute> 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 (PeeringRoute 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;

ListPrivateConnections(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnections(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnections(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateConnection 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 (ListPrivateConnectionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListPrivateConnections(ListPrivateConnectionsRequest, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnections(ListPrivateConnectionsRequest request, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
request ListPrivateConnectionsRequest

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
PagedEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListPrivateConnectionsRequest request = new ListPrivateConnectionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnections(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateConnection 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 (ListPrivateConnectionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListPrivateConnections(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnections(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnections(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (PrivateConnection 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 (ListPrivateConnectionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListPrivateConnectionsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnectionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable asynchronous sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnectionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateConnection 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((ListPrivateConnectionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListPrivateConnectionsAsync(ListPrivateConnectionsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnectionsAsync(ListPrivateConnectionsRequest request, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
request ListPrivateConnectionsRequest

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
PagedAsyncEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable asynchronous sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListPrivateConnectionsRequest request = new ListPrivateConnectionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnectionsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateConnection 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((ListPrivateConnectionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListPrivateConnectionsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> ListPrivateConnectionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists PrivateConnection resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListPrivateConnectionsResponsePrivateConnection

A pageable asynchronous sequence of PrivateConnection resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPrivateConnectionsResponse, PrivateConnection> response = vmwareEngineClient.ListPrivateConnectionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PrivateConnection 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((ListPrivateConnectionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (PrivateConnection 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<PrivateConnection> 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 (PrivateConnection 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;

ListSubnets(ListSubnetsRequest, CallSettings)

public virtual PagedEnumerable<ListSubnetsResponse, Subnet> ListSubnets(ListSubnetsRequest request, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
request ListSubnetsRequest

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
PagedEnumerableListSubnetsResponseSubnet

A pageable sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListSubnetsRequest request = new ListSubnetsRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PagedEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnets(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Subnet 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 (ListSubnetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListSubnets(PrivateCloudName, string, int?, CallSettings)

public virtual PagedEnumerable<ListSubnetsResponse, Subnet> ListSubnets(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSubnetsResponseSubnet

A pageable sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Subnet 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 (ListSubnetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListSubnets(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListSubnetsResponse, Subnet> ListSubnets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSubnetsResponseSubnet

A pageable sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Subnet 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 (ListSubnetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListSubnetsAsync(ListSubnetsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListSubnetsResponse, Subnet> ListSubnetsAsync(ListSubnetsRequest request, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
request ListSubnetsRequest

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
PagedAsyncEnumerableListSubnetsResponseSubnet

A pageable asynchronous sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListSubnetsRequest request = new ListSubnetsRequest
{
    ParentAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
PagedAsyncEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnetsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Subnet 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((ListSubnetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListSubnetsAsync(PrivateCloudName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListSubnetsResponse, Subnet> ListSubnetsAsync(PrivateCloudName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
parent PrivateCloudName

Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSubnetsResponseSubnet

A pageable asynchronous sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName parent = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
PagedAsyncEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Subnet 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((ListSubnetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListSubnetsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListSubnetsResponse, Subnet> ListSubnetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists subnets in a given private cloud.

Parameters
Name Description
parent string

Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSubnetsResponseSubnet

A pageable asynchronous sequence of Subnet resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
PagedAsyncEnumerable<ListSubnetsResponse, Subnet> response = vmwareEngineClient.ListSubnetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Subnet 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((ListSubnetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Subnet 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<Subnet> 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 (Subnet 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;

ListVmwareEngineNetworks(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworks(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworks(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (VmwareEngineNetwork 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 (ListVmwareEngineNetworksResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

ListVmwareEngineNetworks(ListVmwareEngineNetworksRequest, CallSettings)

public virtual PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworks(ListVmwareEngineNetworksRequest request, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
request ListVmwareEngineNetworksRequest

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
PagedEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ListVmwareEngineNetworksRequest request = new ListVmwareEngineNetworksRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworks(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (VmwareEngineNetwork 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 (ListVmwareEngineNetworksResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

ListVmwareEngineNetworks(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworks(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (VmwareEngineNetwork 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 (ListVmwareEngineNetworksResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

ListVmwareEngineNetworksAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworksAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable asynchronous sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworksAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VmwareEngineNetwork 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((ListVmwareEngineNetworksResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

ListVmwareEngineNetworksAsync(ListVmwareEngineNetworksRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworksAsync(ListVmwareEngineNetworksRequest request, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
request ListVmwareEngineNetworksRequest

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
PagedAsyncEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable asynchronous sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ListVmwareEngineNetworksRequest request = new ListVmwareEngineNetworksRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworksAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VmwareEngineNetwork 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((ListVmwareEngineNetworksResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

ListVmwareEngineNetworksAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> ListVmwareEngineNetworksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVmwareEngineNetworksResponseVmwareEngineNetwork

A pageable asynchronous sequence of VmwareEngineNetwork resources.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListVmwareEngineNetworksResponse, VmwareEngineNetwork> response = vmwareEngineClient.ListVmwareEngineNetworksAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VmwareEngineNetwork 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((ListVmwareEngineNetworksResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (VmwareEngineNetwork 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<VmwareEngineNetwork> 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 (VmwareEngineNetwork 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;

PollOnceCreateCluster(string, CallSettings)

public virtual Operation<Cluster, OperationMetadata> PollOnceCreateCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClusterOperationMetadata

The result of polling the operation.

PollOnceCreateClusterAsync(string, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> PollOnceCreateClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateExternalAccessRule(string, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> PollOnceCreateExternalAccessRule(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAccessRuleOperationMetadata

The result of polling the operation.

PollOnceCreateExternalAccessRuleAsync(string, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> PollOnceCreateExternalAccessRuleAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateExternalAddress(string, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> PollOnceCreateExternalAddress(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateExternalAddress .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAddressOperationMetadata

The result of polling the operation.

PollOnceCreateExternalAddressAsync(string, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> PollOnceCreateExternalAddressAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateExternalAddress.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateHcxActivationKey(string, CallSettings)

public virtual Operation<HcxActivationKey, OperationMetadata> PollOnceCreateHcxActivationKey(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateHcxActivationKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationHcxActivationKeyOperationMetadata

The result of polling the operation.

PollOnceCreateHcxActivationKeyAsync(string, CallSettings)

public virtual Task<Operation<HcxActivationKey, OperationMetadata>> PollOnceCreateHcxActivationKeyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateHcxActivationKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationHcxActivationKeyOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateLoggingServer(string, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> PollOnceCreateLoggingServer(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateLoggingServer .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLoggingServerOperationMetadata

The result of polling the operation.

PollOnceCreateLoggingServerAsync(string, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> PollOnceCreateLoggingServerAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateLoggingServer.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> PollOnceCreateManagementDnsZoneBinding(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The result of polling the operation.

PollOnceCreateManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> PollOnceCreateManagementDnsZoneBindingAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateNetworkPeering(string, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> PollOnceCreateNetworkPeering(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateNetworkPeering .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPeeringOperationMetadata

The result of polling the operation.

PollOnceCreateNetworkPeeringAsync(string, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> PollOnceCreateNetworkPeeringAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateNetworkPeering.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateNetworkPolicy(string, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> PollOnceCreateNetworkPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateNetworkPolicy .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPolicyOperationMetadata

The result of polling the operation.

PollOnceCreateNetworkPolicyAsync(string, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> PollOnceCreateNetworkPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateNetworkPolicy.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A task representing the result of polling the operation.

PollOnceCreatePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceCreatePrivateCloud(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreatePrivateCloud .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceCreatePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceCreatePrivateCloudAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreatePrivateCloud.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceCreatePrivateConnection(string, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> PollOnceCreatePrivateConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreatePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateConnectionOperationMetadata

The result of polling the operation.

PollOnceCreatePrivateConnectionAsync(string, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> PollOnceCreatePrivateConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreatePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateVmwareEngineNetwork(string, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> PollOnceCreateVmwareEngineNetwork(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVmwareEngineNetworkOperationMetadata

The result of polling the operation.

PollOnceCreateVmwareEngineNetworkAsync(string, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> PollOnceCreateVmwareEngineNetworkAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCluster(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteClusterAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteExternalAccessRule(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteExternalAccessRule(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteExternalAccessRuleAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteExternalAccessRuleAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteExternalAddress(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteExternalAddress(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteExternalAddress .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteExternalAddressAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteExternalAddressAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteExternalAddress.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteLoggingServer(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteLoggingServer(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteLoggingServer .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteLoggingServerAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteLoggingServerAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteLoggingServer.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteManagementDnsZoneBinding(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteManagementDnsZoneBindingAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteNetworkPeering(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteNetworkPeering(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteNetworkPeering .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteNetworkPeeringAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteNetworkPeeringAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteNetworkPeering.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteNetworkPolicy(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteNetworkPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteNetworkPolicy .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteNetworkPolicyAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteNetworkPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteNetworkPolicy.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeletePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceDeletePrivateCloud(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeletePrivateCloud .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceDeletePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceDeletePrivateCloudAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeletePrivateCloud.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceDeletePrivateConnection(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeletePrivateConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeletePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeletePrivateConnectionAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeletePrivateConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeletePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteVmwareEngineNetwork(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteVmwareEngineNetwork(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteVmwareEngineNetworkAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteVmwareEngineNetworkAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceGrantDnsBindPermission(string, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> PollOnceGrantDnsBindPermission(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of GrantDnsBindPermission.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The result of polling the operation.

PollOnceGrantDnsBindPermissionAsync(string, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> PollOnceGrantDnsBindPermissionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of GrantDnsBindPermission.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A task representing the result of polling the operation.

PollOnceRepairManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> PollOnceRepairManagementDnsZoneBinding(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of RepairManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The result of polling the operation.

PollOnceRepairManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> PollOnceRepairManagementDnsZoneBindingAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of RepairManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A task representing the result of polling the operation.

PollOnceResetNsxCredentials(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceResetNsxCredentials(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of ResetNsxCredentials .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceResetNsxCredentialsAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceResetNsxCredentialsAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of ResetNsxCredentials.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceResetVcenterCredentials(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceResetVcenterCredentials(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of ResetVcenterCredentials.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceResetVcenterCredentialsAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceResetVcenterCredentialsAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of ResetVcenterCredentials.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceRevokeDnsBindPermission(string, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> PollOnceRevokeDnsBindPermission(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of RevokeDnsBindPermission.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The result of polling the operation.

PollOnceRevokeDnsBindPermissionAsync(string, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> PollOnceRevokeDnsBindPermissionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of RevokeDnsBindPermission.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A task representing the result of polling the operation.

PollOnceUndeletePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceUndeletePrivateCloud(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UndeletePrivateCloud .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceUndeletePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceUndeletePrivateCloudAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UndeletePrivateCloud.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateCluster(string, CallSettings)

public virtual Operation<Cluster, OperationMetadata> PollOnceUpdateCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClusterOperationMetadata

The result of polling the operation.

PollOnceUpdateClusterAsync(string, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> PollOnceUpdateClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateCluster.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateDnsForwarding(string, CallSettings)

public virtual Operation<DnsForwarding, OperationMetadata> PollOnceUpdateDnsForwarding(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateDnsForwarding .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsForwardingOperationMetadata

The result of polling the operation.

PollOnceUpdateDnsForwardingAsync(string, CallSettings)

public virtual Task<Operation<DnsForwarding, OperationMetadata>> PollOnceUpdateDnsForwardingAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateDnsForwarding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsForwardingOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateExternalAccessRule(string, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> PollOnceUpdateExternalAccessRule(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAccessRuleOperationMetadata

The result of polling the operation.

PollOnceUpdateExternalAccessRuleAsync(string, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> PollOnceUpdateExternalAccessRuleAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateExternalAccessRule.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateExternalAddress(string, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> PollOnceUpdateExternalAddress(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateExternalAddress .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAddressOperationMetadata

The result of polling the operation.

PollOnceUpdateExternalAddressAsync(string, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> PollOnceUpdateExternalAddressAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateExternalAddress.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateLoggingServer(string, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> PollOnceUpdateLoggingServer(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateLoggingServer .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLoggingServerOperationMetadata

The result of polling the operation.

PollOnceUpdateLoggingServerAsync(string, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> PollOnceUpdateLoggingServerAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateLoggingServer.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> PollOnceUpdateManagementDnsZoneBinding(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The result of polling the operation.

PollOnceUpdateManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> PollOnceUpdateManagementDnsZoneBindingAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateManagementDnsZoneBinding.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateNetworkPeering(string, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> PollOnceUpdateNetworkPeering(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateNetworkPeering .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPeeringOperationMetadata

The result of polling the operation.

PollOnceUpdateNetworkPeeringAsync(string, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> PollOnceUpdateNetworkPeeringAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateNetworkPeering.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateNetworkPolicy(string, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> PollOnceUpdateNetworkPolicy(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateNetworkPolicy .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPolicyOperationMetadata

The result of polling the operation.

PollOnceUpdateNetworkPolicyAsync(string, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> PollOnceUpdateNetworkPolicyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateNetworkPolicy.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdatePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> PollOnceUpdatePrivateCloud(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdatePrivateCloud .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The result of polling the operation.

PollOnceUpdatePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> PollOnceUpdatePrivateCloudAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdatePrivateCloud.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdatePrivateConnection(string, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> PollOnceUpdatePrivateConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdatePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateConnectionOperationMetadata

The result of polling the operation.

PollOnceUpdatePrivateConnectionAsync(string, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> PollOnceUpdatePrivateConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdatePrivateConnection.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateSubnet(string, CallSettings)

public virtual Operation<Subnet, OperationMetadata> PollOnceUpdateSubnet(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateSubnet.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationSubnetOperationMetadata

The result of polling the operation.

PollOnceUpdateSubnetAsync(string, CallSettings)

public virtual Task<Operation<Subnet, OperationMetadata>> PollOnceUpdateSubnetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateSubnet.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationSubnetOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateVmwareEngineNetwork(string, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> PollOnceUpdateVmwareEngineNetwork(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVmwareEngineNetworkOperationMetadata

The result of polling the operation.

PollOnceUpdateVmwareEngineNetworkAsync(string, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> PollOnceUpdateVmwareEngineNetworkAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateVmwareEngineNetwork.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A task representing the result of polling the operation.

RepairManagementDnsZoneBinding(ManagementDnsZoneBindingName, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> RepairManagementDnsZoneBinding(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.RepairManagementDnsZoneBinding(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRepairManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> RepairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
request RepairManagementDnsZoneBindingRequest

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
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
RepairManagementDnsZoneBindingRequest request = new RepairManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.RepairManagementDnsZoneBinding(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRepairManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBinding(string, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> RepairManagementDnsZoneBinding(string name, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.RepairManagementDnsZoneBinding(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRepairManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(ManagementDnsZoneBindingName name, CancellationToken cancellationToken)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name ManagementDnsZoneBindingName

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBindingName name = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]");
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(RepairManagementDnsZoneBindingRequest, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(RepairManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
request RepairManagementDnsZoneBindingRequest

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
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
RepairManagementDnsZoneBindingRequest request = new RepairManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(RepairManagementDnsZoneBindingRequest, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(RepairManagementDnsZoneBindingRequest request, CancellationToken cancellationToken)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
request RepairManagementDnsZoneBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
RepairManagementDnsZoneBindingRequest request = new RepairManagementDnsZoneBindingRequest
{
    ManagementDnsZoneBindingName = ManagementDnsZoneBindingName.FromProjectLocationPrivateCloudManagementDnsZoneBinding("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[MANAGEMENT_DNS_ZONE_BINDING]"),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(string, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(string name, CallSettings callSettings = null)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

RepairManagementDnsZoneBindingAsync(string, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> RepairManagementDnsZoneBindingAsync(string name, CancellationToken cancellationToken)

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

Parameters
Name Description
name string

Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]/managementDnsZoneBindings/[MANAGEMENT_DNS_ZONE_BINDING]";
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.RepairManagementDnsZoneBindingAsync(name);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRepairManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentials(PrivateCloudName, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetNsxCredentials(PrivateCloudName privateCloud, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetNsxCredentials(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetNsxCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentials(ResetNsxCredentialsRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetNsxCredentials(ResetNsxCredentialsRequest request, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
request ResetNsxCredentialsRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ResetNsxCredentialsRequest request = new ResetNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetNsxCredentials(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetNsxCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentials(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetNsxCredentials(string privateCloud, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetNsxCredentials(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetNsxCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(PrivateCloudName, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(PrivateCloudName privateCloud, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(PrivateCloudName, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(PrivateCloudName privateCloud, CancellationToken cancellationToken)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(ResetNsxCredentialsRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(ResetNsxCredentialsRequest request, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
request ResetNsxCredentialsRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ResetNsxCredentialsRequest request = new ResetNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(ResetNsxCredentialsRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(ResetNsxCredentialsRequest request, CancellationToken cancellationToken)

Resets credentials of the NSX appliance.

Parameters
Name Description
request ResetNsxCredentialsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ResetNsxCredentialsRequest request = new ResetNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(string privateCloud, CallSettings callSettings = null)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetNsxCredentialsAsync(string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetNsxCredentialsAsync(string privateCloud, CancellationToken cancellationToken)

Resets credentials of the NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetNsxCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetNsxCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentials(PrivateCloudName, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetVcenterCredentials(PrivateCloudName privateCloud, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetVcenterCredentials(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetVcenterCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentials(ResetVcenterCredentialsRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetVcenterCredentials(ResetVcenterCredentialsRequest request, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
request ResetVcenterCredentialsRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ResetVcenterCredentialsRequest request = new ResetVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Username = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetVcenterCredentials(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetVcenterCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentials(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> ResetVcenterCredentials(string privateCloud, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.ResetVcenterCredentials(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceResetVcenterCredentials(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(PrivateCloudName, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(PrivateCloudName privateCloud, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(PrivateCloudName, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(PrivateCloudName privateCloud, CancellationToken cancellationToken)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(ResetVcenterCredentialsRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(ResetVcenterCredentialsRequest request, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
request ResetVcenterCredentialsRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ResetVcenterCredentialsRequest request = new ResetVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Username = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(ResetVcenterCredentialsRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(ResetVcenterCredentialsRequest request, CancellationToken cancellationToken)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
request ResetVcenterCredentialsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ResetVcenterCredentialsRequest request = new ResetVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
    Username = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(string privateCloud, CallSettings callSettings = null)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

ResetVcenterCredentialsAsync(string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> ResetVcenterCredentialsAsync(string privateCloud, CancellationToken cancellationToken)

Resets credentials of the Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.ResetVcenterCredentialsAsync(privateCloud);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceResetVcenterCredentialsAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermission(DnsBindPermissionName, Principal, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> RevokeDnsBindPermission(DnsBindPermissionName name, Principal principal, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.RevokeDnsBindPermission(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRevokeDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermission(RevokeDnsBindPermissionRequest, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> RevokeDnsBindPermission(RevokeDnsBindPermissionRequest request, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request RevokeDnsBindPermissionRequest

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
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
RevokeDnsBindPermissionRequest request = new RevokeDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.RevokeDnsBindPermission(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRevokeDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermission(string, Principal, CallSettings)

public virtual Operation<DnsBindPermission, OperationMetadata> RevokeDnsBindPermission(string name, Principal principal, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsBindPermissionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = vmwareEngineClient.RevokeDnsBindPermission(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceRevokeDnsBindPermission(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(DnsBindPermissionName, Principal, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(DnsBindPermissionName name, Principal principal, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(DnsBindPermissionName, Principal, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(DnsBindPermissionName name, Principal principal, CancellationToken cancellationToken)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name DnsBindPermissionName

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsBindPermissionName name = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(RevokeDnsBindPermissionRequest, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(RevokeDnsBindPermissionRequest request, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request RevokeDnsBindPermissionRequest

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
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
RevokeDnsBindPermissionRequest request = new RevokeDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(RevokeDnsBindPermissionRequest, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(RevokeDnsBindPermissionRequest request, CancellationToken cancellationToken)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
request RevokeDnsBindPermissionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
RevokeDnsBindPermissionRequest request = new RevokeDnsBindPermissionRequest
{
    DnsBindPermissionName = DnsBindPermissionName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Principal = new Principal(),
    RequestId = "",
};
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(string, Principal, CallSettings)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(string name, Principal principal, CallSettings callSettings = null)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

RevokeDnsBindPermissionAsync(string, Principal, CancellationToken)

public virtual Task<Operation<DnsBindPermission, OperationMetadata>> RevokeDnsBindPermissionAsync(string name, Principal principal, CancellationToken cancellationToken)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

Parameters
Name Description
name string

Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission

principal Principal

Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsBindPermissionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsBindPermission";
Principal principal = new Principal();
// Make the request
Operation<DnsBindPermission, OperationMetadata> response = await vmwareEngineClient.RevokeDnsBindPermissionAsync(name, principal);

// Poll until the returned long-running operation is complete
Operation<DnsBindPermission, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsBindPermission 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<DnsBindPermission, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceRevokeDnsBindPermissionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsBindPermission retrievedResult = retrievedResponse.Result;
}

ShowNsxCredentials(PrivateCloudName, CallSettings)

public virtual Credentials ShowNsxCredentials(PrivateCloudName privateCloud, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = vmwareEngineClient.ShowNsxCredentials(privateCloud);

ShowNsxCredentials(ShowNsxCredentialsRequest, CallSettings)

public virtual Credentials ShowNsxCredentials(ShowNsxCredentialsRequest request, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
request ShowNsxCredentialsRequest

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
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ShowNsxCredentialsRequest request = new ShowNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
Credentials response = vmwareEngineClient.ShowNsxCredentials(request);

ShowNsxCredentials(string, CallSettings)

public virtual Credentials ShowNsxCredentials(string privateCloud, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = vmwareEngineClient.ShowNsxCredentials(privateCloud);

ShowNsxCredentialsAsync(PrivateCloudName, CallSettings)

public virtual Task<Credentials> ShowNsxCredentialsAsync(PrivateCloudName privateCloud, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(privateCloud);

ShowNsxCredentialsAsync(PrivateCloudName, CancellationToken)

public virtual Task<Credentials> ShowNsxCredentialsAsync(PrivateCloudName privateCloud, CancellationToken cancellationToken)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(privateCloud);

ShowNsxCredentialsAsync(ShowNsxCredentialsRequest, CallSettings)

public virtual Task<Credentials> ShowNsxCredentialsAsync(ShowNsxCredentialsRequest request, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
request ShowNsxCredentialsRequest

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
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ShowNsxCredentialsRequest request = new ShowNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(request);

ShowNsxCredentialsAsync(ShowNsxCredentialsRequest, CancellationToken)

public virtual Task<Credentials> ShowNsxCredentialsAsync(ShowNsxCredentialsRequest request, CancellationToken cancellationToken)

Gets details of credentials for NSX appliance.

Parameters
Name Description
request ShowNsxCredentialsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ShowNsxCredentialsRequest request = new ShowNsxCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
};
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(request);

ShowNsxCredentialsAsync(string, CallSettings)

public virtual Task<Credentials> ShowNsxCredentialsAsync(string privateCloud, CallSettings callSettings = null)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(privateCloud);

ShowNsxCredentialsAsync(string, CancellationToken)

public virtual Task<Credentials> ShowNsxCredentialsAsync(string privateCloud, CancellationToken cancellationToken)

Gets details of credentials for NSX appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = await vmwareEngineClient.ShowNsxCredentialsAsync(privateCloud);

ShowVcenterCredentials(PrivateCloudName, CallSettings)

public virtual Credentials ShowVcenterCredentials(PrivateCloudName privateCloud, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = vmwareEngineClient.ShowVcenterCredentials(privateCloud);

ShowVcenterCredentials(ShowVcenterCredentialsRequest, CallSettings)

public virtual Credentials ShowVcenterCredentials(ShowVcenterCredentialsRequest request, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
request ShowVcenterCredentialsRequest

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
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ShowVcenterCredentialsRequest request = new ShowVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Username = "",
};
// Make the request
Credentials response = vmwareEngineClient.ShowVcenterCredentials(request);

ShowVcenterCredentials(string, CallSettings)

public virtual Credentials ShowVcenterCredentials(string privateCloud, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Credentials

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = vmwareEngineClient.ShowVcenterCredentials(privateCloud);

ShowVcenterCredentialsAsync(PrivateCloudName, CallSettings)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(PrivateCloudName privateCloud, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(privateCloud);

ShowVcenterCredentialsAsync(PrivateCloudName, CancellationToken)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(PrivateCloudName privateCloud, CancellationToken cancellationToken)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud PrivateCloudName

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName privateCloud = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(privateCloud);

ShowVcenterCredentialsAsync(ShowVcenterCredentialsRequest, CallSettings)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(ShowVcenterCredentialsRequest request, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
request ShowVcenterCredentialsRequest

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
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ShowVcenterCredentialsRequest request = new ShowVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Username = "",
};
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(request);

ShowVcenterCredentialsAsync(ShowVcenterCredentialsRequest, CancellationToken)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(ShowVcenterCredentialsRequest request, CancellationToken cancellationToken)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
request ShowVcenterCredentialsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ShowVcenterCredentialsRequest request = new ShowVcenterCredentialsRequest
{
    PrivateCloudAsPrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    Username = "",
};
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(request);

ShowVcenterCredentialsAsync(string, CallSettings)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(string privateCloud, CallSettings callSettings = null)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(privateCloud);

ShowVcenterCredentialsAsync(string, CancellationToken)

public virtual Task<Credentials> ShowVcenterCredentialsAsync(string privateCloud, CancellationToken cancellationToken)

Gets details of credentials for Vcenter appliance.

Parameters
Name Description
privateCloud string

Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCredentials

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string privateCloud = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Credentials response = await vmwareEngineClient.ShowVcenterCredentialsAsync(privateCloud);

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.

Remarks

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.

UndeletePrivateCloud(PrivateCloudName, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> UndeletePrivateCloud(PrivateCloudName name, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.UndeletePrivateCloud(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUndeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloud(UndeletePrivateCloudRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> UndeletePrivateCloud(UndeletePrivateCloudRequest request, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
request UndeletePrivateCloudRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UndeletePrivateCloudRequest request = new UndeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.UndeletePrivateCloud(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUndeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloud(string, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> UndeletePrivateCloud(string name, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name string

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.UndeletePrivateCloud(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUndeletePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(PrivateCloudName, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(PrivateCloudName name, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(PrivateCloudName, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(PrivateCloudName name, CancellationToken cancellationToken)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name PrivateCloudName

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloudName name = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]");
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(UndeletePrivateCloudRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(UndeletePrivateCloudRequest request, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
request UndeletePrivateCloudRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UndeletePrivateCloudRequest request = new UndeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(UndeletePrivateCloudRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(UndeletePrivateCloudRequest request, CancellationToken cancellationToken)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
request UndeletePrivateCloudRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UndeletePrivateCloudRequest request = new UndeletePrivateCloudRequest
{
    PrivateCloudName = PrivateCloudName.FromProjectLocationPrivateCloud("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]"),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(string, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(string name, CallSettings callSettings = null)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name string

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UndeletePrivateCloudAsync(string, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UndeletePrivateCloudAsync(string name, CancellationToken cancellationToken)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud. A PrivateCloud resource scheduled for deletion has PrivateCloud.state set to DELETED and PrivateCloud.expireTime set to the time when deletion can no longer be reversed.

Parameters
Name Description
name string

Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/privateClouds/[PRIVATE_CLOUD]";
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UndeletePrivateCloudAsync(name);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUndeletePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdateCluster(Cluster, FieldMask, CallSettings)

public virtual Operation<Cluster, OperationMetadata> UpdateCluster(Cluster cluster, FieldMask updateMask, CallSettings callSettings = null)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
cluster Cluster

Required. The description of the cluster.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClusterOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
Cluster cluster = new Cluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Cluster, OperationMetadata> response = vmwareEngineClient.UpdateCluster(cluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateCluster(UpdateClusterRequest, CallSettings)

public virtual Operation<Cluster, OperationMetadata> UpdateCluster(UpdateClusterRequest request, CallSettings callSettings = null)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateClusterRequest

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
OperationClusterOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateClusterRequest request = new UpdateClusterRequest
{
    UpdateMask = new FieldMask(),
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = vmwareEngineClient.UpdateCluster(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateClusterAsync(Cluster, FieldMask, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> UpdateClusterAsync(Cluster cluster, FieldMask updateMask, CallSettings callSettings = null)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
cluster Cluster

Required. The description of the cluster.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
Cluster cluster = new Cluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.UpdateClusterAsync(cluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateClusterAsync(Cluster, FieldMask, CancellationToken)

public virtual Task<Operation<Cluster, OperationMetadata>> UpdateClusterAsync(Cluster cluster, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
cluster Cluster

Required. The description of the cluster.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
Cluster cluster = new Cluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.UpdateClusterAsync(cluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateClusterAsync(UpdateClusterRequest, CallSettings)

public virtual Task<Operation<Cluster, OperationMetadata>> UpdateClusterAsync(UpdateClusterRequest request, CallSettings callSettings = null)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateClusterRequest

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
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateClusterRequest request = new UpdateClusterRequest
{
    UpdateMask = new FieldMask(),
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.UpdateClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateClusterAsync(UpdateClusterRequest, CancellationToken)

public virtual Task<Operation<Cluster, OperationMetadata>> UpdateClusterAsync(UpdateClusterRequest request, CancellationToken cancellationToken)

Modifies a Cluster resource. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateClusterRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateClusterRequest request = new UpdateClusterRequest
{
    UpdateMask = new FieldMask(),
    Cluster = new Cluster(),
    RequestId = "",
    ValidateOnly = false,
};
// Make the request
Operation<Cluster, OperationMetadata> response = await vmwareEngineClient.UpdateClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<Cluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster 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<Cluster, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Cluster retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwarding(DnsForwarding, FieldMask, CallSettings)

public virtual Operation<DnsForwarding, OperationMetadata> UpdateDnsForwarding(DnsForwarding dnsForwarding, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
dnsForwarding DnsForwarding

Required. DnsForwarding config details.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the DnsForwarding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDnsForwardingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
DnsForwarding dnsForwarding = new DnsForwarding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsForwarding, OperationMetadata> response = vmwareEngineClient.UpdateDnsForwarding(dnsForwarding, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateDnsForwarding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwarding(UpdateDnsForwardingRequest, CallSettings)

public virtual Operation<DnsForwarding, OperationMetadata> UpdateDnsForwarding(UpdateDnsForwardingRequest request, CallSettings callSettings = null)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateDnsForwardingRequest

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
OperationDnsForwardingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateDnsForwardingRequest request = new UpdateDnsForwardingRequest
{
    DnsForwarding = new DnsForwarding(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<DnsForwarding, OperationMetadata> response = vmwareEngineClient.UpdateDnsForwarding(request);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateDnsForwarding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwardingAsync(DnsForwarding, FieldMask, CallSettings)

public virtual Task<Operation<DnsForwarding, OperationMetadata>> UpdateDnsForwardingAsync(DnsForwarding dnsForwarding, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
dnsForwarding DnsForwarding

Required. DnsForwarding config details.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the DnsForwarding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDnsForwardingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsForwarding dnsForwarding = new DnsForwarding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsForwarding, OperationMetadata> response = await vmwareEngineClient.UpdateDnsForwardingAsync(dnsForwarding, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateDnsForwardingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwardingAsync(DnsForwarding, FieldMask, CancellationToken)

public virtual Task<Operation<DnsForwarding, OperationMetadata>> UpdateDnsForwardingAsync(DnsForwarding dnsForwarding, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
dnsForwarding DnsForwarding

Required. DnsForwarding config details.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the DnsForwarding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsForwardingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
DnsForwarding dnsForwarding = new DnsForwarding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsForwarding, OperationMetadata> response = await vmwareEngineClient.UpdateDnsForwardingAsync(dnsForwarding, updateMask);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateDnsForwardingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwardingAsync(UpdateDnsForwardingRequest, CallSettings)

public virtual Task<Operation<DnsForwarding, OperationMetadata>> UpdateDnsForwardingAsync(UpdateDnsForwardingRequest request, CallSettings callSettings = null)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateDnsForwardingRequest

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
TaskOperationDnsForwardingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsForwardingRequest request = new UpdateDnsForwardingRequest
{
    DnsForwarding = new DnsForwarding(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<DnsForwarding, OperationMetadata> response = await vmwareEngineClient.UpdateDnsForwardingAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateDnsForwardingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateDnsForwardingAsync(UpdateDnsForwardingRequest, CancellationToken)

public virtual Task<Operation<DnsForwarding, OperationMetadata>> UpdateDnsForwardingAsync(UpdateDnsForwardingRequest request, CancellationToken cancellationToken)

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateDnsForwardingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationDnsForwardingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsForwardingRequest request = new UpdateDnsForwardingRequest
{
    DnsForwarding = new DnsForwarding(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<DnsForwarding, OperationMetadata> response = await vmwareEngineClient.UpdateDnsForwardingAsync(request);

// Poll until the returned long-running operation is complete
Operation<DnsForwarding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsForwarding 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<DnsForwarding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateDnsForwardingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DnsForwarding retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRule(ExternalAccessRule, FieldMask, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> UpdateExternalAccessRule(ExternalAccessRule externalAccessRule, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
externalAccessRule ExternalAccessRule

Required. Description of the external access rule.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAccessRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAccessRuleOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = vmwareEngineClient.UpdateExternalAccessRule(externalAccessRule, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateExternalAccessRule(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRule(UpdateExternalAccessRuleRequest, CallSettings)

public virtual Operation<ExternalAccessRule, OperationMetadata> UpdateExternalAccessRule(UpdateExternalAccessRuleRequest request, CallSettings callSettings = null)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateExternalAccessRuleRequest

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
OperationExternalAccessRuleOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateExternalAccessRuleRequest request = new UpdateExternalAccessRuleRequest
{
    UpdateMask = new FieldMask(),
    ExternalAccessRule = new ExternalAccessRule(),
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = vmwareEngineClient.UpdateExternalAccessRule(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateExternalAccessRule(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRuleAsync(ExternalAccessRule, FieldMask, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> UpdateExternalAccessRuleAsync(ExternalAccessRule externalAccessRule, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
externalAccessRule ExternalAccessRule

Required. Description of the external access rule.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAccessRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAccessRuleAsync(externalAccessRule, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRuleAsync(ExternalAccessRule, FieldMask, CancellationToken)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> UpdateExternalAccessRuleAsync(ExternalAccessRule externalAccessRule, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
externalAccessRule ExternalAccessRule

Required. Description of the external access rule.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAccessRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAccessRule externalAccessRule = new ExternalAccessRule();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAccessRuleAsync(externalAccessRule, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRuleAsync(UpdateExternalAccessRuleRequest, CallSettings)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> UpdateExternalAccessRuleAsync(UpdateExternalAccessRuleRequest request, CallSettings callSettings = null)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateExternalAccessRuleRequest

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
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateExternalAccessRuleRequest request = new UpdateExternalAccessRuleRequest
{
    UpdateMask = new FieldMask(),
    ExternalAccessRule = new ExternalAccessRule(),
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAccessRuleAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAccessRuleAsync(UpdateExternalAccessRuleRequest, CancellationToken)

public virtual Task<Operation<ExternalAccessRule, OperationMetadata>> UpdateExternalAccessRuleAsync(UpdateExternalAccessRuleRequest request, CancellationToken cancellationToken)

Updates the parameters of a single external access rule. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateExternalAccessRuleRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAccessRuleOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateExternalAccessRuleRequest request = new UpdateExternalAccessRuleRequest
{
    UpdateMask = new FieldMask(),
    ExternalAccessRule = new ExternalAccessRule(),
    RequestId = "",
};
// Make the request
Operation<ExternalAccessRule, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAccessRuleAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAccessRule, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAccessRule 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<ExternalAccessRule, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAccessRuleAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAccessRule retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddress(ExternalAddress, FieldMask, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> UpdateExternalAddress(ExternalAddress externalAddress, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
externalAddress ExternalAddress

Required. External IP address description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAddress resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExternalAddressOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ExternalAddress externalAddress = new ExternalAddress();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAddress, OperationMetadata> response = vmwareEngineClient.UpdateExternalAddress(externalAddress, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateExternalAddress(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddress(UpdateExternalAddressRequest, CallSettings)

public virtual Operation<ExternalAddress, OperationMetadata> UpdateExternalAddress(UpdateExternalAddressRequest request, CallSettings callSettings = null)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateExternalAddressRequest

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
OperationExternalAddressOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateExternalAddressRequest request = new UpdateExternalAddressRequest
{
    UpdateMask = new FieldMask(),
    ExternalAddress = new ExternalAddress(),
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = vmwareEngineClient.UpdateExternalAddress(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateExternalAddress(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddressAsync(ExternalAddress, FieldMask, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> UpdateExternalAddressAsync(ExternalAddress externalAddress, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
externalAddress ExternalAddress

Required. External IP address description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAddress resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddress externalAddress = new ExternalAddress();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAddressAsync(externalAddress, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddressAsync(ExternalAddress, FieldMask, CancellationToken)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> UpdateExternalAddressAsync(ExternalAddress externalAddress, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
externalAddress ExternalAddress

Required. External IP address description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ExternalAddress resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ExternalAddress externalAddress = new ExternalAddress();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAddressAsync(externalAddress, updateMask);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddressAsync(UpdateExternalAddressRequest, CallSettings)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> UpdateExternalAddressAsync(UpdateExternalAddressRequest request, CallSettings callSettings = null)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateExternalAddressRequest

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
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateExternalAddressRequest request = new UpdateExternalAddressRequest
{
    UpdateMask = new FieldMask(),
    ExternalAddress = new ExternalAddress(),
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAddressAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateExternalAddressAsync(UpdateExternalAddressRequest, CancellationToken)

public virtual Task<Operation<ExternalAddress, OperationMetadata>> UpdateExternalAddressAsync(UpdateExternalAddressRequest request, CancellationToken cancellationToken)

Updates the parameters of a single external IP address. Only fields specified in update_mask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateExternalAddressRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationExternalAddressOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateExternalAddressRequest request = new UpdateExternalAddressRequest
{
    UpdateMask = new FieldMask(),
    ExternalAddress = new ExternalAddress(),
    RequestId = "",
};
// Make the request
Operation<ExternalAddress, OperationMetadata> response = await vmwareEngineClient.UpdateExternalAddressAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExternalAddress, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExternalAddress 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<ExternalAddress, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateExternalAddressAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExternalAddress retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServer(LoggingServer, FieldMask, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> UpdateLoggingServer(LoggingServer loggingServer, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
loggingServer LoggingServer

Required. Logging server description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the LoggingServer resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLoggingServerOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
LoggingServer loggingServer = new LoggingServer();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LoggingServer, OperationMetadata> response = vmwareEngineClient.UpdateLoggingServer(loggingServer, updateMask);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateLoggingServer(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServer(UpdateLoggingServerRequest, CallSettings)

public virtual Operation<LoggingServer, OperationMetadata> UpdateLoggingServer(UpdateLoggingServerRequest request, CallSettings callSettings = null)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateLoggingServerRequest

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
OperationLoggingServerOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateLoggingServerRequest request = new UpdateLoggingServerRequest
{
    UpdateMask = new FieldMask(),
    LoggingServer = new LoggingServer(),
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = vmwareEngineClient.UpdateLoggingServer(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateLoggingServer(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServerAsync(LoggingServer, FieldMask, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> UpdateLoggingServerAsync(LoggingServer loggingServer, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
loggingServer LoggingServer

Required. Logging server description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the LoggingServer resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServer loggingServer = new LoggingServer();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.UpdateLoggingServerAsync(loggingServer, updateMask);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServerAsync(LoggingServer, FieldMask, CancellationToken)

public virtual Task<Operation<LoggingServer, OperationMetadata>> UpdateLoggingServerAsync(LoggingServer loggingServer, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
loggingServer LoggingServer

Required. Logging server description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the LoggingServer resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
LoggingServer loggingServer = new LoggingServer();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.UpdateLoggingServerAsync(loggingServer, updateMask);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServerAsync(UpdateLoggingServerRequest, CallSettings)

public virtual Task<Operation<LoggingServer, OperationMetadata>> UpdateLoggingServerAsync(UpdateLoggingServerRequest request, CallSettings callSettings = null)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateLoggingServerRequest

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
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateLoggingServerRequest request = new UpdateLoggingServerRequest
{
    UpdateMask = new FieldMask(),
    LoggingServer = new LoggingServer(),
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.UpdateLoggingServerAsync(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateLoggingServerAsync(UpdateLoggingServerRequest, CancellationToken)

public virtual Task<Operation<LoggingServer, OperationMetadata>> UpdateLoggingServerAsync(UpdateLoggingServerRequest request, CancellationToken cancellationToken)

Updates the parameters of a single logging server. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateLoggingServerRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLoggingServerOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateLoggingServerRequest request = new UpdateLoggingServerRequest
{
    UpdateMask = new FieldMask(),
    LoggingServer = new LoggingServer(),
    RequestId = "",
};
// Make the request
Operation<LoggingServer, OperationMetadata> response = await vmwareEngineClient.UpdateLoggingServerAsync(request);

// Poll until the returned long-running operation is complete
Operation<LoggingServer, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LoggingServer 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<LoggingServer, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateLoggingServerAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LoggingServer retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBinding(ManagementDnsZoneBinding, FieldMask, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> UpdateManagementDnsZoneBinding(ManagementDnsZoneBinding managementDnsZoneBinding, FieldMask updateMask, CallSettings callSettings = null)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
managementDnsZoneBinding ManagementDnsZoneBinding

Required. New values to update the management DNS zone binding with.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ManagementDnsZoneBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.UpdateManagementDnsZoneBinding(managementDnsZoneBinding, updateMask);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest, CallSettings)

public virtual Operation<ManagementDnsZoneBinding, OperationMetadata> UpdateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateManagementDnsZoneBindingRequest

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
OperationManagementDnsZoneBindingOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateManagementDnsZoneBindingRequest request = new UpdateManagementDnsZoneBindingRequest
{
    UpdateMask = new FieldMask(),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = vmwareEngineClient.UpdateManagementDnsZoneBinding(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateManagementDnsZoneBinding(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBindingAsync(ManagementDnsZoneBinding, FieldMask, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> UpdateManagementDnsZoneBindingAsync(ManagementDnsZoneBinding managementDnsZoneBinding, FieldMask updateMask, CallSettings callSettings = null)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
managementDnsZoneBinding ManagementDnsZoneBinding

Required. New values to update the management DNS zone binding with.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ManagementDnsZoneBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.UpdateManagementDnsZoneBindingAsync(managementDnsZoneBinding, updateMask);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBindingAsync(ManagementDnsZoneBinding, FieldMask, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> UpdateManagementDnsZoneBindingAsync(ManagementDnsZoneBinding managementDnsZoneBinding, FieldMask updateMask, CancellationToken cancellationToken)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
managementDnsZoneBinding ManagementDnsZoneBinding

Required. New values to update the management DNS zone binding with.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the ManagementDnsZoneBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
ManagementDnsZoneBinding managementDnsZoneBinding = new ManagementDnsZoneBinding();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.UpdateManagementDnsZoneBindingAsync(managementDnsZoneBinding, updateMask);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBindingAsync(UpdateManagementDnsZoneBindingRequest, CallSettings)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> UpdateManagementDnsZoneBindingAsync(UpdateManagementDnsZoneBindingRequest request, CallSettings callSettings = null)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateManagementDnsZoneBindingRequest

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
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateManagementDnsZoneBindingRequest request = new UpdateManagementDnsZoneBindingRequest
{
    UpdateMask = new FieldMask(),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.UpdateManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateManagementDnsZoneBindingAsync(UpdateManagementDnsZoneBindingRequest, CancellationToken)

public virtual Task<Operation<ManagementDnsZoneBinding, OperationMetadata>> UpdateManagementDnsZoneBindingAsync(UpdateManagementDnsZoneBindingRequest request, CancellationToken cancellationToken)

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

Parameters
Name Description
request UpdateManagementDnsZoneBindingRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationManagementDnsZoneBindingOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateManagementDnsZoneBindingRequest request = new UpdateManagementDnsZoneBindingRequest
{
    UpdateMask = new FieldMask(),
    ManagementDnsZoneBinding = new ManagementDnsZoneBinding(),
    RequestId = "",
};
// Make the request
Operation<ManagementDnsZoneBinding, OperationMetadata> response = await vmwareEngineClient.UpdateManagementDnsZoneBindingAsync(request);

// Poll until the returned long-running operation is complete
Operation<ManagementDnsZoneBinding, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ManagementDnsZoneBinding 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<ManagementDnsZoneBinding, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateManagementDnsZoneBindingAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ManagementDnsZoneBinding retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeering(NetworkPeering, FieldMask, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> UpdateNetworkPeering(NetworkPeering networkPeering, FieldMask updateMask, CallSettings callSettings = null)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
networkPeering NetworkPeering

Required. Network peering description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPeering resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPeeringOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPeering networkPeering = new NetworkPeering();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPeering, OperationMetadata> response = vmwareEngineClient.UpdateNetworkPeering(networkPeering, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateNetworkPeering(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeering(UpdateNetworkPeeringRequest, CallSettings)

public virtual Operation<NetworkPeering, OperationMetadata> UpdateNetworkPeering(UpdateNetworkPeeringRequest request, CallSettings callSettings = null)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request UpdateNetworkPeeringRequest

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
OperationNetworkPeeringOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateNetworkPeeringRequest request = new UpdateNetworkPeeringRequest
{
    NetworkPeering = new NetworkPeering(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = vmwareEngineClient.UpdateNetworkPeering(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateNetworkPeering(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeeringAsync(NetworkPeering, FieldMask, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> UpdateNetworkPeeringAsync(NetworkPeering networkPeering, FieldMask updateMask, CallSettings callSettings = null)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
networkPeering NetworkPeering

Required. Network peering description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPeering resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeering networkPeering = new NetworkPeering();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPeeringAsync(networkPeering, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeeringAsync(NetworkPeering, FieldMask, CancellationToken)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> UpdateNetworkPeeringAsync(NetworkPeering networkPeering, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
networkPeering NetworkPeering

Required. Network peering description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPeering resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPeering networkPeering = new NetworkPeering();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPeeringAsync(networkPeering, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeeringAsync(UpdateNetworkPeeringRequest, CallSettings)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> UpdateNetworkPeeringAsync(UpdateNetworkPeeringRequest request, CallSettings callSettings = null)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request UpdateNetworkPeeringRequest

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
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateNetworkPeeringRequest request = new UpdateNetworkPeeringRequest
{
    NetworkPeering = new NetworkPeering(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPeeringAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPeeringAsync(UpdateNetworkPeeringRequest, CancellationToken)

public virtual Task<Operation<NetworkPeering, OperationMetadata>> UpdateNetworkPeeringAsync(UpdateNetworkPeeringRequest request, CancellationToken cancellationToken)

Modifies a NetworkPeering resource. Only the description field can be updated. Only fields specified in updateMask are applied. NetworkPeering is a global resource and location can only be global.

Parameters
Name Description
request UpdateNetworkPeeringRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPeeringOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateNetworkPeeringRequest request = new UpdateNetworkPeeringRequest
{
    NetworkPeering = new NetworkPeering(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPeering, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPeeringAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPeering, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPeering 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<NetworkPeering, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPeeringAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPeering retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicy(NetworkPolicy, FieldMask, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> UpdateNetworkPolicy(NetworkPolicy networkPolicy, FieldMask updateMask, CallSettings callSettings = null)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
networkPolicy NetworkPolicy

Required. Network policy description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNetworkPolicyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
NetworkPolicy networkPolicy = new NetworkPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = vmwareEngineClient.UpdateNetworkPolicy(networkPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateNetworkPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicy(UpdateNetworkPolicyRequest, CallSettings)

public virtual Operation<NetworkPolicy, OperationMetadata> UpdateNetworkPolicy(UpdateNetworkPolicyRequest request, CallSettings callSettings = null)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateNetworkPolicyRequest

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
OperationNetworkPolicyOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateNetworkPolicyRequest request = new UpdateNetworkPolicyRequest
{
    NetworkPolicy = new NetworkPolicy(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = vmwareEngineClient.UpdateNetworkPolicy(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateNetworkPolicy(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicyAsync(NetworkPolicy, FieldMask, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> UpdateNetworkPolicyAsync(NetworkPolicy networkPolicy, FieldMask updateMask, CallSettings callSettings = null)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
networkPolicy NetworkPolicy

Required. Network policy description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicy networkPolicy = new NetworkPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPolicyAsync(networkPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicyAsync(NetworkPolicy, FieldMask, CancellationToken)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> UpdateNetworkPolicyAsync(NetworkPolicy networkPolicy, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
networkPolicy NetworkPolicy

Required. Network policy description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the NetworkPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
NetworkPolicy networkPolicy = new NetworkPolicy();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPolicyAsync(networkPolicy, updateMask);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicyAsync(UpdateNetworkPolicyRequest, CallSettings)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> UpdateNetworkPolicyAsync(UpdateNetworkPolicyRequest request, CallSettings callSettings = null)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateNetworkPolicyRequest

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
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateNetworkPolicyRequest request = new UpdateNetworkPolicyRequest
{
    NetworkPolicy = new NetworkPolicy(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdateNetworkPolicyAsync(UpdateNetworkPolicyRequest, CancellationToken)

public virtual Task<Operation<NetworkPolicy, OperationMetadata>> UpdateNetworkPolicyAsync(UpdateNetworkPolicyRequest request, CancellationToken cancellationToken)

Modifies a NetworkPolicy resource. Only the following fields can be updated: internet_access, external_ip, edge_services_cidr. Only fields specified in updateMask are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a NetworkService cannot be updated when NetworkService.state is set to RECONCILING.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdateNetworkPolicyRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationNetworkPolicyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateNetworkPolicyRequest request = new UpdateNetworkPolicyRequest
{
    NetworkPolicy = new NetworkPolicy(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<NetworkPolicy, OperationMetadata> response = await vmwareEngineClient.UpdateNetworkPolicyAsync(request);

// Poll until the returned long-running operation is complete
Operation<NetworkPolicy, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
NetworkPolicy 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<NetworkPolicy, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateNetworkPolicyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    NetworkPolicy retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloud(PrivateCloud, FieldMask, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> UpdatePrivateCloud(PrivateCloud privateCloud, FieldMask updateMask, CallSettings callSettings = null)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
privateCloud PrivateCloud

Required. Private cloud description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateCloud resource by the update. The fields specified in updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateCloud privateCloud = new PrivateCloud();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.UpdatePrivateCloud(privateCloud, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdatePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloud(UpdatePrivateCloudRequest, CallSettings)

public virtual Operation<PrivateCloud, OperationMetadata> UpdatePrivateCloud(UpdatePrivateCloudRequest request, CallSettings callSettings = null)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdatePrivateCloudRequest

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
OperationPrivateCloudOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdatePrivateCloudRequest request = new UpdatePrivateCloudRequest
{
    PrivateCloud = new PrivateCloud(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = vmwareEngineClient.UpdatePrivateCloud(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdatePrivateCloud(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloudAsync(PrivateCloud, FieldMask, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UpdatePrivateCloudAsync(PrivateCloud privateCloud, FieldMask updateMask, CallSettings callSettings = null)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
privateCloud PrivateCloud

Required. Private cloud description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateCloud resource by the update. The fields specified in updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloud privateCloud = new PrivateCloud();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateCloudAsync(privateCloud, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloudAsync(PrivateCloud, FieldMask, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UpdatePrivateCloudAsync(PrivateCloud privateCloud, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
privateCloud PrivateCloud

Required. Private cloud description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateCloud resource by the update. The fields specified in updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateCloud privateCloud = new PrivateCloud();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateCloudAsync(privateCloud, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloudAsync(UpdatePrivateCloudRequest, CallSettings)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UpdatePrivateCloudAsync(UpdatePrivateCloudRequest request, CallSettings callSettings = null)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdatePrivateCloudRequest

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
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdatePrivateCloudRequest request = new UpdatePrivateCloudRequest
{
    PrivateCloud = new PrivateCloud(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateCloudAsync(UpdatePrivateCloudRequest, CancellationToken)

public virtual Task<Operation<PrivateCloud, OperationMetadata>> UpdatePrivateCloudAsync(UpdatePrivateCloudRequest request, CancellationToken cancellationToken)

Modifies a PrivateCloud resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

During operation processing, the resource is temporarily in the ACTIVE state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

Parameters
Name Description
request UpdatePrivateCloudRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateCloudOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdatePrivateCloudRequest request = new UpdatePrivateCloudRequest
{
    PrivateCloud = new PrivateCloud(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateCloud, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateCloudAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateCloud, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateCloud 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<PrivateCloud, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateCloudAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateCloud retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnection(PrivateConnection, FieldMask, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> UpdatePrivateConnection(PrivateConnection privateConnection, FieldMask updateMask, CallSettings callSettings = null)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
privateConnection PrivateConnection

Required. Private connection description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateConnection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPrivateConnectionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
PrivateConnection privateConnection = new PrivateConnection();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateConnection, OperationMetadata> response = vmwareEngineClient.UpdatePrivateConnection(privateConnection, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdatePrivateConnection(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnection(UpdatePrivateConnectionRequest, CallSettings)

public virtual Operation<PrivateConnection, OperationMetadata> UpdatePrivateConnection(UpdatePrivateConnectionRequest request, CallSettings callSettings = null)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdatePrivateConnectionRequest

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
OperationPrivateConnectionOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdatePrivateConnectionRequest request = new UpdatePrivateConnectionRequest
{
    PrivateConnection = new PrivateConnection(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = vmwareEngineClient.UpdatePrivateConnection(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdatePrivateConnection(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnectionAsync(PrivateConnection, FieldMask, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> UpdatePrivateConnectionAsync(PrivateConnection privateConnection, FieldMask updateMask, CallSettings callSettings = null)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
privateConnection PrivateConnection

Required. Private connection description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateConnection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnection privateConnection = new PrivateConnection();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateConnectionAsync(privateConnection, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnectionAsync(PrivateConnection, FieldMask, CancellationToken)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> UpdatePrivateConnectionAsync(PrivateConnection privateConnection, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
privateConnection PrivateConnection

Required. Private connection description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the PrivateConnection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
PrivateConnection privateConnection = new PrivateConnection();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateConnectionAsync(privateConnection, updateMask);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnectionAsync(UpdatePrivateConnectionRequest, CallSettings)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> UpdatePrivateConnectionAsync(UpdatePrivateConnectionRequest request, CallSettings callSettings = null)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdatePrivateConnectionRequest

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
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdatePrivateConnectionRequest request = new UpdatePrivateConnectionRequest
{
    PrivateConnection = new PrivateConnection(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateConnectionAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdatePrivateConnectionAsync(UpdatePrivateConnectionRequest, CancellationToken)

public virtual Task<Operation<PrivateConnection, OperationMetadata>> UpdatePrivateConnectionAsync(UpdatePrivateConnectionRequest request, CancellationToken cancellationToken)

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdatePrivateConnectionRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationPrivateConnectionOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdatePrivateConnectionRequest request = new UpdatePrivateConnectionRequest
{
    PrivateConnection = new PrivateConnection(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<PrivateConnection, OperationMetadata> response = await vmwareEngineClient.UpdatePrivateConnectionAsync(request);

// Poll until the returned long-running operation is complete
Operation<PrivateConnection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PrivateConnection 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<PrivateConnection, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdatePrivateConnectionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    PrivateConnection retrievedResult = retrievedResponse.Result;
}

UpdateSubnet(Subnet, FieldMask, CallSettings)

public virtual Operation<Subnet, OperationMetadata> UpdateSubnet(Subnet subnet, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
subnet Subnet

Required. Subnet description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationSubnetOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
Subnet subnet = new Subnet();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Subnet, OperationMetadata> response = vmwareEngineClient.UpdateSubnet(subnet, updateMask);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateSubnet(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateSubnet(UpdateSubnetRequest, CallSettings)

public virtual Operation<Subnet, OperationMetadata> UpdateSubnet(UpdateSubnetRequest request, CallSettings callSettings = null)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
request UpdateSubnetRequest

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
OperationSubnetOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateSubnetRequest request = new UpdateSubnetRequest
{
    UpdateMask = new FieldMask(),
    Subnet = new Subnet(),
};
// Make the request
Operation<Subnet, OperationMetadata> response = vmwareEngineClient.UpdateSubnet(request);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateSubnet(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateSubnetAsync(Subnet, FieldMask, CallSettings)

public virtual Task<Operation<Subnet, OperationMetadata>> UpdateSubnetAsync(Subnet subnet, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
subnet Subnet

Required. Subnet description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationSubnetOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
Subnet subnet = new Subnet();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Subnet, OperationMetadata> response = await vmwareEngineClient.UpdateSubnetAsync(subnet, updateMask);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateSubnetAsync(Subnet, FieldMask, CancellationToken)

public virtual Task<Operation<Subnet, OperationMetadata>> UpdateSubnetAsync(Subnet subnet, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
subnet Subnet

Required. Subnet description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationSubnetOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
Subnet subnet = new Subnet();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Subnet, OperationMetadata> response = await vmwareEngineClient.UpdateSubnetAsync(subnet, updateMask);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateSubnetAsync(UpdateSubnetRequest, CallSettings)

public virtual Task<Operation<Subnet, OperationMetadata>> UpdateSubnetAsync(UpdateSubnetRequest request, CallSettings callSettings = null)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
request UpdateSubnetRequest

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
TaskOperationSubnetOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateSubnetRequest request = new UpdateSubnetRequest
{
    UpdateMask = new FieldMask(),
    Subnet = new Subnet(),
};
// Make the request
Operation<Subnet, OperationMetadata> response = await vmwareEngineClient.UpdateSubnetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateSubnetAsync(UpdateSubnetRequest, CancellationToken)

public virtual Task<Operation<Subnet, OperationMetadata>> UpdateSubnetAsync(UpdateSubnetRequest request, CancellationToken cancellationToken)

Updates the parameters of a single subnet. Only fields specified in update_mask are applied.

Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields.

Parameters
Name Description
request UpdateSubnetRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationSubnetOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateSubnetRequest request = new UpdateSubnetRequest
{
    UpdateMask = new FieldMask(),
    Subnet = new Subnet(),
};
// Make the request
Operation<Subnet, OperationMetadata> response = await vmwareEngineClient.UpdateSubnetAsync(request);

// Poll until the returned long-running operation is complete
Operation<Subnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Subnet 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<Subnet, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Subnet retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> UpdateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdateVmwareEngineNetworkRequest

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
OperationVmwareEngineNetworkOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
UpdateVmwareEngineNetworkRequest request = new UpdateVmwareEngineNetworkRequest
{
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = vmwareEngineClient.UpdateVmwareEngineNetwork(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateVmwareEngineNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetwork(VmwareEngineNetwork, FieldMask, CallSettings)

public virtual Operation<VmwareEngineNetwork, OperationMetadata> UpdateVmwareEngineNetwork(VmwareEngineNetwork vmwareEngineNetwork, FieldMask updateMask, CallSettings callSettings = null)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
vmwareEngineNetwork VmwareEngineNetwork

Required. VMware Engine network description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. Only the following fields can be updated: description.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVmwareEngineNetworkOperationMetadata

The RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = VmwareEngineClient.Create();
// Initialize request argument(s)
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = vmwareEngineClient.UpdateVmwareEngineNetwork(vmwareEngineNetwork, updateMask);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = vmwareEngineClient.PollOnceUpdateVmwareEngineNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetworkAsync(UpdateVmwareEngineNetworkRequest, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> UpdateVmwareEngineNetworkAsync(UpdateVmwareEngineNetworkRequest request, CallSettings callSettings = null)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdateVmwareEngineNetworkRequest

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
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateVmwareEngineNetworkRequest request = new UpdateVmwareEngineNetworkRequest
{
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.UpdateVmwareEngineNetworkAsync(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetworkAsync(UpdateVmwareEngineNetworkRequest, CancellationToken)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> UpdateVmwareEngineNetworkAsync(UpdateVmwareEngineNetworkRequest request, CancellationToken cancellationToken)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
request UpdateVmwareEngineNetworkRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
UpdateVmwareEngineNetworkRequest request = new UpdateVmwareEngineNetworkRequest
{
    VmwareEngineNetwork = new VmwareEngineNetwork(),
    UpdateMask = new FieldMask(),
    RequestId = "",
};
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.UpdateVmwareEngineNetworkAsync(request);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetworkAsync(VmwareEngineNetwork, FieldMask, CallSettings)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> UpdateVmwareEngineNetworkAsync(VmwareEngineNetwork vmwareEngineNetwork, FieldMask updateMask, CallSettings callSettings = null)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
vmwareEngineNetwork VmwareEngineNetwork

Required. VMware Engine network description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. Only the following fields can be updated: description.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.UpdateVmwareEngineNetworkAsync(vmwareEngineNetwork, updateMask);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}

UpdateVmwareEngineNetworkAsync(VmwareEngineNetwork, FieldMask, CancellationToken)

public virtual Task<Operation<VmwareEngineNetwork, OperationMetadata>> UpdateVmwareEngineNetworkAsync(VmwareEngineNetwork vmwareEngineNetwork, FieldMask updateMask, CancellationToken cancellationToken)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
Name Description
vmwareEngineNetwork VmwareEngineNetwork

Required. VMware Engine network description.

updateMask FieldMask

Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. Only the following fields can be updated: description.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationVmwareEngineNetworkOperationMetadata

A Task containing the RPC response.

Example
// Create client
VmwareEngineClient vmwareEngineClient = await VmwareEngineClient.CreateAsync();
// Initialize request argument(s)
VmwareEngineNetwork vmwareEngineNetwork = new VmwareEngineNetwork();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<VmwareEngineNetwork, OperationMetadata> response = await vmwareEngineClient.UpdateVmwareEngineNetworkAsync(vmwareEngineNetwork, updateMask);

// Poll until the returned long-running operation is complete
Operation<VmwareEngineNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
VmwareEngineNetwork 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<VmwareEngineNetwork, OperationMetadata> retrievedResponse = await vmwareEngineClient.PollOnceUpdateVmwareEngineNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    VmwareEngineNetwork retrievedResult = retrievedResponse.Result;
}