Oracle Database@Google Cloud v1 API - Class OracleDatabaseClient (1.0.0-beta01)

public abstract class OracleDatabaseClient

Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class OracleDatabaseClient.

OracleDatabase client wrapper, for convenient use.

Inheritance

object > OracleDatabaseClient

Derived Types

Namespace

Google.Cloud.OracleDatabase.V1

Assembly

Google.Cloud.OracleDatabase.V1.dll

Remarks

Service describing handlers for resources

Properties

CreateAutonomousDatabaseOperationsClient

public virtual OperationsClient CreateAutonomousDatabaseOperationsClient { get; }

The long-running operations client for CreateAutonomousDatabase.

Property Value
Type Description
OperationsClient

CreateCloudExadataInfrastructureOperationsClient

public virtual OperationsClient CreateCloudExadataInfrastructureOperationsClient { get; }

The long-running operations client for CreateCloudExadataInfrastructure.

Property Value
Type Description
OperationsClient

CreateCloudVmClusterOperationsClient

public virtual OperationsClient CreateCloudVmClusterOperationsClient { get; }

The long-running operations client for CreateCloudVmCluster.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default OracleDatabase scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default OracleDatabase scopes are:

DeleteAutonomousDatabaseOperationsClient

public virtual OperationsClient DeleteAutonomousDatabaseOperationsClient { get; }

The long-running operations client for DeleteAutonomousDatabase.

Property Value
Type Description
OperationsClient

DeleteCloudExadataInfrastructureOperationsClient

public virtual OperationsClient DeleteCloudExadataInfrastructureOperationsClient { get; }

The long-running operations client for DeleteCloudExadataInfrastructure.

Property Value
Type Description
OperationsClient

DeleteCloudVmClusterOperationsClient

public virtual OperationsClient DeleteCloudVmClusterOperationsClient { get; }

The long-running operations client for DeleteCloudVmCluster.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual OracleDatabase.OracleDatabaseClient GrpcClient { get; }

The underlying gRPC OracleDatabase client

Property Value
Type Description
OracleDatabaseOracleDatabaseClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

RestoreAutonomousDatabaseOperationsClient

public virtual OperationsClient RestoreAutonomousDatabaseOperationsClient { get; }

The long-running operations client for RestoreAutonomousDatabase.

Property Value
Type Description
OperationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

Methods

Create()

public static OracleDatabaseClient Create()

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

Returns
Type Description
OracleDatabaseClient

The created OracleDatabaseClient.

CreateAsync(CancellationToken)

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

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

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskOracleDatabaseClient

The task representing the created OracleDatabaseClient.

