public abstract class OracleDatabaseClientReference documentation and code samples for the Oracle Database@Google Cloud v1 API class OracleDatabaseClient.
OracleDatabase client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.OracleDatabase.V1Assembly
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 |
|
CreateDbSystemOperationsClient
public virtual OperationsClient CreateDbSystemOperationsClient { get; }The long-running operations client for CreateDbSystem.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateExadbVmClusterOperationsClient
public virtual OperationsClient CreateExadbVmClusterOperationsClient { get; }The long-running operations client for CreateExadbVmCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateExascaleDbStorageVaultOperationsClient
public virtual OperationsClient CreateExascaleDbStorageVaultOperationsClient { get; }The long-running operations client for CreateExascaleDbStorageVault.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateOdbNetworkOperationsClient
public virtual OperationsClient CreateOdbNetworkOperationsClient { get; }The long-running operations client for CreateOdbNetwork.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateOdbSubnetOperationsClient
public virtual OperationsClient CreateOdbSubnetOperationsClient { get; }The long-running operations client for CreateOdbSubnet.
| 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 |
|
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 |
|
DeleteDbSystemOperationsClient
public virtual OperationsClient DeleteDbSystemOperationsClient { get; }The long-running operations client for DeleteDbSystem.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteExadbVmClusterOperationsClient
public virtual OperationsClient DeleteExadbVmClusterOperationsClient { get; }The long-running operations client for DeleteExadbVmCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteExascaleDbStorageVaultOperationsClient
public virtual OperationsClient DeleteExascaleDbStorageVaultOperationsClient { get; }The long-running operations client for DeleteExascaleDbStorageVault.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteOdbNetworkOperationsClient
public virtual OperationsClient DeleteOdbNetworkOperationsClient { get; }The long-running operations client for DeleteOdbNetwork.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteOdbSubnetOperationsClient
public virtual OperationsClient DeleteOdbSubnetOperationsClient { get; }The long-running operations client for DeleteOdbSubnet.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
FailoverAutonomousDatabaseOperationsClient
public virtual OperationsClient FailoverAutonomousDatabaseOperationsClient { get; }The long-running operations client for FailoverAutonomousDatabase.
| 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 |
|
RemoveVirtualMachineExadbVmClusterOperationsClient
public virtual OperationsClient RemoveVirtualMachineExadbVmClusterOperationsClient { get; }The long-running operations client for RemoveVirtualMachineExadbVmCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
RestartAutonomousDatabaseOperationsClient
public virtual OperationsClient RestartAutonomousDatabaseOperationsClient { get; }The long-running operations client for RestartAutonomousDatabase.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
|
StartAutonomousDatabaseOperationsClient
public virtual OperationsClient StartAutonomousDatabaseOperationsClient { get; }The long-running operations client for StartAutonomousDatabase.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
StopAutonomousDatabaseOperationsClient
public virtual OperationsClient StopAutonomousDatabaseOperationsClient { get; }The long-running operations client for StopAutonomousDatabase.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SwitchoverAutonomousDatabaseOperationsClient
public virtual OperationsClient SwitchoverAutonomousDatabaseOperationsClient { get; }The long-running operations client for SwitchoverAutonomousDatabase.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateAutonomousDatabaseOperationsClient
public virtual OperationsClient UpdateAutonomousDatabaseOperationsClient { get; }The long-running operations client for UpdateAutonomousDatabase.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateExadbVmClusterOperationsClient
public virtual OperationsClient UpdateExadbVmClusterOperationsClient { get; }The long-running operations client for UpdateExadbVmCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
CancellationTokenThe 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
CreateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
autonomousDatabase |
AutonomousDatabaseRequired. The Autonomous Database being created. |
autonomousDatabaseId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
LocationNameRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudExadataInfrastructureOperationMetadata |
The RPC response. |
// 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 |
CreateCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudExadataInfrastructureOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudExadataInfrastructureOperationMetadata |
The RPC response. |
// 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 |
LocationNameRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
LocationNameRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
cloudExadataInfrastructure |
CloudExadataInfrastructureRequired. Details of the Exadata Infrastructure instance to create. |
cloudExadataInfrastructureId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudExadataInfrastructureOperationMetadata |
A Task containing the RPC response. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudVmClusterOperationMetadata |
The RPC response. |
// 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 |
CreateCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudVmClusterOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCloudVmClusterOperationMetadata |
The RPC response. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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 |
CreateCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
cloudVmCluster |
CloudVmClusterRequired. The resource being created |
cloudVmClusterId |
stringRequired. 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A Task containing the RPC response. |
// 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;
}
CreateDbSystem(LocationName, DbSystem, string, CallSettings)
public virtual Operation<DbSystem, OperationMetadata> CreateDbSystem(LocationName parent, DbSystem dbSystem, string dbSystemId, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDbSystemOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = oracleDatabaseClient.CreateDbSystem(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateDbSystem(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystem(CreateDbSystemRequest, CallSettings)
public virtual Operation<DbSystem, OperationMetadata> CreateDbSystem(CreateDbSystemRequest request, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDbSystemOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateDbSystemRequest request = new CreateDbSystemRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DbSystemId = "",
DbSystem = new DbSystem(),
RequestId = "",
};
// Make the request
Operation<DbSystem, OperationMetadata> response = oracleDatabaseClient.CreateDbSystem(request);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateDbSystem(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystem(string, DbSystem, string, CallSettings)
public virtual Operation<DbSystem, OperationMetadata> CreateDbSystem(string parent, DbSystem dbSystem, string dbSystemId, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDbSystemOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = oracleDatabaseClient.CreateDbSystem(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateDbSystem(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(LocationName, DbSystem, string, CallSettings)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(LocationName parent, DbSystem dbSystem, string dbSystemId, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(LocationName, DbSystem, string, CancellationToken)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(LocationName parent, DbSystem dbSystem, string dbSystemId, CancellationToken cancellationToken)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(CreateDbSystemRequest, CallSettings)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(CreateDbSystemRequest request, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateDbSystemRequest request = new CreateDbSystemRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DbSystemId = "",
DbSystem = new DbSystem(),
RequestId = "",
};
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(request);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(CreateDbSystemRequest, CancellationToken)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(CreateDbSystemRequest request, CancellationToken cancellationToken)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDbSystemRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateDbSystemRequest request = new CreateDbSystemRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DbSystemId = "",
DbSystem = new DbSystem(),
RequestId = "",
};
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(request);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(string, DbSystem, string, CallSettings)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(string parent, DbSystem dbSystem, string dbSystemId, CallSettings callSettings = null)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateDbSystemAsync(string, DbSystem, string, CancellationToken)
public virtual Task<Operation<DbSystem, OperationMetadata>> CreateDbSystemAsync(string parent, DbSystem dbSystem, string dbSystemId, CancellationToken cancellationToken)Creates a new DbSystem in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. |
dbSystem |
DbSystemRequired. The resource being created. |
dbSystemId |
stringRequired. The ID of the DbSystem 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DbSystem dbSystem = new DbSystem();
string dbSystemId = "";
// Make the request
Operation<DbSystem, OperationMetadata> response = await oracleDatabaseClient.CreateDbSystemAsync(parent, dbSystem, dbSystemId);
// Poll until the returned long-running operation is complete
Operation<DbSystem, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DbSystem result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DbSystem, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateDbSystemAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DbSystem retrievedResult = retrievedResponse.Result;
}
CreateExadbVmCluster(LocationName, ExadbVmCluster, string, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> CreateExadbVmCluster(LocationName parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateExadbVmCluster(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmCluster(CreateExadbVmClusterRequest, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> CreateExadbVmCluster(CreateExadbVmClusterRequest request, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateExadbVmClusterRequest request = new CreateExadbVmClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExadbVmClusterId = "",
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateExadbVmCluster(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmCluster(string, ExadbVmCluster, string, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> CreateExadbVmCluster(string parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.CreateExadbVmCluster(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(LocationName, ExadbVmCluster, string, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(LocationName parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(LocationName, ExadbVmCluster, string, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(LocationName parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CancellationToken cancellationToken)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(CreateExadbVmClusterRequest, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(CreateExadbVmClusterRequest request, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateExadbVmClusterRequest request = new CreateExadbVmClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExadbVmClusterId = "",
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(CreateExadbVmClusterRequest, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(CreateExadbVmClusterRequest request, CancellationToken cancellationToken)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateExadbVmClusterRequest request = new CreateExadbVmClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExadbVmClusterId = "",
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(string, ExadbVmCluster, string, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(string parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CallSettings callSettings = null)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExadbVmClusterAsync(string, ExadbVmCluster, string, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> CreateExadbVmClusterAsync(string parent, ExadbVmCluster exadbVmCluster, string exadbVmClusterId, CancellationToken cancellationToken)Creates a new Exadb (Exascale) VM Cluster resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. |
exadbVmCluster |
ExadbVmClusterRequired. The resource being created. |
exadbVmClusterId |
stringRequired. The ID of the ExadbVmCluster 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
string exadbVmClusterId = "";
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.CreateExadbVmClusterAsync(parent, exadbVmCluster, exadbVmClusterId);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVault(LocationName, ExascaleDbStorageVault, string, CallSettings)
public virtual Operation<ExascaleDbStorageVault, OperationMetadata> CreateExascaleDbStorageVault(LocationName parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExascaleDbStorageVaultOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = oracleDatabaseClient.CreateExascaleDbStorageVault(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExascaleDbStorageVault(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVault(CreateExascaleDbStorageVaultRequest, CallSettings)
public virtual Operation<ExascaleDbStorageVault, OperationMetadata> CreateExascaleDbStorageVault(CreateExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExascaleDbStorageVaultOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateExascaleDbStorageVaultRequest request = new CreateExascaleDbStorageVaultRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExascaleDbStorageVaultId = "",
ExascaleDbStorageVault = new ExascaleDbStorageVault(),
RequestId = "",
};
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = oracleDatabaseClient.CreateExascaleDbStorageVault(request);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExascaleDbStorageVault(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVault(string, ExascaleDbStorageVault, string, CallSettings)
public virtual Operation<ExascaleDbStorageVault, OperationMetadata> CreateExascaleDbStorageVault(string parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExascaleDbStorageVaultOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = oracleDatabaseClient.CreateExascaleDbStorageVault(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateExascaleDbStorageVault(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(LocationName, ExascaleDbStorageVault, string, CallSettings)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(LocationName parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(LocationName, ExascaleDbStorageVault, string, CancellationToken)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(LocationName parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CancellationToken cancellationToken)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(CreateExascaleDbStorageVaultRequest, CallSettings)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(CreateExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateExascaleDbStorageVaultRequest request = new CreateExascaleDbStorageVaultRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExascaleDbStorageVaultId = "",
ExascaleDbStorageVault = new ExascaleDbStorageVault(),
RequestId = "",
};
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(CreateExascaleDbStorageVaultRequest, CancellationToken)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(CreateExascaleDbStorageVaultRequest request, CancellationToken cancellationToken)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateExascaleDbStorageVaultRequest request = new CreateExascaleDbStorageVaultRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ExascaleDbStorageVaultId = "",
ExascaleDbStorageVault = new ExascaleDbStorageVault(),
RequestId = "",
};
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(string, ExascaleDbStorageVault, string, CallSettings)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(string parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CallSettings callSettings = null)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateExascaleDbStorageVaultAsync(string, ExascaleDbStorageVault, string, CancellationToken)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> CreateExascaleDbStorageVaultAsync(string parent, ExascaleDbStorageVault exascaleDbStorageVault, string exascaleDbStorageVaultId, CancellationToken cancellationToken)Creates a new ExascaleDB Storage Vault resource.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
exascaleDbStorageVault |
ExascaleDbStorageVaultRequired. The resource being created. |
exascaleDbStorageVaultId |
stringRequired. The ID of the ExascaleDbStorageVault 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ExascaleDbStorageVault exascaleDbStorageVault = new ExascaleDbStorageVault();
string exascaleDbStorageVaultId = "";
// Make the request
Operation<ExascaleDbStorageVault, OperationMetadata> response = await oracleDatabaseClient.CreateExascaleDbStorageVaultAsync(parent, exascaleDbStorageVault, exascaleDbStorageVaultId);
// Poll until the returned long-running operation is complete
Operation<ExascaleDbStorageVault, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExascaleDbStorageVault result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExascaleDbStorageVault, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateExascaleDbStorageVaultAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExascaleDbStorageVault retrievedResult = retrievedResponse.Result;
}
CreateOdbNetwork(LocationName, OdbNetwork, string, CallSettings)
public virtual Operation<OdbNetwork, OperationMetadata> CreateOdbNetwork(LocationName parent, OdbNetwork odbNetwork, string odbNetworkId, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbNetworkOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = oracleDatabaseClient.CreateOdbNetwork(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetwork(CreateOdbNetworkRequest, CallSettings)
public virtual Operation<OdbNetwork, OperationMetadata> CreateOdbNetwork(CreateOdbNetworkRequest request, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbNetworkOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateOdbNetworkRequest request = new CreateOdbNetworkRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OdbNetworkId = "",
OdbNetwork = new OdbNetwork(),
RequestId = "",
};
// Make the request
Operation<OdbNetwork, OperationMetadata> response = oracleDatabaseClient.CreateOdbNetwork(request);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetwork(string, OdbNetwork, string, CallSettings)
public virtual Operation<OdbNetwork, OperationMetadata> CreateOdbNetwork(string parent, OdbNetwork odbNetwork, string odbNetworkId, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbNetworkOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = oracleDatabaseClient.CreateOdbNetwork(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbNetwork(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(LocationName, OdbNetwork, string, CallSettings)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(LocationName parent, OdbNetwork odbNetwork, string odbNetworkId, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(LocationName, OdbNetwork, string, CancellationToken)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(LocationName parent, OdbNetwork odbNetwork, string odbNetworkId, CancellationToken cancellationToken)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(CreateOdbNetworkRequest, CallSettings)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(CreateOdbNetworkRequest request, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateOdbNetworkRequest request = new CreateOdbNetworkRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OdbNetworkId = "",
OdbNetwork = new OdbNetwork(),
RequestId = "",
};
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(request);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(CreateOdbNetworkRequest, CancellationToken)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(CreateOdbNetworkRequest request, CancellationToken cancellationToken)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbNetworkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateOdbNetworkRequest request = new CreateOdbNetworkRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OdbNetworkId = "",
OdbNetwork = new OdbNetwork(),
RequestId = "",
};
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(request);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(string, OdbNetwork, string, CallSettings)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(string parent, OdbNetwork odbNetwork, string odbNetworkId, CallSettings callSettings = null)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbNetworkAsync(string, OdbNetwork, string, CancellationToken)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> CreateOdbNetworkAsync(string parent, OdbNetwork odbNetwork, string odbNetworkId, CancellationToken cancellationToken)Creates a new ODB Network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}. |
odbNetwork |
OdbNetworkRequired. Details of the OdbNetwork instance to create. |
odbNetworkId |
stringRequired. The ID of the OdbNetwork 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
OdbNetwork odbNetwork = new OdbNetwork();
string odbNetworkId = "";
// Make the request
Operation<OdbNetwork, OperationMetadata> response = await oracleDatabaseClient.CreateOdbNetworkAsync(parent, odbNetwork, odbNetworkId);
// Poll until the returned long-running operation is complete
Operation<OdbNetwork, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbNetwork result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbNetwork, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbNetworkAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbNetwork retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnet(CreateOdbSubnetRequest, CallSettings)
public virtual Operation<OdbSubnet, OperationMetadata> CreateOdbSubnet(CreateOdbSubnetRequest request, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbSubnetOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
CreateOdbSubnetRequest request = new CreateOdbSubnetRequest
{
ParentAsOdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
OdbSubnetId = "",
OdbSubnet = new OdbSubnet(),
RequestId = "",
};
// Make the request
Operation<OdbSubnet, OperationMetadata> response = oracleDatabaseClient.CreateOdbSubnet(request);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbSubnet(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnet(OdbNetworkName, OdbSubnet, string, CallSettings)
public virtual Operation<OdbSubnet, OperationMetadata> CreateOdbSubnet(OdbNetworkName parent, OdbSubnet odbSubnet, string odbSubnetId, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
OdbNetworkNameRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbSubnetOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbNetworkName parent = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = oracleDatabaseClient.CreateOdbSubnet(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbSubnet(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnet(string, OdbSubnet, string, CallSettings)
public virtual Operation<OdbSubnet, OperationMetadata> CreateOdbSubnet(string parent, OdbSubnet odbSubnet, string odbSubnetId, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbSubnetOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = oracleDatabaseClient.CreateOdbSubnet(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceCreateOdbSubnet(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(CreateOdbSubnetRequest, CallSettings)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(CreateOdbSubnetRequest request, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateOdbSubnetRequest request = new CreateOdbSubnetRequest
{
ParentAsOdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
OdbSubnetId = "",
OdbSubnet = new OdbSubnet(),
RequestId = "",
};
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(request);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(CreateOdbSubnetRequest, CancellationToken)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(CreateOdbSubnetRequest request, CancellationToken cancellationToken)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOdbSubnetRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
CreateOdbSubnetRequest request = new CreateOdbSubnetRequest
{
ParentAsOdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
OdbSubnetId = "",
OdbSubnet = new OdbSubnet(),
RequestId = "",
};
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(request);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(OdbNetworkName, OdbSubnet, string, CallSettings)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(OdbNetworkName parent, OdbSubnet odbSubnet, string odbSubnetId, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
OdbNetworkNameRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName parent = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(OdbNetworkName, OdbSubnet, string, CancellationToken)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(OdbNetworkName parent, OdbSubnet odbSubnet, string odbSubnetId, CancellationToken cancellationToken)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
OdbNetworkNameRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName parent = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(string, OdbSubnet, string, CallSettings)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(string parent, OdbSubnet odbSubnet, string odbSubnetId, CallSettings callSettings = null)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet retrievedResult = retrievedResponse.Result;
}
CreateOdbSubnetAsync(string, OdbSubnet, string, CancellationToken)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> CreateOdbSubnetAsync(string parent, OdbSubnet odbSubnet, string odbSubnetId, CancellationToken cancellationToken)Creates a new ODB Subnet in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
odbSubnet |
OdbSubnetRequired. Details of the OdbSubnet instance to create. |
odbSubnetId |
stringRequired. The ID of the OdbSubnet 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 |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
OdbSubnet odbSubnet = new OdbSubnet();
string odbSubnetId = "";
// Make the request
Operation<OdbSubnet, OperationMetadata> response = await oracleDatabaseClient.CreateOdbSubnetAsync(parent, odbSubnet, odbSubnetId);
// Poll until the returned long-running operation is complete
Operation<OdbSubnet, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
OdbSubnet result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<OdbSubnet, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceCreateOdbSubnetAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
OdbSubnet 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 |
AutonomousDatabaseNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
DeleteAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
DeleteCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
DeleteCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
DeleteCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// 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;
}
DeleteDbSystem(DbSystemName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDbSystem(DbSystemName name, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteDbSystem(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.PollOnceDeleteDbSystem(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;
}
DeleteDbSystem(DeleteDbSystemRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDbSystem(DeleteDbSystemRequest request, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteDbSystemRequest request = new DeleteDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteDbSystem(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.PollOnceDeleteDbSystem(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;
}
DeleteDbSystem(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDbSystem(string name, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteDbSystem(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.PollOnceDeleteDbSystem(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;
}
DeleteDbSystemAsync(DbSystemName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(DbSystemName name, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteDbSystemAsync(DbSystemName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(DbSystemName name, CancellationToken cancellationToken)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteDbSystemAsync(DeleteDbSystemRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(DeleteDbSystemRequest request, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteDbSystemRequest request = new DeleteDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteDbSystemAsync(DeleteDbSystemRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(DeleteDbSystemRequest request, CancellationToken cancellationToken)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDbSystemRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteDbSystemRequest request = new DeleteDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteDbSystemAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(string name, CallSettings callSettings = null)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteDbSystemAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDbSystemAsync(string name, CancellationToken cancellationToken)Deletes a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteDbSystemAsync(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.PollOnceDeleteDbSystemAsync(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;
}
DeleteExadbVmCluster(DeleteExadbVmClusterRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExadbVmCluster(DeleteExadbVmClusterRequest request, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteExadbVmClusterRequest request = new DeleteExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExadbVmCluster(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.PollOnceDeleteExadbVmCluster(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;
}
DeleteExadbVmCluster(ExadbVmClusterName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExadbVmCluster(ExadbVmClusterName name, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExadbVmCluster(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.PollOnceDeleteExadbVmCluster(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;
}
DeleteExadbVmCluster(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExadbVmCluster(string name, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExadbVmCluster(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.PollOnceDeleteExadbVmCluster(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;
}
DeleteExadbVmClusterAsync(DeleteExadbVmClusterRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(DeleteExadbVmClusterRequest request, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteExadbVmClusterRequest request = new DeleteExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExadbVmClusterAsync(DeleteExadbVmClusterRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(DeleteExadbVmClusterRequest request, CancellationToken cancellationToken)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteExadbVmClusterRequest request = new DeleteExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExadbVmClusterAsync(ExadbVmClusterName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(ExadbVmClusterName name, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExadbVmClusterAsync(ExadbVmClusterName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(ExadbVmClusterName name, CancellationToken cancellationToken)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExadbVmClusterAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(string name, CallSettings callSettings = null)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExadbVmClusterAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExadbVmClusterAsync(string name, CancellationToken cancellationToken)Deletes a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExadbVmClusterAsync(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.PollOnceDeleteExadbVmClusterAsync(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;
}
DeleteExascaleDbStorageVault(DeleteExascaleDbStorageVaultRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExascaleDbStorageVault(DeleteExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteExascaleDbStorageVaultRequest request = new DeleteExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExascaleDbStorageVault(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.PollOnceDeleteExascaleDbStorageVault(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;
}
DeleteExascaleDbStorageVault(ExascaleDbStorageVaultName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExascaleDbStorageVault(ExascaleDbStorageVaultName name, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExascaleDbStorageVault(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.PollOnceDeleteExascaleDbStorageVault(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;
}
DeleteExascaleDbStorageVault(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteExascaleDbStorageVault(string name, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteExascaleDbStorageVault(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.PollOnceDeleteExascaleDbStorageVault(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;
}
DeleteExascaleDbStorageVaultAsync(DeleteExascaleDbStorageVaultRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(DeleteExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteExascaleDbStorageVaultRequest request = new DeleteExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteExascaleDbStorageVaultAsync(DeleteExascaleDbStorageVaultRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(DeleteExascaleDbStorageVaultRequest request, CancellationToken cancellationToken)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteExascaleDbStorageVaultRequest request = new DeleteExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName name, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName name, CancellationToken cancellationToken)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteExascaleDbStorageVaultAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(string name, CallSettings callSettings = null)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteExascaleDbStorageVaultAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteExascaleDbStorageVaultAsync(string name, CancellationToken cancellationToken)Deletes a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteExascaleDbStorageVaultAsync(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.PollOnceDeleteExascaleDbStorageVaultAsync(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;
}
DeleteOdbNetwork(DeleteOdbNetworkRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbNetwork(DeleteOdbNetworkRequest request, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteOdbNetworkRequest request = new DeleteOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbNetwork(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.PollOnceDeleteOdbNetwork(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;
}
DeleteOdbNetwork(OdbNetworkName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbNetwork(OdbNetworkName name, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbNetwork(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.PollOnceDeleteOdbNetwork(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;
}
DeleteOdbNetwork(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbNetwork(string name, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbNetwork(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.PollOnceDeleteOdbNetwork(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;
}
DeleteOdbNetworkAsync(DeleteOdbNetworkRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(DeleteOdbNetworkRequest request, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteOdbNetworkRequest request = new DeleteOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbNetworkAsync(DeleteOdbNetworkRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(DeleteOdbNetworkRequest request, CancellationToken cancellationToken)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbNetworkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteOdbNetworkRequest request = new DeleteOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbNetworkAsync(OdbNetworkName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(OdbNetworkName name, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbNetworkAsync(OdbNetworkName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(OdbNetworkName name, CancellationToken cancellationToken)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbNetworkAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(string name, CallSettings callSettings = null)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbNetworkAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbNetworkAsync(string name, CancellationToken cancellationToken)Deletes a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbNetworkAsync(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.PollOnceDeleteOdbNetworkAsync(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;
}
DeleteOdbSubnet(DeleteOdbSubnetRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbSubnet(DeleteOdbSubnetRequest request, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DeleteOdbSubnetRequest request = new DeleteOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbSubnet(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.PollOnceDeleteOdbSubnet(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;
}
DeleteOdbSubnet(OdbSubnetName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbSubnet(OdbSubnetName name, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbSubnet(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.PollOnceDeleteOdbSubnet(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;
}
DeleteOdbSubnet(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteOdbSubnet(string name, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
Operation<Empty, OperationMetadata> response = oracleDatabaseClient.DeleteOdbSubnet(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.PollOnceDeleteOdbSubnet(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;
}
DeleteOdbSubnetAsync(DeleteOdbSubnetRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(DeleteOdbSubnetRequest request, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteOdbSubnetRequest request = new DeleteOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
DeleteOdbSubnetAsync(DeleteOdbSubnetRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(DeleteOdbSubnetRequest request, CancellationToken cancellationToken)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOdbSubnetRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DeleteOdbSubnetRequest request = new DeleteOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
DeleteOdbSubnetAsync(OdbSubnetName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(OdbSubnetName name, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
DeleteOdbSubnetAsync(OdbSubnetName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(OdbSubnetName name, CancellationToken cancellationToken)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
DeleteOdbSubnetAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(string name, CallSettings callSettings = null)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
DeleteOdbSubnetAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteOdbSubnetAsync(string name, CancellationToken cancellationToken)Deletes a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
Operation<Empty, OperationMetadata> response = await oracleDatabaseClient.DeleteOdbSubnetAsync(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.PollOnceDeleteOdbSubnetAsync(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;
}
FailoverAutonomousDatabase(AutonomousDatabaseName, AutonomousDatabaseName, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> FailoverAutonomousDatabase(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to fail over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.FailoverAutonomousDatabase(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabase(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;
}
FailoverAutonomousDatabase(FailoverAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> FailoverAutonomousDatabase(FailoverAutonomousDatabaseRequest request, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
request |
FailoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
FailoverAutonomousDatabaseRequest request = new FailoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.FailoverAutonomousDatabase(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.PollOnceFailoverAutonomousDatabase(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;
}
FailoverAutonomousDatabase(string, string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> FailoverAutonomousDatabase(string name, string peerAutonomousDatabase, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to fail over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.FailoverAutonomousDatabase(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabase(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;
}
FailoverAutonomousDatabaseAsync(AutonomousDatabaseName, AutonomousDatabaseName, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to fail over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
FailoverAutonomousDatabaseAsync(AutonomousDatabaseName, AutonomousDatabaseName, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CancellationToken cancellationToken)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to fail over to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
FailoverAutonomousDatabaseAsync(FailoverAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(FailoverAutonomousDatabaseRequest request, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
request |
FailoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
FailoverAutonomousDatabaseRequest request = new FailoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
FailoverAutonomousDatabaseAsync(FailoverAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(FailoverAutonomousDatabaseRequest request, CancellationToken cancellationToken)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
request |
FailoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
FailoverAutonomousDatabaseRequest request = new FailoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
FailoverAutonomousDatabaseAsync(string, string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(string name, string peerAutonomousDatabase, CallSettings callSettings = null)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to fail over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
FailoverAutonomousDatabaseAsync(string, string, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> FailoverAutonomousDatabaseAsync(string name, string peerAutonomousDatabase, CancellationToken cancellationToken)Initiates a failover to target autonomous database from the associated primary database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to fail over to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.FailoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceFailoverAutonomousDatabaseAsync(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;
}
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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateAutonomousDatabaseWalletResponse |
The RPC response. |
// 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 |
GenerateAutonomousDatabaseWalletRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateAutonomousDatabaseWalletResponse |
The RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateAutonomousDatabaseWalletResponse |
The RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
GenerateAutonomousDatabaseWalletRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
GenerateAutonomousDatabaseWalletRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
type |
GenerateTypeOptional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. |
isRegional |
boolOptional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. |
password |
stringRequired. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAutonomousDatabaseWalletResponse |
A Task containing the RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
The RPC response. |
// 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 |
GetAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
The RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
The RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
GetAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
GetAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAutonomousDatabase |
A Task containing the RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudExadataInfrastructure |
The RPC response. |
// 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 |
GetCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudExadataInfrastructure |
The RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudExadataInfrastructure |
The RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
CloudExadataInfrastructureNameRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
GetCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
GetCloudExadataInfrastructureRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud Exadata Infrastructure in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudExadataInfrastructure |
A Task containing the RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudVmCluster |
The RPC response. |
// 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 |
GetCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudVmCluster |
The RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CloudVmCluster |
The RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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 |
CloudVmClusterNameRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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 |
GetCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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 |
GetCloudVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Cloud VM Cluster in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCloudVmCluster |
A Task containing the RPC response. |
// 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);
GetDatabase(DatabaseName, CallSettings)
public virtual Database GetDatabase(DatabaseName name, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
DatabaseNameRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Database |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DatabaseName name = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]");
// Make the request
Database response = oracleDatabaseClient.GetDatabase(name);
GetDatabase(GetDatabaseRequest, CallSettings)
public virtual Database GetDatabase(GetDatabaseRequest request, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Database |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetDatabaseRequest request = new GetDatabaseRequest
{
DatabaseName = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]"),
};
// Make the request
Database response = oracleDatabaseClient.GetDatabase(request);
GetDatabase(string, CallSettings)
public virtual Database GetDatabase(string name, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Database |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/databases/[DATABASE]";
// Make the request
Database response = oracleDatabaseClient.GetDatabase(name);
GetDatabaseAsync(DatabaseName, CallSettings)
public virtual Task<Database> GetDatabaseAsync(DatabaseName name, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
DatabaseNameRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DatabaseName name = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]");
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(name);
GetDatabaseAsync(DatabaseName, CancellationToken)
public virtual Task<Database> GetDatabaseAsync(DatabaseName name, CancellationToken cancellationToken)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
DatabaseNameRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DatabaseName name = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]");
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(name);
GetDatabaseAsync(GetDatabaseRequest, CallSettings)
public virtual Task<Database> GetDatabaseAsync(GetDatabaseRequest request, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetDatabaseRequest request = new GetDatabaseRequest
{
DatabaseName = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]"),
};
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(request);
GetDatabaseAsync(GetDatabaseRequest, CancellationToken)
public virtual Task<Database> GetDatabaseAsync(GetDatabaseRequest request, CancellationToken cancellationToken)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetDatabaseRequest request = new GetDatabaseRequest
{
DatabaseName = DatabaseName.FromProjectLocationDatabase("[PROJECT]", "[LOCATION]", "[DATABASE]"),
};
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(request);
GetDatabaseAsync(string, CallSettings)
public virtual Task<Database> GetDatabaseAsync(string name, CallSettings callSettings = null)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/databases/[DATABASE]";
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(name);
GetDatabaseAsync(string, CancellationToken)
public virtual Task<Database> GetDatabaseAsync(string name, CancellationToken cancellationToken)Gets details of a single Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/databases/[DATABASE]";
// Make the request
Database response = await oracleDatabaseClient.GetDatabaseAsync(name);
GetDbSystem(DbSystemName, CallSettings)
public virtual DbSystem GetDbSystem(DbSystemName name, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DbSystem |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
DbSystem response = oracleDatabaseClient.GetDbSystem(name);
GetDbSystem(GetDbSystemRequest, CallSettings)
public virtual DbSystem GetDbSystem(GetDbSystemRequest request, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DbSystem |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetDbSystemRequest request = new GetDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
};
// Make the request
DbSystem response = oracleDatabaseClient.GetDbSystem(request);
GetDbSystem(string, CallSettings)
public virtual DbSystem GetDbSystem(string name, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DbSystem |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
DbSystem response = oracleDatabaseClient.GetDbSystem(name);
GetDbSystemAsync(DbSystemName, CallSettings)
public virtual Task<DbSystem> GetDbSystemAsync(DbSystemName name, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(name);
GetDbSystemAsync(DbSystemName, CancellationToken)
public virtual Task<DbSystem> GetDbSystemAsync(DbSystemName name, CancellationToken cancellationToken)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
DbSystemNameRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
DbSystemName name = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]");
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(name);
GetDbSystemAsync(GetDbSystemRequest, CallSettings)
public virtual Task<DbSystem> GetDbSystemAsync(GetDbSystemRequest request, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDbSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetDbSystemRequest request = new GetDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
};
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(request);
GetDbSystemAsync(GetDbSystemRequest, CancellationToken)
public virtual Task<DbSystem> GetDbSystemAsync(GetDbSystemRequest request, CancellationToken cancellationToken)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDbSystemRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetDbSystemRequest request = new GetDbSystemRequest
{
DbSystemName = DbSystemName.FromProjectLocationDbSystem("[PROJECT]", "[LOCATION]", "[DB_SYSTEM]"),
};
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(request);
GetDbSystemAsync(string, CallSettings)
public virtual Task<DbSystem> GetDbSystemAsync(string name, CallSettings callSettings = null)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(name);
GetDbSystemAsync(string, CancellationToken)
public virtual Task<DbSystem> GetDbSystemAsync(string name, CancellationToken cancellationToken)Gets details of a single DbSystem.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the DbSystem in the following format: projects/{project}/locations/{location}/dbSystems/{db_system}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDbSystem |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dbSystems/[DB_SYSTEM]";
// Make the request
DbSystem response = await oracleDatabaseClient.GetDbSystemAsync(name);
GetExadbVmCluster(ExadbVmClusterName, CallSettings)
public virtual ExadbVmCluster GetExadbVmCluster(ExadbVmClusterName name, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExadbVmCluster |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
ExadbVmCluster response = oracleDatabaseClient.GetExadbVmCluster(name);
GetExadbVmCluster(GetExadbVmClusterRequest, CallSettings)
public virtual ExadbVmCluster GetExadbVmCluster(GetExadbVmClusterRequest request, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExadbVmCluster |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetExadbVmClusterRequest request = new GetExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
};
// Make the request
ExadbVmCluster response = oracleDatabaseClient.GetExadbVmCluster(request);
GetExadbVmCluster(string, CallSettings)
public virtual ExadbVmCluster GetExadbVmCluster(string name, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExadbVmCluster |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
ExadbVmCluster response = oracleDatabaseClient.GetExadbVmCluster(name);
GetExadbVmClusterAsync(ExadbVmClusterName, CallSettings)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(ExadbVmClusterName name, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(name);
GetExadbVmClusterAsync(ExadbVmClusterName, CancellationToken)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(ExadbVmClusterName name, CancellationToken cancellationToken)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(name);
GetExadbVmClusterAsync(GetExadbVmClusterRequest, CallSettings)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(GetExadbVmClusterRequest request, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetExadbVmClusterRequest request = new GetExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
};
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(request);
GetExadbVmClusterAsync(GetExadbVmClusterRequest, CancellationToken)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(GetExadbVmClusterRequest request, CancellationToken cancellationToken)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetExadbVmClusterRequest request = new GetExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
};
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(request);
GetExadbVmClusterAsync(string, CallSettings)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(string name, CallSettings callSettings = null)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(name);
GetExadbVmClusterAsync(string, CancellationToken)
public virtual Task<ExadbVmCluster> GetExadbVmClusterAsync(string name, CancellationToken cancellationToken)Gets details of a single Exadb (Exascale) VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExadbVmCluster |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
// Make the request
ExadbVmCluster response = await oracleDatabaseClient.GetExadbVmClusterAsync(name);
GetExascaleDbStorageVault(ExascaleDbStorageVaultName, CallSettings)
public virtual ExascaleDbStorageVault GetExascaleDbStorageVault(ExascaleDbStorageVaultName name, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExascaleDbStorageVault |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
ExascaleDbStorageVault response = oracleDatabaseClient.GetExascaleDbStorageVault(name);
GetExascaleDbStorageVault(GetExascaleDbStorageVaultRequest, CallSettings)
public virtual ExascaleDbStorageVault GetExascaleDbStorageVault(GetExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExascaleDbStorageVault |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetExascaleDbStorageVaultRequest request = new GetExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
};
// Make the request
ExascaleDbStorageVault response = oracleDatabaseClient.GetExascaleDbStorageVault(request);
GetExascaleDbStorageVault(string, CallSettings)
public virtual ExascaleDbStorageVault GetExascaleDbStorageVault(string name, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExascaleDbStorageVault |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
ExascaleDbStorageVault response = oracleDatabaseClient.GetExascaleDbStorageVault(name);
GetExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName, CallSettings)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName name, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(name);
GetExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName, CancellationToken)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(ExascaleDbStorageVaultName name, CancellationToken cancellationToken)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
ExascaleDbStorageVaultNameRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExascaleDbStorageVaultName name = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]");
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(name);
GetExascaleDbStorageVaultAsync(GetExascaleDbStorageVaultRequest, CallSettings)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(GetExascaleDbStorageVaultRequest request, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetExascaleDbStorageVaultRequest request = new GetExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
};
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(request);
GetExascaleDbStorageVaultAsync(GetExascaleDbStorageVaultRequest, CancellationToken)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(GetExascaleDbStorageVaultRequest request, CancellationToken cancellationToken)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExascaleDbStorageVaultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetExascaleDbStorageVaultRequest request = new GetExascaleDbStorageVaultRequest
{
ExascaleDbStorageVaultName = ExascaleDbStorageVaultName.FromProjectLocationExascaleDbStorageVault("[PROJECT]", "[LOCATION]", "[EXASCALE_DB_STORAGE_VAULT]"),
};
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(request);
GetExascaleDbStorageVaultAsync(string, CallSettings)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(string name, CallSettings callSettings = null)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(name);
GetExascaleDbStorageVaultAsync(string, CancellationToken)
public virtual Task<ExascaleDbStorageVault> GetExascaleDbStorageVaultAsync(string name, CancellationToken cancellationToken)Gets details of a single ExascaleDB Storage Vault.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExascaleDbStorageVault |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exascaleDbStorageVaults/[EXASCALE_DB_STORAGE_VAULT]";
// Make the request
ExascaleDbStorageVault response = await oracleDatabaseClient.GetExascaleDbStorageVaultAsync(name);
GetOdbNetwork(GetOdbNetworkRequest, CallSettings)
public virtual OdbNetwork GetOdbNetwork(GetOdbNetworkRequest request, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbNetwork |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetOdbNetworkRequest request = new GetOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
};
// Make the request
OdbNetwork response = oracleDatabaseClient.GetOdbNetwork(request);
GetOdbNetwork(OdbNetworkName, CallSettings)
public virtual OdbNetwork GetOdbNetwork(OdbNetworkName name, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbNetwork |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
OdbNetwork response = oracleDatabaseClient.GetOdbNetwork(name);
GetOdbNetwork(string, CallSettings)
public virtual OdbNetwork GetOdbNetwork(string name, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbNetwork |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
OdbNetwork response = oracleDatabaseClient.GetOdbNetwork(name);
GetOdbNetworkAsync(GetOdbNetworkRequest, CallSettings)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(GetOdbNetworkRequest request, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetOdbNetworkRequest request = new GetOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
};
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(request);
GetOdbNetworkAsync(GetOdbNetworkRequest, CancellationToken)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(GetOdbNetworkRequest request, CancellationToken cancellationToken)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbNetworkRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetOdbNetworkRequest request = new GetOdbNetworkRequest
{
OdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
};
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(request);
GetOdbNetworkAsync(OdbNetworkName, CallSettings)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(OdbNetworkName name, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(name);
GetOdbNetworkAsync(OdbNetworkName, CancellationToken)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(OdbNetworkName name, CancellationToken cancellationToken)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbNetworkNameRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName name = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(name);
GetOdbNetworkAsync(string, CallSettings)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(string name, CallSettings callSettings = null)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(name);
GetOdbNetworkAsync(string, CancellationToken)
public virtual Task<OdbNetwork> GetOdbNetworkAsync(string name, CancellationToken cancellationToken)Gets details of a single ODB Network.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbNetwork |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
OdbNetwork response = await oracleDatabaseClient.GetOdbNetworkAsync(name);
GetOdbSubnet(GetOdbSubnetRequest, CallSettings)
public virtual OdbSubnet GetOdbSubnet(GetOdbSubnetRequest request, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbSubnet |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetOdbSubnetRequest request = new GetOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
};
// Make the request
OdbSubnet response = oracleDatabaseClient.GetOdbSubnet(request);
GetOdbSubnet(OdbSubnetName, CallSettings)
public virtual OdbSubnet GetOdbSubnet(OdbSubnetName name, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbSubnet |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
OdbSubnet response = oracleDatabaseClient.GetOdbSubnet(name);
GetOdbSubnet(string, CallSettings)
public virtual OdbSubnet GetOdbSubnet(string name, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OdbSubnet |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
OdbSubnet response = oracleDatabaseClient.GetOdbSubnet(name);
GetOdbSubnetAsync(GetOdbSubnetRequest, CallSettings)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(GetOdbSubnetRequest request, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbSubnetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetOdbSubnetRequest request = new GetOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
};
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(request);
GetOdbSubnetAsync(GetOdbSubnetRequest, CancellationToken)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(GetOdbSubnetRequest request, CancellationToken cancellationToken)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOdbSubnetRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetOdbSubnetRequest request = new GetOdbSubnetRequest
{
OdbSubnetName = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]"),
};
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(request);
GetOdbSubnetAsync(OdbSubnetName, CallSettings)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(OdbSubnetName name, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(name);
GetOdbSubnetAsync(OdbSubnetName, CancellationToken)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(OdbSubnetName name, CancellationToken cancellationToken)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
OdbSubnetNameRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbSubnetName name = OdbSubnetName.FromProjectLocationOdbNetworkOdbSubnet("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]", "[ODB_SUBNET]");
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(name);
GetOdbSubnetAsync(string, CallSettings)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(string name, CallSettings callSettings = null)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(name);
GetOdbSubnetAsync(string, CancellationToken)
public virtual Task<OdbSubnet> GetOdbSubnetAsync(string name, CancellationToken cancellationToken)Gets details of a single ODB Subnet.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOdbSubnet |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]/odbSubnets/[ODB_SUBNET]";
// Make the request
OdbSubnet response = await oracleDatabaseClient.GetOdbSubnetAsync(name);
GetPluggableDatabase(GetPluggableDatabaseRequest, CallSettings)
public virtual PluggableDatabase GetPluggableDatabase(GetPluggableDatabaseRequest request, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPluggableDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PluggableDatabase |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GetPluggableDatabaseRequest request = new GetPluggableDatabaseRequest
{
PluggableDatabaseName = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]"),
};
// Make the request
PluggableDatabase response = oracleDatabaseClient.GetPluggableDatabase(request);
GetPluggableDatabase(PluggableDatabaseName, CallSettings)
public virtual PluggableDatabase GetPluggableDatabase(PluggableDatabaseName name, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
PluggableDatabaseNameRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PluggableDatabase |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
PluggableDatabaseName name = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]");
// Make the request
PluggableDatabase response = oracleDatabaseClient.GetPluggableDatabase(name);
GetPluggableDatabase(string, CallSettings)
public virtual PluggableDatabase GetPluggableDatabase(string name, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PluggableDatabase |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pluggableDatabases/[PLUGGABLE_DATABASE]";
// Make the request
PluggableDatabase response = oracleDatabaseClient.GetPluggableDatabase(name);
GetPluggableDatabaseAsync(GetPluggableDatabaseRequest, CallSettings)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(GetPluggableDatabaseRequest request, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPluggableDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetPluggableDatabaseRequest request = new GetPluggableDatabaseRequest
{
PluggableDatabaseName = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]"),
};
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(request);
GetPluggableDatabaseAsync(GetPluggableDatabaseRequest, CancellationToken)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(GetPluggableDatabaseRequest request, CancellationToken cancellationToken)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPluggableDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GetPluggableDatabaseRequest request = new GetPluggableDatabaseRequest
{
PluggableDatabaseName = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]"),
};
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(request);
GetPluggableDatabaseAsync(PluggableDatabaseName, CallSettings)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(PluggableDatabaseName name, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
PluggableDatabaseNameRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
PluggableDatabaseName name = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]");
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(name);
GetPluggableDatabaseAsync(PluggableDatabaseName, CancellationToken)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(PluggableDatabaseName name, CancellationToken cancellationToken)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
PluggableDatabaseNameRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
PluggableDatabaseName name = PluggableDatabaseName.FromProjectLocationPluggableDatabase("[PROJECT]", "[LOCATION]", "[PLUGGABLE_DATABASE]");
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(name);
GetPluggableDatabaseAsync(string, CallSettings)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(string name, CallSettings callSettings = null)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pluggableDatabases/[PLUGGABLE_DATABASE]";
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(name);
GetPluggableDatabaseAsync(string, CancellationToken)
public virtual Task<PluggableDatabase> GetPluggableDatabaseAsync(string name, CancellationToken cancellationToken)Gets details of a single PluggableDatabase.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPluggableDatabase |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/pluggableDatabases/[PLUGGABLE_DATABASE]";
// Make the request
PluggableDatabase response = await oracleDatabaseClient.GetPluggableDatabaseAsync(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 |
LocationNameRequired. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable sequence of AutonomousDatabaseBackup resources. |
// 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 |
ListAutonomousDatabaseBackupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable sequence of AutonomousDatabaseBackup resources. |
// 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 |
stringRequired. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable sequence of AutonomousDatabaseBackup resources. |
// 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 |
LocationNameRequired. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable asynchronous sequence of AutonomousDatabaseBackup resources. |
// 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 |
ListAutonomousDatabaseBackupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable asynchronous sequence of AutonomousDatabaseBackup resources. |
// 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 |
stringRequired. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseBackupsResponseAutonomousDatabaseBackup |
A pageable asynchronous sequence of AutonomousDatabaseBackup resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
ListAutonomousDatabaseCharacterSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
ListAutonomousDatabaseCharacterSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabaseCharacterSetsResponseAutonomousDatabaseCharacterSet |
A pageable asynchronous sequence of AutonomousDatabaseCharacterSet resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable sequence of AutonomousDatabase resources. |
// 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 |
ListAutonomousDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable sequence of AutonomousDatabase resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable sequence of AutonomousDatabase resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable asynchronous sequence of AutonomousDatabase resources. |
// 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 |
ListAutonomousDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable asynchronous sequence of AutonomousDatabase resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDatabasesResponseAutonomousDatabase |
A pageable asynchronous sequence of AutonomousDatabase resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable sequence of AutonomousDbVersion resources. |
// 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 |
ListAutonomousDbVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable sequence of AutonomousDbVersion resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable sequence of AutonomousDbVersion resources. |
// 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 |
LocationNameRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable asynchronous sequence of AutonomousDbVersion resources. |
// 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 |
ListAutonomousDbVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable asynchronous sequence of AutonomousDbVersion resources. |
// 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 |
stringRequired. The parent value for the Autonomous Database in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAutonomousDbVersionsResponseAutonomousDbVersion |
A pageable asynchronous sequence of AutonomousDbVersion resources. |
// 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 |
LocationNameRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable sequence of CloudExadataInfrastructure resources. |
// 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 |
ListCloudExadataInfrastructuresRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable sequence of CloudExadataInfrastructure resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListCloudExadataInfrastructuresRequest request = new ListCloudExadataInfrastructuresRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// 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 |
stringRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable sequence of CloudExadataInfrastructure resources. |
// 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 |
LocationNameRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable asynchronous sequence of CloudExadataInfrastructure resources. |
// 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 |
ListCloudExadataInfrastructuresRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable asynchronous sequence of CloudExadataInfrastructure resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListCloudExadataInfrastructuresRequest request = new ListCloudExadataInfrastructuresRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// 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 |
stringRequired. The parent value for CloudExadataInfrastructure in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudExadataInfrastructuresResponseCloudExadataInfrastructure |
A pageable asynchronous sequence of CloudExadataInfrastructure resources. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable sequence of CloudVmCluster resources. |
// 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 |
ListCloudVmClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable sequence of CloudVmCluster resources. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable sequence of CloudVmCluster resources. |
// 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 |
LocationNameRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable asynchronous sequence of CloudVmCluster resources. |
// 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 |
ListCloudVmClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable asynchronous sequence of CloudVmCluster resources. |
// 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 |
stringRequired. The name of the parent in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCloudVmClustersResponseCloudVmCluster |
A pageable asynchronous sequence of CloudVmCluster resources. |
// 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;
ListDatabaseCharacterSets(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSets(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for DatabaseCharacterSets in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DatabaseCharacterSet 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 (ListDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabaseCharacterSets(ListDatabaseCharacterSetsRequest, CallSettings)
public virtual PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSets(ListDatabaseCharacterSetsRequest request, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDatabaseCharacterSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDatabaseCharacterSetsRequest request = new ListDatabaseCharacterSetsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSets(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DatabaseCharacterSet 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 (ListDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabaseCharacterSets(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for DatabaseCharacterSets in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DatabaseCharacterSet 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 (ListDatabaseCharacterSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabaseCharacterSetsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSetsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for DatabaseCharacterSets in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable asynchronous sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DatabaseCharacterSet 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((ListDatabaseCharacterSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabaseCharacterSetsAsync(ListDatabaseCharacterSetsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSetsAsync(ListDatabaseCharacterSetsRequest request, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDatabaseCharacterSetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable asynchronous sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDatabaseCharacterSetsRequest request = new ListDatabaseCharacterSetsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSetsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DatabaseCharacterSet 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((ListDatabaseCharacterSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabaseCharacterSetsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> ListDatabaseCharacterSetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DatabaseCharacterSets for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for DatabaseCharacterSets in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabaseCharacterSetsResponseDatabaseCharacterSet |
A pageable asynchronous sequence of DatabaseCharacterSet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDatabaseCharacterSetsResponse, DatabaseCharacterSet> response = oracleDatabaseClient.ListDatabaseCharacterSetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DatabaseCharacterSet 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((ListDatabaseCharacterSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DatabaseCharacterSet 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<DatabaseCharacterSet> 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 (DatabaseCharacterSet 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;
ListDatabases(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDatabasesResponse, Database> ListDatabases(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource name in the following format: projects/{project}/locations/{region} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabasesResponseDatabase |
A pageable sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabases(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Database 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 (ListDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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;
ListDatabases(ListDatabasesRequest, CallSettings)
public virtual PagedEnumerable<ListDatabasesResponse, Database> ListDatabases(ListDatabasesRequest request, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabasesResponseDatabase |
A pageable sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDatabasesRequest request = new ListDatabasesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabases(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Database 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 (ListDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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;
ListDatabases(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDatabasesResponse, Database> ListDatabases(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource name in the following format: projects/{project}/locations/{region} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDatabasesResponseDatabase |
A pageable sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabases(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Database 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 (ListDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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;
ListDatabasesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabasesResponse, Database> ListDatabasesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource name in the following format: projects/{project}/locations/{region} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabasesResponseDatabase |
A pageable asynchronous sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabasesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Database 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((ListDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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;
ListDatabasesAsync(ListDatabasesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabasesResponse, Database> ListDatabasesAsync(ListDatabasesRequest request, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabasesResponseDatabase |
A pageable asynchronous sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDatabasesRequest request = new ListDatabasesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabasesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Database 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((ListDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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;
ListDatabasesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDatabasesResponse, Database> ListDatabasesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Databases for the given project, location and DbSystem.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource name in the following format: projects/{project}/locations/{region} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDatabasesResponseDatabase |
A pageable asynchronous sequence of Database resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDatabasesResponse, Database> response = oracleDatabaseClient.ListDatabasesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Database 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((ListDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Database 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<Database> 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 (Database 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 |
CloudVmClusterNameRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbNodesResponseDbNode |
A pageable sequence of DbNode resources. |
// 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(ExadbVmClusterName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbNodesResponse, DbNode> ListDbNodes(ExadbVmClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the database nodes of a VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
parent |
ExadbVmClusterNameRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbNodesResponseDbNode |
A pageable sequence of DbNode resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExadbVmClusterName parent = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_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 |
ListDbNodesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbNodesResponseDbNode |
A pageable sequence of DbNode resources. |
// 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 |
stringRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbNodesResponseDbNode |
A pageable sequence of DbNode resources. |
// 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 |
CloudVmClusterNameRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbNodesResponseDbNode |
A pageable asynchronous sequence of DbNode resources. |
// 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(ExadbVmClusterName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbNodesResponse, DbNode> ListDbNodesAsync(ExadbVmClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the database nodes of a VM Cluster.
| Parameters | |
|---|---|
| Name | Description |
parent |
ExadbVmClusterNameRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbNodesResponseDbNode |
A pageable asynchronous sequence of DbNode resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName parent = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_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 |
ListDbNodesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbNodesResponseDbNode |
A pageable asynchronous sequence of DbNode resources. |
// 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 |
stringRequired. The parent value for database node in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbNodesResponseDbNode |
A pageable asynchronous sequence of DbNode resources. |
// 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 |
CloudExadataInfrastructureNameRequired. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbServersResponseDbServer |
A pageable sequence of DbServer resources. |
// 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 |
ListDbServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbServersResponseDbServer |
A pageable sequence of DbServer resources. |
// 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 |
stringRequired. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbServersResponseDbServer |
A pageable sequence of DbServer resources. |
// 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 |
CloudExadataInfrastructureNameRequired. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbServersResponseDbServer |
A pageable asynchronous sequence of DbServer resources. |
// 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 |
ListDbServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbServersResponseDbServer |
A pageable asynchronous sequence of DbServer resources. |
// 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 |
stringRequired. The parent value for database server in the following format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbServersResponseDbServer |
A pageable asynchronous sequence of DbServer resources. |
// 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;
ListDbSystemInitialStorageSizes(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizes(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizes(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemInitialStorageSize 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 (ListDbSystemInitialStorageSizesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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;
ListDbSystemInitialStorageSizes(ListDbSystemInitialStorageSizesRequest, CallSettings)
public virtual PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizes(ListDbSystemInitialStorageSizesRequest request, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbSystemInitialStorageSizesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbSystemInitialStorageSizesRequest request = new ListDbSystemInitialStorageSizesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizes(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemInitialStorageSize 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 (ListDbSystemInitialStorageSizesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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;
ListDbSystemInitialStorageSizes(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizes(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystemInitialStorageSize 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 (ListDbSystemInitialStorageSizesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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;
ListDbSystemInitialStorageSizesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable asynchronous sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemInitialStorageSize 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((ListDbSystemInitialStorageSizesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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;
ListDbSystemInitialStorageSizesAsync(ListDbSystemInitialStorageSizesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizesAsync(ListDbSystemInitialStorageSizesRequest request, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbSystemInitialStorageSizesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable asynchronous sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbSystemInitialStorageSizesRequest request = new ListDbSystemInitialStorageSizesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemInitialStorageSize 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((ListDbSystemInitialStorageSizesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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;
ListDbSystemInitialStorageSizesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> ListDbSystemInitialStorageSizesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystemInitialStorageSizes for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemInitialStorageSizesResponseDbSystemInitialStorageSize |
A pageable asynchronous sequence of DbSystemInitialStorageSize resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDbSystemInitialStorageSizesResponse, DbSystemInitialStorageSize> response = oracleDatabaseClient.ListDbSystemInitialStorageSizesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystemInitialStorageSize 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((ListDbSystemInitialStorageSizesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystemInitialStorageSize 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<DbSystemInitialStorageSize> 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 (DbSystemInitialStorageSize 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 |
LocationNameRequired. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable sequence of DbSystemShape resources. |
// 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 |
ListDbSystemShapesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable sequence of DbSystemShape resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbSystemShapesRequest request = new ListDbSystemShapesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// 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 |
stringRequired. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable sequence of DbSystemShape resources. |
// 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 |
LocationNameRequired. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable asynchronous sequence of DbSystemShape resources. |
// 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 |
ListDbSystemShapesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable asynchronous sequence of DbSystemShape resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbSystemShapesRequest request = new ListDbSystemShapesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// 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 |
stringRequired. The parent value for Database System Shapes in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemShapesResponseDbSystemShape |
A pageable asynchronous sequence of DbSystemShape resources. |
// 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;
ListDbSystems(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystems(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for DbSystems in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemsResponseDbSystem |
A pageable sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystems(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystem 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 (ListDbSystemsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbSystems(ListDbSystemsRequest, CallSettings)
public virtual PagedEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystems(ListDbSystemsRequest request, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbSystemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemsResponseDbSystem |
A pageable sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbSystemsRequest request = new ListDbSystemsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystems(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystem 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 (ListDbSystemsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbSystems(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystems(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for DbSystems in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbSystemsResponseDbSystem |
A pageable sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystems(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbSystem 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 (ListDbSystemsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbSystemsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystemsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for DbSystems in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemsResponseDbSystem |
A pageable asynchronous sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystemsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystem 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((ListDbSystemsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbSystemsAsync(ListDbSystemsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystemsAsync(ListDbSystemsRequest request, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbSystemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemsResponseDbSystem |
A pageable asynchronous sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbSystemsRequest request = new ListDbSystemsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystemsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystem 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((ListDbSystemsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbSystemsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> ListDbSystemsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the DbSystems for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for DbSystems in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbSystemsResponseDbSystem |
A pageable asynchronous sequence of DbSystem resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDbSystemsResponse, DbSystem> response = oracleDatabaseClient.ListDbSystemsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbSystem 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((ListDbSystemsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbSystem 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<DbSystem> 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 (DbSystem 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;
ListDbVersions(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the DbVersion resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbVersionsResponseDbVersion |
A pageable sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbVersion 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 (ListDbVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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;
ListDbVersions(ListDbVersionsRequest, CallSettings)
public virtual PagedEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersions(ListDbVersionsRequest request, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbVersionsResponseDbVersion |
A pageable sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListDbVersionsRequest request = new ListDbVersionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbVersion 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 (ListDbVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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;
ListDbVersions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the DbVersion resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDbVersionsResponseDbVersion |
A pageable sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DbVersion 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 (ListDbVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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;
ListDbVersionsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the DbVersion resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbVersionsResponseDbVersion |
A pageable asynchronous sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbVersion 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((ListDbVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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;
ListDbVersionsAsync(ListDbVersionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersionsAsync(ListDbVersionsRequest request, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDbVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbVersionsResponseDbVersion |
A pageable asynchronous sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListDbVersionsRequest request = new ListDbVersionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbVersion 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((ListDbVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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;
ListDbVersionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> ListDbVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List DbVersions for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the DbVersion resource with the format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDbVersionsResponseDbVersion |
A pageable asynchronous sequence of DbVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDbVersionsResponse, DbVersion> response = oracleDatabaseClient.ListDbVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DbVersion 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((ListDbVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DbVersion 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<DbVersion> 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 (DbVersion 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 |
LocationNameRequired. The parent value for the entitlement in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntitlementsResponseEntitlement |
A pageable sequence of Entitlement resources. |
// 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 |
ListEntitlementsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntitlementsResponseEntitlement |
A pageable sequence of Entitlement resources. |
// 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 |
stringRequired. The parent value for the entitlement in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEntitlementsResponseEntitlement |
A pageable sequence of Entitlement resources. |
// 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 |
LocationNameRequired. The parent value for the entitlement in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntitlementsResponseEntitlement |
A pageable asynchronous sequence of Entitlement resources. |
// 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 |
ListEntitlementsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntitlementsResponseEntitlement |
A pageable asynchronous sequence of Entitlement resources. |
// 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 |
stringRequired. The parent value for the entitlement in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEntitlementsResponseEntitlement |
A pageable asynchronous sequence of Entitlement resources. |
// 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;
ListExadbVmClusters(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for ExadbVmClusters in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClusters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExadbVmCluster 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 (ListExadbVmClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExadbVmClusters(ListExadbVmClustersRequest, CallSettings)
public virtual PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClusters(ListExadbVmClustersRequest request, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExadbVmClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListExadbVmClustersRequest request = new ListExadbVmClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClusters(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExadbVmCluster 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 (ListExadbVmClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExadbVmClusters(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for ExadbVmClusters in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClusters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExadbVmCluster 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 (ListExadbVmClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExadbVmClustersAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for ExadbVmClusters in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable asynchronous sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClustersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExadbVmCluster 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((ListExadbVmClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExadbVmClustersAsync(ListExadbVmClustersRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClustersAsync(ListExadbVmClustersRequest request, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExadbVmClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable asynchronous sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListExadbVmClustersRequest request = new ListExadbVmClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClustersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExadbVmCluster 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((ListExadbVmClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExadbVmClustersAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> ListExadbVmClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the Exadb (Exascale) VM Clusters for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for ExadbVmClusters in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExadbVmClustersResponseExadbVmCluster |
A pageable asynchronous sequence of ExadbVmCluster resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListExadbVmClustersResponse, ExadbVmCluster> response = oracleDatabaseClient.ListExadbVmClustersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExadbVmCluster 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((ListExadbVmClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExadbVmCluster 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<ExadbVmCluster> 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 (ExadbVmCluster 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;
ListExascaleDbStorageVaults(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaults(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaults(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExascaleDbStorageVault 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 (ListExascaleDbStorageVaultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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;
ListExascaleDbStorageVaults(ListExascaleDbStorageVaultsRequest, CallSettings)
public virtual PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaults(ListExascaleDbStorageVaultsRequest request, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExascaleDbStorageVaultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListExascaleDbStorageVaultsRequest request = new ListExascaleDbStorageVaultsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaults(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExascaleDbStorageVault 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 (ListExascaleDbStorageVaultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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;
ListExascaleDbStorageVaults(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaults(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaults(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExascaleDbStorageVault 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 (ListExascaleDbStorageVaultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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;
ListExascaleDbStorageVaultsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaultsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable asynchronous sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaultsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExascaleDbStorageVault 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((ListExascaleDbStorageVaultsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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;
ListExascaleDbStorageVaultsAsync(ListExascaleDbStorageVaultsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaultsAsync(ListExascaleDbStorageVaultsRequest request, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExascaleDbStorageVaultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable asynchronous sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListExascaleDbStorageVaultsRequest request = new ListExascaleDbStorageVaultsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaultsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExascaleDbStorageVault 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((ListExascaleDbStorageVaultsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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;
ListExascaleDbStorageVaultsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> ListExascaleDbStorageVaultsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ExascaleDB Storage Vaults for the given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for ExascaleDbStorageVault in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExascaleDbStorageVaultsResponseExascaleDbStorageVault |
A pageable asynchronous sequence of ExascaleDbStorageVault resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListExascaleDbStorageVaultsResponse, ExascaleDbStorageVault> response = oracleDatabaseClient.ListExascaleDbStorageVaultsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExascaleDbStorageVault 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((ListExascaleDbStorageVaultsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExascaleDbStorageVault 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<ExascaleDbStorageVault> 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 (ExascaleDbStorageVault 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 |
LocationNameRequired. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListGiVersionsResponseGiVersion |
A pageable sequence of GiVersion resources. |
// 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 |
ListGiVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListGiVersionsResponseGiVersion |
A pageable sequence of GiVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListGiVersionsRequest request = new ListGiVersionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// 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 |
stringRequired. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListGiVersionsResponseGiVersion |
A pageable sequence of GiVersion resources. |
// 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 |
LocationNameRequired. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListGiVersionsResponseGiVersion |
A pageable asynchronous sequence of GiVersion resources. |
// 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 |
ListGiVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListGiVersionsResponseGiVersion |
A pageable asynchronous sequence of GiVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListGiVersionsRequest request = new ListGiVersionsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// 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 |
stringRequired. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListGiVersionsResponseGiVersion |
A pageable asynchronous sequence of GiVersion resources. |
// 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;
ListMinorVersions(GiVersionName, string, int?, CallSettings)
public virtual PagedEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersions(GiVersionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
parent |
GiVersionNameRequired. The parent value for the MinorVersion resource with the format: projects/{project}/locations/{location}/giVersions/{gi_version} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMinorVersionsResponseMinorVersion |
A pageable sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
GiVersionName parent = GiVersionName.FromProjectLocationGiVersion("[PROJECT]", "[LOCATION]", "[GI_VERSION]");
// Make the request
PagedEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MinorVersion 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 (ListMinorVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListMinorVersions(ListMinorVersionsRequest, CallSettings)
public virtual PagedEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersions(ListMinorVersionsRequest request, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMinorVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMinorVersionsResponseMinorVersion |
A pageable sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListMinorVersionsRequest request = new ListMinorVersionsRequest
{
ParentAsGiVersionName = GiVersionName.FromProjectLocationGiVersion("[PROJECT]", "[LOCATION]", "[GI_VERSION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MinorVersion 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 (ListMinorVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListMinorVersions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the MinorVersion resource with the format: projects/{project}/locations/{location}/giVersions/{gi_version} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMinorVersionsResponseMinorVersion |
A pageable sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/giVersions/[GI_VERSION]";
// Make the request
PagedEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MinorVersion 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 (ListMinorVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListMinorVersionsAsync(GiVersionName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersionsAsync(GiVersionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
parent |
GiVersionNameRequired. The parent value for the MinorVersion resource with the format: projects/{project}/locations/{location}/giVersions/{gi_version} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMinorVersionsResponseMinorVersion |
A pageable asynchronous sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
GiVersionName parent = GiVersionName.FromProjectLocationGiVersion("[PROJECT]", "[LOCATION]", "[GI_VERSION]");
// Make the request
PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MinorVersion 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((ListMinorVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListMinorVersionsAsync(ListMinorVersionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersionsAsync(ListMinorVersionsRequest request, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMinorVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMinorVersionsResponseMinorVersion |
A pageable asynchronous sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListMinorVersionsRequest request = new ListMinorVersionsRequest
{
ParentAsGiVersionName = GiVersionName.FromProjectLocationGiVersion("[PROJECT]", "[LOCATION]", "[GI_VERSION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MinorVersion 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((ListMinorVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListMinorVersionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> ListMinorVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the valid minor versions for the given project, location, gi version and shape family.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the MinorVersion resource with the format: projects/{project}/locations/{location}/giVersions/{gi_version} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMinorVersionsResponseMinorVersion |
A pageable asynchronous sequence of MinorVersion resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/giVersions/[GI_VERSION]";
// Make the request
PagedAsyncEnumerable<ListMinorVersionsResponse, MinorVersion> response = oracleDatabaseClient.ListMinorVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MinorVersion 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((ListMinorVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MinorVersion 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<MinorVersion> 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 (MinorVersion 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;
ListOdbNetworks(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworks(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbNetworksResponseOdbNetwork |
A pageable sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbNetwork 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 (ListOdbNetworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbNetworks(ListOdbNetworksRequest, CallSettings)
public virtual PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworks(ListOdbNetworksRequest request, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOdbNetworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbNetworksResponseOdbNetwork |
A pageable sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListOdbNetworksRequest request = new ListOdbNetworksRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbNetwork 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 (ListOdbNetworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbNetworks(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbNetworksResponseOdbNetwork |
A pageable sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbNetwork 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 (ListOdbNetworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbNetworksAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworksAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbNetworksResponseOdbNetwork |
A pageable asynchronous sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbNetwork 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((ListOdbNetworksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbNetworksAsync(ListOdbNetworksRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworksAsync(ListOdbNetworksRequest request, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOdbNetworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbNetworksResponseOdbNetwork |
A pageable asynchronous sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListOdbNetworksRequest request = new ListOdbNetworksRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbNetwork 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((ListOdbNetworksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbNetworksAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> ListOdbNetworksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists the ODB Networks in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbNetworksResponseOdbNetwork |
A pageable asynchronous sequence of OdbNetwork resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListOdbNetworksResponse, OdbNetwork> response = oracleDatabaseClient.ListOdbNetworksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbNetwork 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((ListOdbNetworksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbNetwork 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<OdbNetwork> 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 (OdbNetwork 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;
ListOdbSubnets(ListOdbSubnetsRequest, CallSettings)
public virtual PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnets(ListOdbSubnetsRequest request, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOdbSubnetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListOdbSubnetsRequest request = new ListOdbSubnetsRequest
{
ParentAsOdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnets(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbSubnet 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 (ListOdbSubnetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListOdbSubnets(OdbNetworkName, string, int?, CallSettings)
public virtual PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnets(OdbNetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
OdbNetworkNameRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
OdbNetworkName parent = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbSubnet 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 (ListOdbSubnetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListOdbSubnets(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
PagedEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (OdbSubnet 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 (ListOdbSubnetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListOdbSubnetsAsync(ListOdbSubnetsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnetsAsync(ListOdbSubnetsRequest request, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOdbSubnetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable asynchronous sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListOdbSubnetsRequest request = new ListOdbSubnetsRequest
{
ParentAsOdbNetworkName = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnetsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbSubnet 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((ListOdbSubnetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListOdbSubnetsAsync(OdbNetworkName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnetsAsync(OdbNetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
OdbNetworkNameRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable asynchronous sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
OdbNetworkName parent = OdbNetworkName.FromProjectLocationOdbNetwork("[PROJECT]", "[LOCATION]", "[ODB_NETWORK]");
// Make the request
PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbSubnet 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((ListOdbSubnetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListOdbSubnetsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> ListOdbSubnetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the ODB Subnets in a given ODB Network.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListOdbSubnetsResponseOdbSubnet |
A pageable asynchronous sequence of OdbSubnet resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/odbNetworks/[ODB_NETWORK]";
// Make the request
PagedAsyncEnumerable<ListOdbSubnetsResponse, OdbSubnet> response = oracleDatabaseClient.ListOdbSubnetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((OdbSubnet 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((ListOdbSubnetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (OdbSubnet 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<OdbSubnet> 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 (OdbSubnet 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;
ListPluggableDatabases(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabases(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabases(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (PluggableDatabase 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 (ListPluggableDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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;
ListPluggableDatabases(ListPluggableDatabasesRequest, CallSettings)
public virtual PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabases(ListPluggableDatabasesRequest request, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPluggableDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ListPluggableDatabasesRequest request = new ListPluggableDatabasesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabases(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (PluggableDatabase 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 (ListPluggableDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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;
ListPluggableDatabases(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabases(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabases(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (PluggableDatabase 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 (ListPluggableDatabasesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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;
ListPluggableDatabasesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabasesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable asynchronous sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabasesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PluggableDatabase 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((ListPluggableDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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;
ListPluggableDatabasesAsync(ListPluggableDatabasesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabasesAsync(ListPluggableDatabasesRequest request, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPluggableDatabasesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable asynchronous sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ListPluggableDatabasesRequest request = new ListPluggableDatabasesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabasesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PluggableDatabase 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((ListPluggableDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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;
ListPluggableDatabasesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> ListPluggableDatabasesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all the PluggableDatabases for the given project, location and Container Database.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPluggableDatabasesResponsePluggableDatabase |
A pageable asynchronous sequence of PluggableDatabase resources. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListPluggableDatabasesResponse, PluggableDatabase> response = oracleDatabaseClient.ListPluggableDatabasesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((PluggableDatabase 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((ListPluggableDatabasesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (PluggableDatabase 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<PluggableDatabase> 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 (PluggableDatabase 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCloudVmClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateDbSystem(string, CallSettings)
public virtual Operation<DbSystem, OperationMetadata> PollOnceCreateDbSystem(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateDbSystem.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDbSystemOperationMetadata |
The result of polling the operation. |
PollOnceCreateDbSystemAsync(string, CallSettings)
public virtual Task<Operation<DbSystem, OperationMetadata>> PollOnceCreateDbSystemAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateDbSystem.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDbSystemOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateExadbVmCluster(string, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> PollOnceCreateExadbVmCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateExadbVmCluster
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The result of polling the operation. |
PollOnceCreateExadbVmClusterAsync(string, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> PollOnceCreateExadbVmClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateExadbVmCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateExascaleDbStorageVault(string, CallSettings)
public virtual Operation<ExascaleDbStorageVault, OperationMetadata> PollOnceCreateExascaleDbStorageVault(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateExascaleDbStorageVault.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExascaleDbStorageVaultOperationMetadata |
The result of polling the operation. |
PollOnceCreateExascaleDbStorageVaultAsync(string, CallSettings)
public virtual Task<Operation<ExascaleDbStorageVault, OperationMetadata>> PollOnceCreateExascaleDbStorageVaultAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateExascaleDbStorageVault.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExascaleDbStorageVaultOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateOdbNetwork(string, CallSettings)
public virtual Operation<OdbNetwork, OperationMetadata> PollOnceCreateOdbNetwork(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateOdbNetwork.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbNetworkOperationMetadata |
The result of polling the operation. |
PollOnceCreateOdbNetworkAsync(string, CallSettings)
public virtual Task<Operation<OdbNetwork, OperationMetadata>> PollOnceCreateOdbNetworkAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateOdbNetwork.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbNetworkOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateOdbSubnet(string, CallSettings)
public virtual Operation<OdbSubnet, OperationMetadata> PollOnceCreateOdbSubnet(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateOdbSubnet.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOdbSubnetOperationMetadata |
The result of polling the operation. |
PollOnceCreateOdbSubnetAsync(string, CallSettings)
public virtual Task<Operation<OdbSubnet, OperationMetadata>> PollOnceCreateOdbSubnetAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateOdbSubnet.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOdbSubnetOperationMetadata |
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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteDbSystem(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDbSystem(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteDbSystem.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteDbSystemAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDbSystemAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteDbSystem.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteExadbVmCluster(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteExadbVmCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteExadbVmCluster
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteExadbVmClusterAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteExadbVmClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteExadbVmCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteExascaleDbStorageVault(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteExascaleDbStorageVault(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteExascaleDbStorageVault.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteExascaleDbStorageVaultAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteExascaleDbStorageVaultAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteExascaleDbStorageVault.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteOdbNetwork(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteOdbNetwork(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteOdbNetwork.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteOdbNetworkAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteOdbNetworkAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteOdbNetwork.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteOdbSubnet(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteOdbSubnet(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteOdbSubnet.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteOdbSubnetAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteOdbSubnetAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteOdbSubnet.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceFailoverAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceFailoverAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
FailoverAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceFailoverAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceFailoverAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
FailoverAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceRemoveVirtualMachineExadbVmCluster(string, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> PollOnceRemoveVirtualMachineExadbVmCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
RemoveVirtualMachineExadbVmCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The result of polling the operation. |
PollOnceRemoveVirtualMachineExadbVmClusterAsync(string, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> PollOnceRemoveVirtualMachineExadbVmClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
RemoveVirtualMachineExadbVmCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceRestartAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceRestartAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
RestartAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceRestartAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceRestartAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
RestartAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf 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 |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceStartAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceStartAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
StartAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceStartAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceStartAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
StartAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceStopAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceStopAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
StopAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceStopAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceStopAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
StopAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceSwitchoverAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceSwitchoverAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
SwitchoverAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceSwitchoverAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceSwitchoverAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
SwitchoverAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> PollOnceUpdateAutonomousDatabase(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The result of polling the operation. |
PollOnceUpdateAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> PollOnceUpdateAutonomousDatabaseAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateAutonomousDatabase.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateExadbVmCluster(string, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> PollOnceUpdateExadbVmCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UpdateExadbVmCluster
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The result of polling the operation. |
PollOnceUpdateExadbVmClusterAsync(string, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> PollOnceUpdateExadbVmClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateExadbVmCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A task representing the result of polling the operation. |
RemoveVirtualMachineExadbVmCluster(ExadbVmClusterName, IEnumerable<string>, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> RemoveVirtualMachineExadbVmCluster(ExadbVmClusterName name, IEnumerable<string> hostnames, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.RemoveVirtualMachineExadbVmCluster(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmCluster(RemoveVirtualMachineExadbVmClusterRequest, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> RemoveVirtualMachineExadbVmCluster(RemoveVirtualMachineExadbVmClusterRequest request, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveVirtualMachineExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
RemoveVirtualMachineExadbVmClusterRequest request = new RemoveVirtualMachineExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
Hostnames = { "", },
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.RemoveVirtualMachineExadbVmCluster(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmCluster(string, IEnumerable<string>, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> RemoveVirtualMachineExadbVmCluster(string name, IEnumerable<string> hostnames, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.RemoveVirtualMachineExadbVmCluster(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(ExadbVmClusterName, IEnumerable<string>, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(ExadbVmClusterName name, IEnumerable<string> hostnames, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(ExadbVmClusterName, IEnumerable<string>, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(ExadbVmClusterName name, IEnumerable<string> hostnames, CancellationToken cancellationToken)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
ExadbVmClusterNameRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmClusterName name = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]");
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(RemoveVirtualMachineExadbVmClusterRequest, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(RemoveVirtualMachineExadbVmClusterRequest request, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveVirtualMachineExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RemoveVirtualMachineExadbVmClusterRequest request = new RemoveVirtualMachineExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
Hostnames = { "", },
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(RemoveVirtualMachineExadbVmClusterRequest, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(RemoveVirtualMachineExadbVmClusterRequest request, CancellationToken cancellationToken)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveVirtualMachineExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RemoveVirtualMachineExadbVmClusterRequest request = new RemoveVirtualMachineExadbVmClusterRequest
{
ExadbVmClusterName = ExadbVmClusterName.FromProjectLocationExadbVmCluster("[PROJECT]", "[LOCATION]", "[EXADB_VM_CLUSTER]"),
RequestId = "",
Hostnames = { "", },
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(string, IEnumerable<string>, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(string name, IEnumerable<string> hostnames, CallSettings callSettings = null)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RemoveVirtualMachineExadbVmClusterAsync(string, IEnumerable<string>, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> RemoveVirtualMachineExadbVmClusterAsync(string name, IEnumerable<string> hostnames, CancellationToken cancellationToken)Removes virtual machines from an existing exadb vm cluster.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ExadbVmCluster in the following format: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. |
hostnames |
IEnumerablestringRequired. The list of host names of db nodes to be removed from the ExadbVmCluster. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/exadbVmClusters/[EXADB_VM_CLUSTER]";
IEnumerable<string> hostnames = new string[] { "", };
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.RemoveVirtualMachineExadbVmClusterAsync(name, hostnames);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceRemoveVirtualMachineExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
RestartAutonomousDatabase(AutonomousDatabaseName, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> RestartAutonomousDatabase(AutonomousDatabaseName name, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestartAutonomousDatabase(name);
// 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.PollOnceRestartAutonomousDatabase(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;
}
RestartAutonomousDatabase(RestartAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> RestartAutonomousDatabase(RestartAutonomousDatabaseRequest request, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
RestartAutonomousDatabaseRequest request = new RestartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestartAutonomousDatabase(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.PollOnceRestartAutonomousDatabase(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;
}
RestartAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> RestartAutonomousDatabase(string name, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.RestartAutonomousDatabase(name);
// 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.PollOnceRestartAutonomousDatabase(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;
}
RestartAutonomousDatabaseAsync(AutonomousDatabaseName, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(AutonomousDatabaseName name, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(name);
// 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.PollOnceRestartAutonomousDatabaseAsync(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;
}
RestartAutonomousDatabaseAsync(AutonomousDatabaseName, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(AutonomousDatabaseName name, CancellationToken cancellationToken)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(name);
// 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.PollOnceRestartAutonomousDatabaseAsync(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;
}
RestartAutonomousDatabaseAsync(RestartAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(RestartAutonomousDatabaseRequest request, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RestartAutonomousDatabaseRequest request = new RestartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(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.PollOnceRestartAutonomousDatabaseAsync(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;
}
RestartAutonomousDatabaseAsync(RestartAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(RestartAutonomousDatabaseRequest request, CancellationToken cancellationToken)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
RestartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
RestartAutonomousDatabaseRequest request = new RestartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(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.PollOnceRestartAutonomousDatabaseAsync(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;
}
RestartAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(string name, CallSettings callSettings = null)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(name);
// 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.PollOnceRestartAutonomousDatabaseAsync(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;
}
RestartAutonomousDatabaseAsync(string, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> RestartAutonomousDatabaseAsync(string name, CancellationToken cancellationToken)Restarts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.RestartAutonomousDatabaseAsync(name);
// 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.PollOnceRestartAutonomousDatabaseAsync(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(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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
RestoreAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
RestoreAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
RestoreAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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 |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
restoreTime |
TimestampRequired. The time and date to restore the database to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// 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. |
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.
StartAutonomousDatabase(AutonomousDatabaseName, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StartAutonomousDatabase(AutonomousDatabaseName name, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StartAutonomousDatabase(name);
// 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.PollOnceStartAutonomousDatabase(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;
}
StartAutonomousDatabase(StartAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StartAutonomousDatabase(StartAutonomousDatabaseRequest request, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
StartAutonomousDatabaseRequest request = new StartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StartAutonomousDatabase(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.PollOnceStartAutonomousDatabase(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;
}
StartAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StartAutonomousDatabase(string name, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StartAutonomousDatabase(name);
// 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.PollOnceStartAutonomousDatabase(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;
}
StartAutonomousDatabaseAsync(AutonomousDatabaseName, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(AutonomousDatabaseName name, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(name);
// 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.PollOnceStartAutonomousDatabaseAsync(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;
}
StartAutonomousDatabaseAsync(AutonomousDatabaseName, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(AutonomousDatabaseName name, CancellationToken cancellationToken)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(name);
// 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.PollOnceStartAutonomousDatabaseAsync(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;
}
StartAutonomousDatabaseAsync(StartAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(StartAutonomousDatabaseRequest request, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
StartAutonomousDatabaseRequest request = new StartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(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.PollOnceStartAutonomousDatabaseAsync(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;
}
StartAutonomousDatabaseAsync(StartAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(StartAutonomousDatabaseRequest request, CancellationToken cancellationToken)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StartAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
StartAutonomousDatabaseRequest request = new StartAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(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.PollOnceStartAutonomousDatabaseAsync(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;
}
StartAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(string name, CallSettings callSettings = null)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(name);
// 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.PollOnceStartAutonomousDatabaseAsync(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;
}
StartAutonomousDatabaseAsync(string, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StartAutonomousDatabaseAsync(string name, CancellationToken cancellationToken)Starts an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StartAutonomousDatabaseAsync(name);
// 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.PollOnceStartAutonomousDatabaseAsync(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;
}
StopAutonomousDatabase(AutonomousDatabaseName, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StopAutonomousDatabase(AutonomousDatabaseName name, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StopAutonomousDatabase(name);
// 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.PollOnceStopAutonomousDatabase(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;
}
StopAutonomousDatabase(StopAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StopAutonomousDatabase(StopAutonomousDatabaseRequest request, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StopAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
StopAutonomousDatabaseRequest request = new StopAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StopAutonomousDatabase(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.PollOnceStopAutonomousDatabase(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;
}
StopAutonomousDatabase(string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> StopAutonomousDatabase(string name, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.StopAutonomousDatabase(name);
// 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.PollOnceStopAutonomousDatabase(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;
}
StopAutonomousDatabaseAsync(AutonomousDatabaseName, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(AutonomousDatabaseName name, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(name);
// 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.PollOnceStopAutonomousDatabaseAsync(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;
}
StopAutonomousDatabaseAsync(AutonomousDatabaseName, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(AutonomousDatabaseName name, CancellationToken cancellationToken)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(name);
// 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.PollOnceStopAutonomousDatabaseAsync(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;
}
StopAutonomousDatabaseAsync(StopAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(StopAutonomousDatabaseRequest request, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StopAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
StopAutonomousDatabaseRequest request = new StopAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(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.PollOnceStopAutonomousDatabaseAsync(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;
}
StopAutonomousDatabaseAsync(StopAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(StopAutonomousDatabaseRequest request, CancellationToken cancellationToken)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
StopAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
StopAutonomousDatabaseRequest request = new StopAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(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.PollOnceStopAutonomousDatabaseAsync(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;
}
StopAutonomousDatabaseAsync(string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(string name, CallSettings callSettings = null)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(name);
// 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.PollOnceStopAutonomousDatabaseAsync(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;
}
StopAutonomousDatabaseAsync(string, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> StopAutonomousDatabaseAsync(string name, CancellationToken cancellationToken)Stops an Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.StopAutonomousDatabaseAsync(name);
// 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.PollOnceStopAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabase(AutonomousDatabaseName, AutonomousDatabaseName, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> SwitchoverAutonomousDatabase(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to switch over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.SwitchoverAutonomousDatabase(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabase(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;
}
SwitchoverAutonomousDatabase(SwitchoverAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> SwitchoverAutonomousDatabase(SwitchoverAutonomousDatabaseRequest request, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
SwitchoverAutonomousDatabaseRequest request = new SwitchoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.SwitchoverAutonomousDatabase(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.PollOnceSwitchoverAutonomousDatabase(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;
}
SwitchoverAutonomousDatabase(string, string, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> SwitchoverAutonomousDatabase(string name, string peerAutonomousDatabase, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to switch over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.SwitchoverAutonomousDatabase(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabase(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;
}
SwitchoverAutonomousDatabaseAsync(AutonomousDatabaseName, AutonomousDatabaseName, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to switch over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabaseAsync(AutonomousDatabaseName, AutonomousDatabaseName, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(AutonomousDatabaseName name, AutonomousDatabaseName peerAutonomousDatabase, CancellationToken cancellationToken)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
AutonomousDatabaseNameRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
AutonomousDatabaseNameRequired. The peer database name to switch over to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabaseName name = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
AutonomousDatabaseName peerAutonomousDatabase = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]");
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabaseAsync(SwitchoverAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(SwitchoverAutonomousDatabaseRequest request, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
SwitchoverAutonomousDatabaseRequest request = new SwitchoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabaseAsync(SwitchoverAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(SwitchoverAutonomousDatabaseRequest request, CancellationToken cancellationToken)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchoverAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
SwitchoverAutonomousDatabaseRequest request = new SwitchoverAutonomousDatabaseRequest
{
AutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
PeerAutonomousDatabaseAsAutonomousDatabaseName = AutonomousDatabaseName.FromProjectLocationAutonomousDatabase("[PROJECT]", "[LOCATION]", "[AUTONOMOUS_DATABASE]"),
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabaseAsync(string, string, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(string name, string peerAutonomousDatabase, CallSettings callSettings = null)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to switch over to. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
SwitchoverAutonomousDatabaseAsync(string, string, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> SwitchoverAutonomousDatabaseAsync(string name, string peerAutonomousDatabase, CancellationToken cancellationToken)Initiates a switchover of specified autonomous database to the associated peer database.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. |
peerAutonomousDatabase |
stringRequired. The peer database name to switch over to. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
string peerAutonomousDatabase = "projects/[PROJECT]/locations/[LOCATION]/autonomousDatabases/[AUTONOMOUS_DATABASE]";
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.SwitchoverAutonomousDatabaseAsync(name, peerAutonomousDatabase);
// 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.PollOnceSwitchoverAutonomousDatabaseAsync(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;
}
UpdateAutonomousDatabase(AutonomousDatabase, FieldMask, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> UpdateAutonomousDatabase(AutonomousDatabase autonomousDatabase, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
autonomousDatabase |
AutonomousDatabaseRequired. The resource being updated |
updateMask |
FieldMaskOptional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.UpdateAutonomousDatabase(autonomousDatabase, updateMask);
// 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.PollOnceUpdateAutonomousDatabase(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;
}
UpdateAutonomousDatabase(UpdateAutonomousDatabaseRequest, CallSettings)
public virtual Operation<AutonomousDatabase, OperationMetadata> UpdateAutonomousDatabase(UpdateAutonomousDatabaseRequest request, CallSettings callSettings = null)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAutonomousDatabaseOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
UpdateAutonomousDatabaseRequest request = new UpdateAutonomousDatabaseRequest
{
UpdateMask = new FieldMask(),
AutonomousDatabase = new AutonomousDatabase(),
RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = oracleDatabaseClient.UpdateAutonomousDatabase(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.PollOnceUpdateAutonomousDatabase(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;
}
UpdateAutonomousDatabaseAsync(AutonomousDatabase, FieldMask, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> UpdateAutonomousDatabaseAsync(AutonomousDatabase autonomousDatabase, FieldMask updateMask, CallSettings callSettings = null)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
autonomousDatabase |
AutonomousDatabaseRequired. The resource being updated |
updateMask |
FieldMaskOptional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.UpdateAutonomousDatabaseAsync(autonomousDatabase, updateMask);
// 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.PollOnceUpdateAutonomousDatabaseAsync(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;
}
UpdateAutonomousDatabaseAsync(AutonomousDatabase, FieldMask, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> UpdateAutonomousDatabaseAsync(AutonomousDatabase autonomousDatabase, FieldMask updateMask, CancellationToken cancellationToken)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
autonomousDatabase |
AutonomousDatabaseRequired. The resource being updated |
updateMask |
FieldMaskOptional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
AutonomousDatabase autonomousDatabase = new AutonomousDatabase();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.UpdateAutonomousDatabaseAsync(autonomousDatabase, updateMask);
// 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.PollOnceUpdateAutonomousDatabaseAsync(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;
}
UpdateAutonomousDatabaseAsync(UpdateAutonomousDatabaseRequest, CallSettings)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> UpdateAutonomousDatabaseAsync(UpdateAutonomousDatabaseRequest request, CallSettings callSettings = null)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
UpdateAutonomousDatabaseRequest request = new UpdateAutonomousDatabaseRequest
{
UpdateMask = new FieldMask(),
AutonomousDatabase = new AutonomousDatabase(),
RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.UpdateAutonomousDatabaseAsync(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.PollOnceUpdateAutonomousDatabaseAsync(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;
}
UpdateAutonomousDatabaseAsync(UpdateAutonomousDatabaseRequest, CancellationToken)
public virtual Task<Operation<AutonomousDatabase, OperationMetadata>> UpdateAutonomousDatabaseAsync(UpdateAutonomousDatabaseRequest request, CancellationToken cancellationToken)Updates the parameters of a single Autonomous Database.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAutonomousDatabaseRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAutonomousDatabaseOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
UpdateAutonomousDatabaseRequest request = new UpdateAutonomousDatabaseRequest
{
UpdateMask = new FieldMask(),
AutonomousDatabase = new AutonomousDatabase(),
RequestId = "",
};
// Make the request
Operation<AutonomousDatabase, OperationMetadata> response = await oracleDatabaseClient.UpdateAutonomousDatabaseAsync(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.PollOnceUpdateAutonomousDatabaseAsync(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;
}
UpdateExadbVmCluster(ExadbVmCluster, FieldMask, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> UpdateExadbVmCluster(ExadbVmCluster exadbVmCluster, FieldMask updateMask, CallSettings callSettings = null)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
exadbVmCluster |
ExadbVmClusterRequired. The resource being updated. |
updateMask |
FieldMaskOptional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.UpdateExadbVmCluster(exadbVmCluster, updateMask);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceUpdateExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
UpdateExadbVmCluster(UpdateExadbVmClusterRequest, CallSettings)
public virtual Operation<ExadbVmCluster, OperationMetadata> UpdateExadbVmCluster(UpdateExadbVmClusterRequest request, CallSettings callSettings = null)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExadbVmClusterOperationMetadata |
The RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = OracleDatabaseClient.Create();
// Initialize request argument(s)
UpdateExadbVmClusterRequest request = new UpdateExadbVmClusterRequest
{
UpdateMask = new FieldMask(),
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = oracleDatabaseClient.UpdateExadbVmCluster(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = oracleDatabaseClient.PollOnceUpdateExadbVmCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
UpdateExadbVmClusterAsync(ExadbVmCluster, FieldMask, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> UpdateExadbVmClusterAsync(ExadbVmCluster exadbVmCluster, FieldMask updateMask, CallSettings callSettings = null)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
exadbVmCluster |
ExadbVmClusterRequired. The resource being updated. |
updateMask |
FieldMaskOptional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.UpdateExadbVmClusterAsync(exadbVmCluster, updateMask);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceUpdateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
UpdateExadbVmClusterAsync(ExadbVmCluster, FieldMask, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> UpdateExadbVmClusterAsync(ExadbVmCluster exadbVmCluster, FieldMask updateMask, CancellationToken cancellationToken)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
exadbVmCluster |
ExadbVmClusterRequired. The resource being updated. |
updateMask |
FieldMaskOptional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
ExadbVmCluster exadbVmCluster = new ExadbVmCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.UpdateExadbVmClusterAsync(exadbVmCluster, updateMask);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceUpdateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
UpdateExadbVmClusterAsync(UpdateExadbVmClusterRequest, CallSettings)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> UpdateExadbVmClusterAsync(UpdateExadbVmClusterRequest request, CallSettings callSettings = null)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
UpdateExadbVmClusterRequest request = new UpdateExadbVmClusterRequest
{
UpdateMask = new FieldMask(),
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.UpdateExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceUpdateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}
UpdateExadbVmClusterAsync(UpdateExadbVmClusterRequest, CancellationToken)
public virtual Task<Operation<ExadbVmCluster, OperationMetadata>> UpdateExadbVmClusterAsync(UpdateExadbVmClusterRequest request, CancellationToken cancellationToken)Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExadbVmClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExadbVmClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
OracleDatabaseClient oracleDatabaseClient = await OracleDatabaseClient.CreateAsync();
// Initialize request argument(s)
UpdateExadbVmClusterRequest request = new UpdateExadbVmClusterRequest
{
UpdateMask = new FieldMask(),
ExadbVmCluster = new ExadbVmCluster(),
RequestId = "",
};
// Make the request
Operation<ExadbVmCluster, OperationMetadata> response = await oracleDatabaseClient.UpdateExadbVmClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExadbVmCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExadbVmCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExadbVmCluster, OperationMetadata> retrievedResponse = await oracleDatabaseClient.PollOnceUpdateExadbVmClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExadbVmCluster retrievedResult = retrievedResponse.Result;
}