CreateAutonomousDatabase(LocationName, AutonomousDatabase, string, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> CreateAutonomousDatabase(LocationName parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.CreateAutonomousDatabase(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabase(CreateAutonomousDatabaseRequest, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> CreateAutonomousDatabase(CreateAutonomousDatabaseRequest request, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
request CreateAutonomousDatabaseRequest

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
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateAutonomousDatabaseRequest request = new CreateAutonomousDatabaseRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AutonomousDatabaseId = "",
    AutonomousDatabase = new AutonomousDatabase(),
    RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.CreateAutonomousDatabase(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabase(string, AutonomousDatabase, string, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> CreateAutonomousDatabase(string parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.CreateAutonomousDatabase(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(LocationName, AutonomousDatabase, string, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(LocationName parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(LocationName, AutonomousDatabase, string, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(LocationName parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CancellationToken cancellationToken)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(CreateAutonomousDatabaseRequest, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(CreateAutonomousDatabaseRequest request, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
request CreateAutonomousDatabaseRequest

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
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateAutonomousDatabaseRequest request = new CreateAutonomousDatabaseRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AutonomousDatabaseId = "",
    AutonomousDatabase = new AutonomousDatabase(),
    RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(CreateAutonomousDatabaseRequest, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(CreateAutonomousDatabaseRequest request, CancellationToken cancellationToken)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
request CreateAutonomousDatabaseRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateAutonomousDatabaseRequest request = new CreateAutonomousDatabaseRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AutonomousDatabaseId = "",
    AutonomousDatabase = new AutonomousDatabase(),
    RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(string, AutonomousDatabase, string, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(string parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CallSettings callSettings = null)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateAutonomousDatabaseAsync(string, AutonomousDatabase, string, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> CreateAutonomousDatabaseAsync(string parent, AutonomousDatabase autonomousDatabase, string autonomousDatabaseId, CancellationToken cancellationToken)

Creates a new Autonomous Database in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

autonomousDatabase AutonomousDatabase

Required. The Autonomous Database being created.

autonomousDatabaseId string

Required. The ID of the Autonomous Database to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
string autonomousDatabaseId = "";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.CreateAutonomousDatabaseAsync(parent, autonomousDatabase, autonomousDatabaseId);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructure(LocationName, CloudExadataInfrastructure, string, CallSettings)

public virtual Operation<CloudExadataInfrastructure, OperationMetadata> CreateCloudExadataInfrastructure(LocationName parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCloudExadataInfrastructureOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = oracleDatabaseClient.CreateCloudExadataInfrastructure(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructure(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructure(CreateCloudExadataInfrastructureRequest, CallSettings)

public virtual Operation<CloudExadataInfrastructure, OperationMetadata> CreateCloudExadataInfrastructure(CreateCloudExadataInfrastructureRequest request, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
request CreateCloudExadataInfrastructureRequest

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
OperationCloudExadataInfrastructureOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateCloudExadataInfrastructureRequest request = new CreateCloudExadataInfrastructureRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudExadataInfrastructureId = "",
    CloudExadataInfrastructure = new CloudExadataInfrastructure(),
    RequestId = "",
};
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = oracleDatabaseClient.CreateCloudExadataInfrastructure(request);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructure(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructure(string, CloudExadataInfrastructure, string, CallSettings)

public virtual Operation<CloudExadataInfrastructure, OperationMetadata> CreateCloudExadataInfrastructure(string parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCloudExadataInfrastructureOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = oracleDatabaseClient.CreateCloudExadataInfrastructure(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructure(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(LocationName, CloudExadataInfrastructure, string, CallSettings)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(LocationName parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(LocationName, CloudExadataInfrastructure, string, CancellationToken)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(LocationName parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CancellationToken cancellationToken)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(CreateCloudExadataInfrastructureRequest, CallSettings)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(CreateCloudExadataInfrastructureRequest request, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
request CreateCloudExadataInfrastructureRequest

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
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateCloudExadataInfrastructureRequest request = new CreateCloudExadataInfrastructureRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudExadataInfrastructureId = "",
    CloudExadataInfrastructure = new CloudExadataInfrastructure(),
    RequestId = "",
};
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(request);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(CreateCloudExadataInfrastructureRequest, CancellationToken)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(CreateCloudExadataInfrastructureRequest request, CancellationToken cancellationToken)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
request CreateCloudExadataInfrastructureRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateCloudExadataInfrastructureRequest request = new CreateCloudExadataInfrastructureRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudExadataInfrastructureId = "",
    CloudExadataInfrastructure = new CloudExadataInfrastructure(),
    RequestId = "",
};
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(request);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(string, CloudExadataInfrastructure, string, CallSettings)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(string parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CallSettings callSettings = null)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudExadataInfrastructureAsync(string, CloudExadataInfrastructure, string, CancellationToken)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> CreateCloudExadataInfrastructureAsync(string parent, CloudExadataInfrastructure cloudExadataInfrastructure, string cloudExadataInfrastructureId, CancellationToken cancellationToken)

Creates a new Exadata Infrastructure in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

cloudExadataInfrastructure CloudExadataInfrastructure

Required. Details of the Exadata Infrastructure instance to create.

cloudExadataInfrastructureId string

Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudExadataInfrastructureOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudExadataInfrastructure cloudExadataInfrastructure = new CloudExadataInfrastructure();
string cloudExadataInfrastructureId = "";
// Make the request
Operation<CloudExadataInfrastructure, OperationMetadata> response = await oracleDatabaseClient.CreateCloudExadataInfrastructureAsync(parent, cloudExadataInfrastructure, cloudExadataInfrastructureId);

// Poll until the returned long-running operation is complete
Operation<CloudExadataInfrastructure, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudExadataInfrastructure result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudExadataInfrastructure, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudExadataInfrastructureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudExadataInfrastructure retrievedResult = retrievedResponse.Result;
}

CreateCloudVmCluster(LocationName, CloudVmCluster, string, CallSettings)

public virtual Operation<CloudVmCluster, OperationMetadata> CreateCloudVmCluster(LocationName parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCloudVmClusterOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateCloudVmCluster(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmCluster(CreateCloudVmClusterRequest, CallSettings)

public virtual Operation<CloudVmCluster, OperationMetadata> CreateCloudVmCluster(CreateCloudVmClusterRequest request, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
request CreateCloudVmClusterRequest

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
OperationCloudVmClusterOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateCloudVmClusterRequest request = new CreateCloudVmClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudVmClusterId = "",
    CloudVmCluster = new CloudVmCluster(),
    RequestId = "",
};
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateCloudVmCluster(request);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmCluster(string, CloudVmCluster, string, CallSettings)

public virtual Operation<CloudVmCluster, OperationMetadata> CreateCloudVmCluster(string parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCloudVmClusterOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateCloudVmCluster(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateCloudVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(LocationName, CloudVmCluster, string, CallSettings)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(LocationName parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(LocationName, CloudVmCluster, string, CancellationToken)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(LocationName parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CancellationToken cancellationToken)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(CreateCloudVmClusterRequest, CallSettings)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(CreateCloudVmClusterRequest request, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
request CreateCloudVmClusterRequest

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
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateCloudVmClusterRequest request = new CreateCloudVmClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudVmClusterId = "",
    CloudVmCluster = new CloudVmCluster(),
    RequestId = "",
};
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(CreateCloudVmClusterRequest, CancellationToken)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(CreateCloudVmClusterRequest request, CancellationToken cancellationToken)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
request CreateCloudVmClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateCloudVmClusterRequest request = new CreateCloudVmClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CloudVmClusterId = "",
    CloudVmCluster = new CloudVmCluster(),
    RequestId = "",
};
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(string, CloudVmCluster, string, CallSettings)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(string parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CallSettings callSettings = null)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

CreateCloudVmClusterAsync(string, CloudVmCluster, string, CancellationToken)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> CreateCloudVmClusterAsync(string parent, CloudVmCluster cloudVmCluster, string cloudVmClusterId, CancellationToken cancellationToken)

Creates a new VM Cluster in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCloudVmClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CloudVmCluster cloudVmCluster = new CloudVmCluster();
string cloudVmClusterId = "";
// Make the request
Operation<CloudVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateCloudVmClusterAsync(parent, cloudVmCluster, cloudVmClusterId);

// Poll until the returned long-running operation is complete
Operation<CloudVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CloudVmCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CloudVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateCloudVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CloudVmCluster retrievedResult = retrievedResponse.Result;
}

DeleteAutonomousDatabase(AutonomousDatabaseName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAutonomousDatabase(AutonomousDatabaseName name, CallSettings callSettings = null)

Deletes a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteAutonomousDatabase(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 = oracleDatabaseClient.PollOnceDeleteAutonomousDatabase(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;
}

DeleteAutonomousDatabase(DeleteAutonomousDatabaseRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAutonomousDatabase(DeleteAutonomousDatabaseRequest request, CallSettings callSettings = null)

Deletes a single Autonomous Database.

Parameters
Name Description
request DeleteAutonomousDatabaseRequest

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
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteAutonomousDatabaseRequest request = new DeleteAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteAutonomousDatabase(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 = oracleDatabaseClient.PollOnceDeleteAutonomousDatabase(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;
}

DeleteAutonomousDatabase(string, CallSettings)

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

Deletes a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteAutonomousDatabase(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 = oracleDatabaseClient.PollOnceDeleteAutonomousDatabase(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;
}

DeleteAutonomousDatabaseAsync(AutonomousDatabaseName, CallSettings)

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

Deletes a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteAutonomousDatabaseAsync(AutonomousDatabaseName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutonomousDatabaseAsync(AutonomousDatabaseName name, CancellationToken cancellationToken)

Deletes a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteAutonomousDatabaseAsync(DeleteAutonomousDatabaseRequest, CallSettings)

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

Deletes a single Autonomous Database.

Parameters
Name Description
request DeleteAutonomousDatabaseRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteAutonomousDatabaseRequest request = new DeleteAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteAutonomousDatabaseAsync(DeleteAutonomousDatabaseRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAutonomousDatabaseAsync(DeleteAutonomousDatabaseRequest request, CancellationToken cancellationToken)

Deletes a single Autonomous Database.

Parameters
Name Description
request DeleteAutonomousDatabaseRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteAutonomousDatabaseRequest request = new DeleteAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteAutonomousDatabaseAsync(string, CallSettings)

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

Deletes a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteAutonomousDatabaseAsync(string, CancellationToken)

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

Deletes a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteAutonomousDatabaseAsync(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 oracleDatabaseClient.PollOnceDeleteAutonomousDatabaseAsync(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;
}

DeleteCloudExadataInfrastructure(CloudExadataInfrastructureName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCloudExadataInfrastructure(CloudExadataInfrastructureName name, CallSettings callSettings = null)

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudExadataInfrastructure(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 = oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructure(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;
}

DeleteCloudExadataInfrastructure(DeleteCloudExadataInfrastructureRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCloudExadataInfrastructure(DeleteCloudExadataInfrastructureRequest request, CallSettings callSettings = null)

Deletes a single Exadata Infrastructure.

Parameters
Name Description
request DeleteCloudExadataInfrastructureRequest

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
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteCloudExadataInfrastructureRequest request = new DeleteCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudExadataInfrastructure(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 = oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructure(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;
}

DeleteCloudExadataInfrastructure(string, CallSettings)

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

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudExadataInfrastructure(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 = oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructure(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;
}

DeleteCloudExadataInfrastructureAsync(CloudExadataInfrastructureName, CallSettings)

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

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudExadataInfrastructureAsync(CloudExadataInfrastructureName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCloudExadataInfrastructureAsync(CloudExadataInfrastructureName name, CancellationToken cancellationToken)

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudExadataInfrastructureAsync(DeleteCloudExadataInfrastructureRequest, CallSettings)

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

Deletes a single Exadata Infrastructure.

Parameters
Name Description
request DeleteCloudExadataInfrastructureRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteCloudExadataInfrastructureRequest request = new DeleteCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudExadataInfrastructureAsync(DeleteCloudExadataInfrastructureRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCloudExadataInfrastructureAsync(DeleteCloudExadataInfrastructureRequest request, CancellationToken cancellationToken)

Deletes a single Exadata Infrastructure.

Parameters
Name Description
request DeleteCloudExadataInfrastructureRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteCloudExadataInfrastructureRequest request = new DeleteCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudExadataInfrastructureAsync(string, CallSettings)

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

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudExadataInfrastructureAsync(string, CancellationToken)

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

Deletes a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudExadataInfrastructureAsync(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 oracleDatabaseClient.PollOnceDeleteCloudExadataInfrastructureAsync(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;
}

DeleteCloudVmCluster(CloudVmClusterName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCloudVmCluster(CloudVmClusterName name, CallSettings callSettings = null)

Deletes a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudVmCluster(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 = oracleDatabaseClient.PollOnceDeleteCloudVmCluster(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;
}

DeleteCloudVmCluster(DeleteCloudVmClusterRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteCloudVmCluster(DeleteCloudVmClusterRequest request, CallSettings callSettings = null)

Deletes a single VM Cluster.

Parameters
Name Description
request DeleteCloudVmClusterRequest

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
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteCloudVmClusterRequest request = new DeleteCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudVmCluster(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 = oracleDatabaseClient.PollOnceDeleteCloudVmCluster(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;
}

DeleteCloudVmCluster(string, CallSettings)

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

Deletes a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteCloudVmCluster(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 = oracleDatabaseClient.PollOnceDeleteCloudVmCluster(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;
}

DeleteCloudVmClusterAsync(CloudVmClusterName, CallSettings)

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

Deletes a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

DeleteCloudVmClusterAsync(CloudVmClusterName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCloudVmClusterAsync(CloudVmClusterName name, CancellationToken cancellationToken)

Deletes a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

DeleteCloudVmClusterAsync(DeleteCloudVmClusterRequest, CallSettings)

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

Deletes a single VM Cluster.

Parameters
Name Description
request DeleteCloudVmClusterRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteCloudVmClusterRequest request = new DeleteCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

DeleteCloudVmClusterAsync(DeleteCloudVmClusterRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteCloudVmClusterAsync(DeleteCloudVmClusterRequest request, CancellationToken cancellationToken)

Deletes a single VM Cluster.

Parameters
Name Description
request DeleteCloudVmClusterRequest

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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteCloudVmClusterRequest request = new DeleteCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
    RequestId = "",
    Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

DeleteCloudVmClusterAsync(string, CallSettings)

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

Deletes a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_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
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

DeleteCloudVmClusterAsync(string, CancellationToken)

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

Deletes a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteCloudVmClusterAsync(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 oracleDatabaseClient.PollOnceDeleteCloudVmClusterAsync(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;
}

GenerateAutonomousDatabaseWallet(AutonomousDatabaseName, GenerateType, bool, string, CallSettings)

public virtual GenerateAutonomousDatabaseWalletResponse GenerateAutonomousDatabaseWallet(AutonomousDatabaseName name, GenerateType type, bool isRegional, string password, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateAutonomousDatabaseWalletResponse

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = oracleDatabaseClient.GenerateAutonomousDatabaseWallet(name, type, isRegional, password);

GenerateAutonomousDatabaseWallet(GenerateAutonomousDatabaseWalletRequest, CallSettings)

public virtual GenerateAutonomousDatabaseWalletResponse GenerateAutonomousDatabaseWallet(GenerateAutonomousDatabaseWalletRequest request, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
request GenerateAutonomousDatabaseWalletRequest

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
GenerateAutonomousDatabaseWalletResponse

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GenerateAutonomousDatabaseWalletRequest request = new GenerateAutonomousDatabaseWalletRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    Type = GenerateType.Unspecified,
    IsRegional = false,
    Password = "",
};
// Make the request
GenerateAutonomousDatabaseWalletResponse response = oracleDatabaseClient.GenerateAutonomousDatabaseWallet(request);

GenerateAutonomousDatabaseWallet(string, GenerateType, bool, string, CallSettings)

public virtual GenerateAutonomousDatabaseWalletResponse GenerateAutonomousDatabaseWallet(string name, GenerateType type, bool isRegional, string password, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateAutonomousDatabaseWalletResponse

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = oracleDatabaseClient.GenerateAutonomousDatabaseWallet(name, type, isRegional, password);

GenerateAutonomousDatabaseWalletAsync(AutonomousDatabaseName, GenerateType, bool, string, CallSettings)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(AutonomousDatabaseName name, GenerateType type, bool isRegional, string password, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(name, type, isRegional, password);

GenerateAutonomousDatabaseWalletAsync(AutonomousDatabaseName, GenerateType, bool, string, CancellationToken)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(AutonomousDatabaseName name, GenerateType type, bool isRegional, string password, CancellationToken cancellationToken)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(name, type, isRegional, password);

GenerateAutonomousDatabaseWalletAsync(GenerateAutonomousDatabaseWalletRequest, CallSettings)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(GenerateAutonomousDatabaseWalletRequest request, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
request GenerateAutonomousDatabaseWalletRequest

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
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GenerateAutonomousDatabaseWalletRequest request = new GenerateAutonomousDatabaseWalletRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    Type = GenerateType.Unspecified,
    IsRegional = false,
    Password = "",
};
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(request);

GenerateAutonomousDatabaseWalletAsync(GenerateAutonomousDatabaseWalletRequest, CancellationToken)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(GenerateAutonomousDatabaseWalletRequest request, CancellationToken cancellationToken)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
request GenerateAutonomousDatabaseWalletRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GenerateAutonomousDatabaseWalletRequest request = new GenerateAutonomousDatabaseWalletRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    Type = GenerateType.Unspecified,
    IsRegional = false,
    Password = "",
};
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(request);

GenerateAutonomousDatabaseWalletAsync(string, GenerateType, bool, string, CallSettings)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(string name, GenerateType type, bool isRegional, string password, CallSettings callSettings = null)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(name, type, isRegional, password);

GenerateAutonomousDatabaseWalletAsync(string, GenerateType, bool, string, CancellationToken)

public virtual Task<GenerateAutonomousDatabaseWalletResponse> GenerateAutonomousDatabaseWalletAsync(string name, GenerateType type, bool isRegional, string password, CancellationToken cancellationToken)

Generates a wallet for an Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

type GenerateType

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional bool

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskGenerateAutonomousDatabaseWalletResponse

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
GenerateType type = GenerateType.Unspecified;
bool isRegional = false;
string password = "";
// Make the request
GenerateAutonomousDatabaseWalletResponse response = await oracleDatabaseClient.GenerateAutonomousDatabaseWalletAsync(name, type, isRegional, password);

GetAutonomousDatabase(AutonomousDatabaseName, CallSettings)

public virtual AutonomousDatabase GetAutonomousDatabase(AutonomousDatabaseName name, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AutonomousDatabase

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
AutonomousDatabase response = oracleDatabaseClient.GetAutonomousDatabase(name);

GetAutonomousDatabase(GetAutonomousDatabaseRequest, CallSettings)

public virtual AutonomousDatabase GetAutonomousDatabase(GetAutonomousDatabaseRequest request, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
request GetAutonomousDatabaseRequest

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
AutonomousDatabase

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetAutonomousDatabaseRequest request = new GetAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
AutonomousDatabase response = oracleDatabaseClient.GetAutonomousDatabase(request);

GetAutonomousDatabase(string, CallSettings)

public virtual AutonomousDatabase GetAutonomousDatabase(string name, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AutonomousDatabase

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
AutonomousDatabase response = oracleDatabaseClient.GetAutonomousDatabase(name);

GetAutonomousDatabaseAsync(AutonomousDatabaseName, CallSettings)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(AutonomousDatabaseName name, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(name);

GetAutonomousDatabaseAsync(AutonomousDatabaseName, CancellationToken)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(AutonomousDatabaseName name, CancellationToken cancellationToken)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(name);

GetAutonomousDatabaseAsync(GetAutonomousDatabaseRequest, CallSettings)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(GetAutonomousDatabaseRequest request, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
request GetAutonomousDatabaseRequest

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
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetAutonomousDatabaseRequest request = new GetAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(request);

GetAutonomousDatabaseAsync(GetAutonomousDatabaseRequest, CancellationToken)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(GetAutonomousDatabaseRequest request, CancellationToken cancellationToken)

Gets the details of a single Autonomous Database.

Parameters
Name Description
request GetAutonomousDatabaseRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetAutonomousDatabaseRequest request = new GetAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(request);

GetAutonomousDatabaseAsync(string, CallSettings)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(string name, CallSettings callSettings = null)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(name);

GetAutonomousDatabaseAsync(string, CancellationToken)

public virtual Task<AutonomousDatabase> GetAutonomousDatabaseAsync(string name, CancellationToken cancellationToken)

Gets the details of a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAutonomousDatabase

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
AutonomousDatabase response = await oracleDatabaseClient.GetAutonomousDatabaseAsync(name);

GetCloudExadataInfrastructure(CloudExadataInfrastructureName, CallSettings)

public virtual CloudExadataInfrastructure GetCloudExadataInfrastructure(CloudExadataInfrastructureName name, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CloudExadataInfrastructure

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
CloudExadataInfrastructure response = oracleDatabaseClient.GetCloudExadataInfrastructure(name);

GetCloudExadataInfrastructure(GetCloudExadataInfrastructureRequest, CallSettings)

public virtual CloudExadataInfrastructure GetCloudExadataInfrastructure(GetCloudExadataInfrastructureRequest request, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
request GetCloudExadataInfrastructureRequest

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
CloudExadataInfrastructure

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetCloudExadataInfrastructureRequest request = new GetCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
};
// Make the request
CloudExadataInfrastructure response = oracleDatabaseClient.GetCloudExadataInfrastructure(request);

GetCloudExadataInfrastructure(string, CallSettings)

public virtual CloudExadataInfrastructure GetCloudExadataInfrastructure(string name, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CloudExadataInfrastructure

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
CloudExadataInfrastructure response = oracleDatabaseClient.GetCloudExadataInfrastructure(name);

GetCloudExadataInfrastructureAsync(CloudExadataInfrastructureName, CallSettings)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(CloudExadataInfrastructureName name, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(name);

GetCloudExadataInfrastructureAsync(CloudExadataInfrastructureName, CancellationToken)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(CloudExadataInfrastructureName name, CancellationToken cancellationToken)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name CloudExadataInfrastructureName

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudExadataInfrastructureName name = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(name);

GetCloudExadataInfrastructureAsync(GetCloudExadataInfrastructureRequest, CallSettings)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(GetCloudExadataInfrastructureRequest request, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
request GetCloudExadataInfrastructureRequest

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
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetCloudExadataInfrastructureRequest request = new GetCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
};
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(request);

GetCloudExadataInfrastructureAsync(GetCloudExadataInfrastructureRequest, CancellationToken)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(GetCloudExadataInfrastructureRequest request, CancellationToken cancellationToken)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
request GetCloudExadataInfrastructureRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetCloudExadataInfrastructureRequest request = new GetCloudExadataInfrastructureRequest
{
    CloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
};
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(request);

GetCloudExadataInfrastructureAsync(string, CallSettings)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(string name, CallSettings callSettings = null)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(name);

GetCloudExadataInfrastructureAsync(string, CancellationToken)

public virtual Task<CloudExadataInfrastructure> GetCloudExadataInfrastructureAsync(string name, CancellationToken cancellationToken)

Gets details of a single Exadata Infrastructure.

Parameters
Name Description
name string

Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudExadataInfrastructure

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
CloudExadataInfrastructure response = await oracleDatabaseClient.GetCloudExadataInfrastructureAsync(name);

GetCloudVmCluster(CloudVmClusterName, CallSettings)

public virtual CloudVmCluster GetCloudVmCluster(CloudVmClusterName name, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CloudVmCluster

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
CloudVmCluster response = oracleDatabaseClient.GetCloudVmCluster(name);

GetCloudVmCluster(GetCloudVmClusterRequest, CallSettings)

public virtual CloudVmCluster GetCloudVmCluster(GetCloudVmClusterRequest request, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
request GetCloudVmClusterRequest

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
CloudVmCluster

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetCloudVmClusterRequest request = new GetCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
};
// Make the request
CloudVmCluster response = oracleDatabaseClient.GetCloudVmCluster(request);

GetCloudVmCluster(string, CallSettings)

public virtual CloudVmCluster GetCloudVmCluster(string name, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CloudVmCluster

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
CloudVmCluster response = oracleDatabaseClient.GetCloudVmCluster(name);

GetCloudVmClusterAsync(CloudVmClusterName, CallSettings)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(CloudVmClusterName name, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(name);

GetCloudVmClusterAsync(CloudVmClusterName, CancellationToken)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(CloudVmClusterName name, CancellationToken cancellationToken)

Gets details of a single VM Cluster.

Parameters
Name Description
name CloudVmClusterName

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudVmClusterName name = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(name);

GetCloudVmClusterAsync(GetCloudVmClusterRequest, CallSettings)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(GetCloudVmClusterRequest request, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
request GetCloudVmClusterRequest

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
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetCloudVmClusterRequest request = new GetCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
};
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(request);

GetCloudVmClusterAsync(GetCloudVmClusterRequest, CancellationToken)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(GetCloudVmClusterRequest request, CancellationToken cancellationToken)

Gets details of a single VM Cluster.

Parameters
Name Description
request GetCloudVmClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetCloudVmClusterRequest request = new GetCloudVmClusterRequest
{
    CloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
};
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(request);

GetCloudVmClusterAsync(string, CallSettings)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(string name, CallSettings callSettings = null)

Gets details of a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(name);

GetCloudVmClusterAsync(string, CancellationToken)

public virtual Task<CloudVmCluster> GetCloudVmClusterAsync(string name, CancellationToken cancellationToken)

Gets details of a single VM Cluster.

Parameters
Name Description
name string

Required. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCloudVmCluster

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
CloudVmCluster response = await oracleDatabaseClient.GetCloudVmClusterAsync(name);

ListAutonomousDatabaseBackups(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
parent LocationName

Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseBackup 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 (ListAutonomousDatabaseBackupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseBackups(ListAutonomousDatabaseBackupsRequest, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackups(ListAutonomousDatabaseBackupsRequest request, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
request ListAutonomousDatabaseBackupsRequest

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
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListAutonomousDatabaseBackupsRequest request = new ListAutonomousDatabaseBackupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackups(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseBackup 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 (ListAutonomousDatabaseBackupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseBackups(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
parent string

Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseBackup 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 (ListAutonomousDatabaseBackupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseBackupsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
parent LocationName

Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable asynchronous sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseBackup 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((ListAutonomousDatabaseBackupsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseBackupsAsync(ListAutonomousDatabaseBackupsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackupsAsync(ListAutonomousDatabaseBackupsRequest request, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
request ListAutonomousDatabaseBackupsRequest

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
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable asynchronous sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListAutonomousDatabaseBackupsRequest request = new ListAutonomousDatabaseBackupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackupsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseBackup 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((ListAutonomousDatabaseBackupsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseBackupsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> ListAutonomousDatabaseBackupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the long-term and automatic backups of an Autonomous Database.

Parameters
Name Description
parent string

Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup

A pageable asynchronous sequence of AutonomousDatabaseBackup resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseBackupsResponse, AutonomousDatabaseBackup> response = oracleDatabaseClient.ListAutonomousDatabaseBackupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseBackup 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((ListAutonomousDatabaseBackupsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseBackup 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<AutonomousDatabaseBackup> 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 (AutonomousDatabaseBackup 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;

ListAutonomousDatabaseCharacterSets(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSets(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseCharacterSet 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 (ListAutonomousDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabaseCharacterSets(ListAutonomousDatabaseCharacterSetsRequest, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSets(ListAutonomousDatabaseCharacterSetsRequest request, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
request ListAutonomousDatabaseCharacterSetsRequest

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
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListAutonomousDatabaseCharacterSetsRequest request = new ListAutonomousDatabaseCharacterSetsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSets(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseCharacterSet 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 (ListAutonomousDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabaseCharacterSets(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSets(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabaseCharacterSet 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 (ListAutonomousDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabaseCharacterSetsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSetsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseCharacterSet 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((ListAutonomousDatabaseCharacterSetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabaseCharacterSetsAsync(ListAutonomousDatabaseCharacterSetsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSetsAsync(ListAutonomousDatabaseCharacterSetsRequest request, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
request ListAutonomousDatabaseCharacterSetsRequest

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
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListAutonomousDatabaseCharacterSetsRequest request = new ListAutonomousDatabaseCharacterSetsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSetsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseCharacterSet 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((ListAutonomousDatabaseCharacterSetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabaseCharacterSetsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> ListAutonomousDatabaseCharacterSetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Autonomous Database Character Sets in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet

A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabaseCharacterSetsResponse, AutonomousDatabaseCharacterSet> response = oracleDatabaseClient.ListAutonomousDatabaseCharacterSetsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabaseCharacterSet 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((ListAutonomousDatabaseCharacterSetsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabaseCharacterSet 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<AutonomousDatabaseCharacterSet> 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 (AutonomousDatabaseCharacterSet 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;

ListAutonomousDatabases(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabases(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabases(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabase 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 (ListAutonomousDatabasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDatabases(ListAutonomousDatabasesRequest, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabases(ListAutonomousDatabasesRequest request, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
request ListAutonomousDatabasesRequest

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
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListAutonomousDatabasesRequest request = new ListAutonomousDatabasesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabases(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabase 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 (ListAutonomousDatabasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDatabases(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabases(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabases(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDatabase 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 (ListAutonomousDatabasesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDatabasesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabasesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable asynchronous sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabasesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabase 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((ListAutonomousDatabasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDatabasesAsync(ListAutonomousDatabasesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabasesAsync(ListAutonomousDatabasesRequest request, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
request ListAutonomousDatabasesRequest

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
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable asynchronous sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListAutonomousDatabasesRequest request = new ListAutonomousDatabasesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabasesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabase 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((ListAutonomousDatabasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDatabasesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> ListAutonomousDatabasesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the Autonomous Databases in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase

A pageable asynchronous sequence of AutonomousDatabase resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAutonomousDatabasesResponse, AutonomousDatabase> response = oracleDatabaseClient.ListAutonomousDatabasesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDatabase 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((ListAutonomousDatabasesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDatabase 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<AutonomousDatabase> 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 (AutonomousDatabase 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;

ListAutonomousDbVersions(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersions(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDbVersion 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 (ListAutonomousDbVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListAutonomousDbVersions(ListAutonomousDbVersionsRequest, CallSettings)

public virtual PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersions(ListAutonomousDbVersionsRequest request, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
request ListAutonomousDbVersionsRequest

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
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListAutonomousDbVersionsRequest request = new ListAutonomousDbVersionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersions(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDbVersion 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 (ListAutonomousDbVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListAutonomousDbVersions(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersions(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AutonomousDbVersion 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 (ListAutonomousDbVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListAutonomousDbVersionsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable asynchronous sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDbVersion 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((ListAutonomousDbVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListAutonomousDbVersionsAsync(ListAutonomousDbVersionsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersionsAsync(ListAutonomousDbVersionsRequest request, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
request ListAutonomousDbVersionsRequest

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
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable asynchronous sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListAutonomousDbVersionsRequest request = new ListAutonomousDbVersionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersionsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDbVersion 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((ListAutonomousDbVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListAutonomousDbVersionsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> ListAutonomousDbVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the available Autonomous Database versions for a project and location.

Parameters
Name Description
parent string

Required. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion

A pageable asynchronous sequence of AutonomousDbVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAutonomousDbVersionsResponse, AutonomousDbVersion> response = oracleDatabaseClient.ListAutonomousDbVersionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AutonomousDbVersion 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((ListAutonomousDbVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AutonomousDbVersion 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<AutonomousDbVersion> 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 (AutonomousDbVersion 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;

ListCloudExadataInfrastructures(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructures(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructures(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudExadataInfrastructure 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 (ListCloudExadataInfrastructuresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudExadataInfrastructures(ListCloudExadataInfrastructuresRequest, CallSettings)

public virtual PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructures(ListCloudExadataInfrastructuresRequest request, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
request ListCloudExadataInfrastructuresRequest

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
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListCloudExadataInfrastructuresRequest request = new ListCloudExadataInfrastructuresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructures(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudExadataInfrastructure 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 (ListCloudExadataInfrastructuresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudExadataInfrastructures(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructures(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructures(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudExadataInfrastructure 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 (ListCloudExadataInfrastructuresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudExadataInfrastructuresAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructuresAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable asynchronous sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructuresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudExadataInfrastructure 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((ListCloudExadataInfrastructuresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudExadataInfrastructuresAsync(ListCloudExadataInfrastructuresRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructuresAsync(ListCloudExadataInfrastructuresRequest request, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
request ListCloudExadataInfrastructuresRequest

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
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable asynchronous sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListCloudExadataInfrastructuresRequest request = new ListCloudExadataInfrastructuresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructuresAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudExadataInfrastructure 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((ListCloudExadataInfrastructuresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudExadataInfrastructuresAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> ListCloudExadataInfrastructuresAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Exadata Infrastructures in a given project and location.

Parameters
Name Description
parent string

Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure

A pageable asynchronous sequence of CloudExadataInfrastructure resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCloudExadataInfrastructuresResponse, CloudExadataInfrastructure> response = oracleDatabaseClient.ListCloudExadataInfrastructuresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudExadataInfrastructure 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((ListCloudExadataInfrastructuresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudExadataInfrastructure 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<CloudExadataInfrastructure> 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 (CloudExadataInfrastructure 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;

ListCloudVmClusters(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudVmCluster 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 (ListCloudVmClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListCloudVmClusters(ListCloudVmClustersRequest, CallSettings)

public virtual PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClusters(ListCloudVmClustersRequest request, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
request ListCloudVmClustersRequest

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
PagedEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListCloudVmClustersRequest request = new ListCloudVmClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClusters(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudVmCluster 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 (ListCloudVmClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListCloudVmClusters(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CloudVmCluster 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 (ListCloudVmClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListCloudVmClustersAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
parent LocationName

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable asynchronous sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudVmCluster 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((ListCloudVmClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListCloudVmClustersAsync(ListCloudVmClustersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClustersAsync(ListCloudVmClustersRequest request, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
request ListCloudVmClustersRequest

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
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable asynchronous sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListCloudVmClustersRequest request = new ListCloudVmClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClustersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudVmCluster 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((ListCloudVmClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListCloudVmClustersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> ListCloudVmClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the VM Clusters in a given project and location.

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster

A pageable asynchronous sequence of CloudVmCluster resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCloudVmClustersResponse, CloudVmCluster> response = oracleDatabaseClient.ListCloudVmClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CloudVmCluster 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((ListCloudVmClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CloudVmCluster 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<CloudVmCluster> 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 (CloudVmCluster 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;

ListDbNodes(CloudVmClusterName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbNodesResponse, DbNode> ListDbNodes(CloudVmClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
parent CloudVmClusterName

Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.

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
PagedEnumerableListDbNodesResponseDbNode

A pageable sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudVmClusterName parent = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
PagedEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbNode 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 (ListDbNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbNodes(ListDbNodesRequest, CallSettings)

public virtual PagedEnumerable<ListDbNodesResponse, DbNode> ListDbNodes(ListDbNodesRequest request, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
request ListDbNodesRequest

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
PagedEnumerableListDbNodesResponseDbNode

A pageable sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbNodesRequest request = new ListDbNodesRequest
{
    ParentAsCloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
};
// Make the request
PagedEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbNode 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 (ListDbNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbNodes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbNodesResponse, DbNode> ListDbNodes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
parent string

Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.

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
PagedEnumerableListDbNodesResponseDbNode

A pageable sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
PagedEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbNode 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 (ListDbNodesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbNodesAsync(CloudVmClusterName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbNodesResponse, DbNode> ListDbNodesAsync(CloudVmClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
parent CloudVmClusterName

Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.

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
PagedAsyncEnumerableListDbNodesResponseDbNode

A pageable asynchronous sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudVmClusterName parent = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbNode 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((ListDbNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbNodesAsync(ListDbNodesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDbNodesResponse, DbNode> ListDbNodesAsync(ListDbNodesRequest request, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
request ListDbNodesRequest

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
PagedAsyncEnumerableListDbNodesResponseDbNode

A pageable asynchronous sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbNodesRequest request = new ListDbNodesRequest
{
    ParentAsCloudVmClusterName = CloudVmClusterName.FromProjectLocationCloudVmCluster("[PROJECT]", "[LOCATION]", "[CLOUD_VM_CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbNode 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((ListDbNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbNodesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbNodesResponse, DbNode> ListDbNodesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database nodes of a VM Cluster.

Parameters
Name Description
parent string

Required. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.

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
PagedAsyncEnumerableListDbNodesResponseDbNode

A pageable asynchronous sequence of DbNode resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/cloudVmClusters/[CLOUD_VM_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListDbNodesResponse, DbNode> response = oracleDatabaseClient.ListDbNodesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbNode 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((ListDbNodesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbNode 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<DbNode> 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 (DbNode 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;

ListDbServers(CloudExadataInfrastructureName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbServersResponse, DbServer> ListDbServers(CloudExadataInfrastructureName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
parent CloudExadataInfrastructureName

Required. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}.

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
PagedEnumerableListDbServersResponseDbServer

A pageable sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CloudExadataInfrastructureName parent = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
PagedEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServers(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbServer 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 (ListDbServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbServers(ListDbServersRequest, CallSettings)

public virtual PagedEnumerable<ListDbServersResponse, DbServer> ListDbServers(ListDbServersRequest request, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
request ListDbServersRequest

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
PagedEnumerableListDbServersResponseDbServer

A pageable sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbServersRequest request = new ListDbServersRequest
{
    ParentAsCloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
};
// Make the request
PagedEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServers(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbServer 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 (ListDbServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbServers(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbServersResponse, DbServer> ListDbServers(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
parent string

Required. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}.

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
PagedEnumerableListDbServersResponseDbServer

A pageable sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
PagedEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServers(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbServer 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 (ListDbServersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbServersAsync(CloudExadataInfrastructureName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbServersResponse, DbServer> ListDbServersAsync(CloudExadataInfrastructureName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
parent CloudExadataInfrastructureName

Required. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}.

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
PagedAsyncEnumerableListDbServersResponseDbServer

A pageable asynchronous sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CloudExadataInfrastructureName parent = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]");
// Make the request
PagedAsyncEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbServer 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((ListDbServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbServersAsync(ListDbServersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDbServersResponse, DbServer> ListDbServersAsync(ListDbServersRequest request, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
request ListDbServersRequest

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
PagedAsyncEnumerableListDbServersResponseDbServer

A pageable asynchronous sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbServersRequest request = new ListDbServersRequest
{
    ParentAsCloudExadataInfrastructureName = CloudExadataInfrastructureName.FromProjectLocationCloudExadataInfrastructure("[PROJECT]", "[LOCATION]", "[CLOUD_EXADATA_INFRASTRUCTURE]"),
};
// Make the request
PagedAsyncEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbServer 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((ListDbServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbServersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbServersResponse, DbServer> ListDbServersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database servers of an Exadata Infrastructure instance.

Parameters
Name Description
parent string

Required. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}.

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
PagedAsyncEnumerableListDbServersResponseDbServer

A pageable asynchronous sequence of DbServer resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/cloudExadataInfrastructures/[CLOUD_EXADATA_INFRASTRUCTURE]";
// Make the request
PagedAsyncEnumerable<ListDbServersResponse, DbServer> response = oracleDatabaseClient.ListDbServersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbServer 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((ListDbServersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbServer 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<DbServer> 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 (DbServer 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;

ListDbSystemShapes(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListDbSystemShapesResponseDbSystemShape

A pageable sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemShape 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 (ListDbSystemShapesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListDbSystemShapes(ListDbSystemShapesRequest, CallSettings)

public virtual PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapes(ListDbSystemShapesRequest request, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
request ListDbSystemShapesRequest

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
PagedEnumerableListDbSystemShapesResponseDbSystemShape

A pageable sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbSystemShapesRequest request = new ListDbSystemShapesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemShape 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 (ListDbSystemShapesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListDbSystemShapes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
parent string

Required. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListDbSystemShapesResponseDbSystemShape

A pageable sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemShape 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 (ListDbSystemShapesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListDbSystemShapesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape

A pageable asynchronous sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemShape 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((ListDbSystemShapesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListDbSystemShapesAsync(ListDbSystemShapesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapesAsync(ListDbSystemShapesRequest request, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
request ListDbSystemShapesRequest

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
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape

A pageable asynchronous sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbSystemShapesRequest request = new ListDbSystemShapesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemShape 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((ListDbSystemShapesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListDbSystemShapesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> ListDbSystemShapesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the database system shapes available for the project and location.

Parameters
Name Description
parent string

Required. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape

A pageable asynchronous sequence of DbSystemShape resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDbSystemShapesResponse, DbSystemShape> response = oracleDatabaseClient.ListDbSystemShapesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemShape 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((ListDbSystemShapesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DbSystemShape 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<DbSystemShape> 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 (DbSystemShape 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;

ListEntitlements(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlements(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
parent LocationName

Required. The parent value for the entitlement in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListEntitlementsResponseEntitlement

A pageable sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlements(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Entitlement 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 (ListEntitlementsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListEntitlements(ListEntitlementsRequest, CallSettings)

public virtual PagedEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlements(ListEntitlementsRequest request, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
request ListEntitlementsRequest

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
PagedEnumerableListEntitlementsResponseEntitlement

A pageable sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListEntitlementsRequest request = new ListEntitlementsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlements(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Entitlement 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 (ListEntitlementsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListEntitlements(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlements(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
parent string

Required. The parent value for the entitlement in the following format: projects/{project}/locations/{location}.

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
PagedEnumerableListEntitlementsResponseEntitlement

A pageable sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlements(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Entitlement 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 (ListEntitlementsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListEntitlementsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlementsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
parent LocationName

Required. The parent value for the entitlement in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListEntitlementsResponseEntitlement

A pageable asynchronous sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlementsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entitlement 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((ListEntitlementsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListEntitlementsAsync(ListEntitlementsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlementsAsync(ListEntitlementsRequest request, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
request ListEntitlementsRequest

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
PagedAsyncEnumerableListEntitlementsResponseEntitlement

A pageable asynchronous sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListEntitlementsRequest request = new ListEntitlementsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlementsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entitlement 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((ListEntitlementsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListEntitlementsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> ListEntitlementsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the entitlements in a given project.

Parameters
Name Description
parent string

Required. The parent value for the entitlement in the following format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListEntitlementsResponseEntitlement

A pageable asynchronous sequence of Entitlement resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListEntitlementsResponse, Entitlement> response = oracleDatabaseClient.ListEntitlementsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Entitlement 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((ListEntitlementsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Entitlement 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<Entitlement> 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 (Entitlement 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;

ListGiVersions(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}.

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
PagedEnumerableListGiVersionsResponseGiVersion

A pageable sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersions(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (GiVersion 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 (ListGiVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

ListGiVersions(ListGiVersionsRequest, CallSettings)

public virtual PagedEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersions(ListGiVersionsRequest request, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
request ListGiVersionsRequest

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
PagedEnumerableListGiVersionsResponseGiVersion

A pageable sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListGiVersionsRequest request = new ListGiVersionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersions(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (GiVersion 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 (ListGiVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

ListGiVersions(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
parent string

Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}.

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
PagedEnumerableListGiVersionsResponseGiVersion

A pageable sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersions(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (GiVersion 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 (ListGiVersionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

ListGiVersionsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
parent LocationName

Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListGiVersionsResponseGiVersion

A pageable asynchronous sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GiVersion 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((ListGiVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

ListGiVersionsAsync(ListGiVersionsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersionsAsync(ListGiVersionsRequest request, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
request ListGiVersionsRequest

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
PagedAsyncEnumerableListGiVersionsResponseGiVersion

A pageable asynchronous sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListGiVersionsRequest request = new ListGiVersionsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersionsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GiVersion 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((ListGiVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

ListGiVersionsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> ListGiVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.

Parameters
Name Description
parent string

Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}.

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
PagedAsyncEnumerableListGiVersionsResponseGiVersion

A pageable asynchronous sequence of GiVersion resources.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListGiVersionsResponse, GiVersion> response = oracleDatabaseClient.ListGiVersionsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GiVersion 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((ListGiVersionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (GiVersion 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<GiVersion> 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 (GiVersion 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;

PollOnceCreateAutonomousDatabase(string, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceCreateAutonomousDatabase(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAutonomousDatabase.

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
OperationAutonomousDatabaseOperationMetadata

The result of polling the operation.

PollOnceCreateAutonomousDatabaseAsync(string, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceCreateAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAutonomousDatabase.

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
TaskOperationAutonomousDatabaseOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateCloudExadataInfrastructure(string, CallSettings)

public virtual Operation<CloudExadataInfrastructure, OperationMetadata> PollOnceCreateCloudExadataInfrastructure(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateCloudExadataInfrastructure.

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
OperationCloudExadataInfrastructureOperationMetadata

The result of polling the operation.

PollOnceCreateCloudExadataInfrastructureAsync(string, CallSettings)

public virtual Task<Operation<CloudExadataInfrastructure, OperationMetadata>> PollOnceCreateCloudExadataInfrastructureAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateCloudExadataInfrastructure.

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
TaskOperationCloudExadataInfrastructureOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateCloudVmCluster(string, CallSettings)

public virtual Operation<CloudVmCluster, OperationMetadata> PollOnceCreateCloudVmCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateCloudVmCluster .

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
OperationCloudVmClusterOperationMetadata

The result of polling the operation.

PollOnceCreateCloudVmClusterAsync(string, CallSettings)

public virtual Task<Operation<CloudVmCluster, OperationMetadata>> PollOnceCreateCloudVmClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateCloudVmCluster.

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
TaskOperationCloudVmClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAutonomousDatabase(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAutonomousDatabase(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAutonomousDatabase.

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.

PollOnceDeleteAutonomousDatabaseAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAutonomousDatabase.

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.

PollOnceDeleteCloudExadataInfrastructure(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCloudExadataInfrastructure(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteCloudExadataInfrastructure.

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.

PollOnceDeleteCloudExadataInfrastructureAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteCloudExadataInfrastructure.

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.

PollOnceDeleteCloudVmCluster(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCloudVmCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteCloudVmCluster .

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.

PollOnceDeleteCloudVmClusterAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteCloudVmCluster.

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.

PollOnceRestoreAutonomousDatabase(string, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceRestoreAutonomousDatabase(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of RestoreAutonomousDatabase.

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
OperationAutonomousDatabaseOperationMetadata

The result of polling the operation.

PollOnceRestoreAutonomousDatabaseAsync(string, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceRestoreAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of RestoreAutonomousDatabase.

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
TaskOperationAutonomousDatabaseOperationMetadata

A task representing the result of polling the operation.

RestoreAutonomousDatabase(AutonomousDatabaseName, Timestamp, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> RestoreAutonomousDatabase(AutonomousDatabaseName name, Timestamp restoreTime, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestoreAutonomousDatabase(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRestoreAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabase(RestoreAutonomousDatabaseRequest, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> RestoreAutonomousDatabase(RestoreAutonomousDatabaseRequest request, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
request RestoreAutonomousDatabaseRequest

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
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
RestoreAutonomousDatabaseRequest request = new RestoreAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RestoreTime = new Timestamp(),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestoreAutonomousDatabase(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRestoreAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabase(string, Timestamp, CallSettings)

public virtual Operation<AutonomousDatabase, OperationMetadata> RestoreAutonomousDatabase(string name, Timestamp restoreTime, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAutonomousDatabaseOperationMetadata

The RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestoreAutonomousDatabase(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRestoreAutonomousDatabase(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(AutonomousDatabaseName, Timestamp, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(AutonomousDatabaseName name, Timestamp restoreTime, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(AutonomousDatabaseName, Timestamp, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(AutonomousDatabaseName name, Timestamp restoreTime, CancellationToken cancellationToken)

Restores a single Autonomous Database.

Parameters
Name Description
name AutonomousDatabaseName

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(RestoreAutonomousDatabaseRequest, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(RestoreAutonomousDatabaseRequest request, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
request RestoreAutonomousDatabaseRequest

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
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RestoreAutonomousDatabaseRequest request = new RestoreAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RestoreTime = new Timestamp(),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(RestoreAutonomousDatabaseRequest, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(RestoreAutonomousDatabaseRequest request, CancellationToken cancellationToken)

Restores a single Autonomous Database.

Parameters
Name Description
request RestoreAutonomousDatabaseRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RestoreAutonomousDatabaseRequest request = new RestoreAutonomousDatabaseRequest
{
    AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
    RestoreTime = new Timestamp(),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(request);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(string, Timestamp, CallSettings)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(string name, Timestamp restoreTime, CallSettings callSettings = null)

Restores a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

RestoreAutonomousDatabaseAsync(string, Timestamp, CancellationToken)

public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestoreAutonomousDatabaseAsync(string name, Timestamp restoreTime, CancellationToken cancellationToken)

Restores a single Autonomous Database.

Parameters
Name Description
name string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.

restoreTime Timestamp

Required. The time and date to restore the database to.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAutonomousDatabaseOperationMetadata

A Task containing the RPC response.

Example
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
Timestamp restoreTime = new Timestamp();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestoreAutonomousDatabaseAsync(name, restoreTime);

// Poll until the returned long-running operation is complete
Operation<AutonomousDatabase, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AutonomousDatabase result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AutonomousDatabase, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRestoreAutonomousDatabaseAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AutonomousDatabase retrievedResult = retrievedResponse.Result;
}

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.