public sealed class BareMetalSolutionClientImpl : BareMetalSolutionClient
Reference documentation and code samples for the Bare Metal Solution v2 API class BareMetalSolutionClientImpl.
BareMetalSolution client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Remarks
Performs management operations on Bare Metal Solution servers.
The baremetalsolution.googleapis.com
service provides management
capabilities for Bare Metal Solution servers. To access the API methods, you
must assign Bare Metal Solution IAM roles containing the desired permissions
to your staff in your Google Cloud project. You must also enable the Bare
Metal Solution API. Once enabled, the methods act
upon specific servers in your Bare Metal Solution environment.
Constructors
BareMetalSolutionClientImpl(BareMetalSolutionClient, BareMetalSolutionSettings, ILogger)
public BareMetalSolutionClientImpl(BareMetalSolution.BareMetalSolutionClient grpcClient, BareMetalSolutionSettings settings, ILogger logger)
Constructs a client wrapper for the BareMetalSolution service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | BareMetalSolutionBareMetalSolutionClient The underlying gRPC client. |
settings | BareMetalSolutionSettings The base BareMetalSolutionSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateNfsShareOperationsClient
public override OperationsClient CreateNfsShareOperationsClient { get; }
The long-running operations client for CreateNfsShare
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteNfsShareOperationsClient
public override OperationsClient DeleteNfsShareOperationsClient { get; }
The long-running operations client for DeleteNfsShare
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DetachLunOperationsClient
public override OperationsClient DetachLunOperationsClient { get; }
The long-running operations client for DetachLun
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DisableInteractiveSerialConsoleOperationsClient
public override OperationsClient DisableInteractiveSerialConsoleOperationsClient { get; }
The long-running operations client for DisableInteractiveSerialConsole
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
EnableInteractiveSerialConsoleOperationsClient
public override OperationsClient EnableInteractiveSerialConsoleOperationsClient { get; }
The long-running operations client for EnableInteractiveSerialConsole
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
EvictLunOperationsClient
public override OperationsClient EvictLunOperationsClient { get; }
The long-running operations client for EvictLun
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
EvictVolumeOperationsClient
public override OperationsClient EvictVolumeOperationsClient { get; }
The long-running operations client for EvictVolume
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override BareMetalSolution.BareMetalSolutionClient GrpcClient { get; }
The underlying gRPC BareMetalSolution client
Property Value | |
---|---|
Type | Description |
BareMetalSolutionBareMetalSolutionClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
ResetInstanceOperationsClient
public override OperationsClient ResetInstanceOperationsClient { get; }
The long-running operations client for ResetInstance
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ResizeVolumeOperationsClient
public override OperationsClient ResizeVolumeOperationsClient { get; }
The long-running operations client for ResizeVolume
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
RestoreVolumeSnapshotOperationsClient
public override OperationsClient RestoreVolumeSnapshotOperationsClient { get; }
The long-running operations client for RestoreVolumeSnapshot
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
StartInstanceOperationsClient
public override OperationsClient StartInstanceOperationsClient { get; }
The long-running operations client for StartInstance
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
StopInstanceOperationsClient
public override OperationsClient StopInstanceOperationsClient { get; }
The long-running operations client for StopInstance
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateInstanceOperationsClient
public override OperationsClient UpdateInstanceOperationsClient { get; }
The long-running operations client for UpdateInstance
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateNetworkOperationsClient
public override OperationsClient UpdateNetworkOperationsClient { get; }
The long-running operations client for UpdateNetwork
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateNfsShareOperationsClient
public override OperationsClient UpdateNfsShareOperationsClient { get; }
The long-running operations client for UpdateNfsShare
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateVolumeOperationsClient
public override OperationsClient UpdateVolumeOperationsClient { get; }
The long-running operations client for UpdateVolume
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateNfsShare(CreateNfsShareRequest, CallSettings)
public override Operation<NfsShare, OperationMetadata> CreateNfsShare(CreateNfsShareRequest request, CallSettings callSettings = null)
Create an NFS share.
Parameters | |
---|---|
Name | Description |
request | CreateNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationNfsShareOperationMetadata | The RPC response. |
CreateNfsShareAsync(CreateNfsShareRequest, CallSettings)
public override Task<Operation<NfsShare, OperationMetadata>> CreateNfsShareAsync(CreateNfsShareRequest request, CallSettings callSettings = null)
Create an NFS share.
Parameters | |
---|---|
Name | Description |
request | CreateNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationNfsShareOperationMetadata | A Task containing the RPC response. |
CreateProvisioningConfig(CreateProvisioningConfigRequest, CallSettings)
public override ProvisioningConfig CreateProvisioningConfig(CreateProvisioningConfigRequest request, CallSettings callSettings = null)
Create new ProvisioningConfig.
Parameters | |
---|---|
Name | Description |
request | CreateProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ProvisioningConfig | The RPC response. |
CreateProvisioningConfigAsync(CreateProvisioningConfigRequest, CallSettings)
public override Task<ProvisioningConfig> CreateProvisioningConfigAsync(CreateProvisioningConfigRequest request, CallSettings callSettings = null)
Create new ProvisioningConfig.
Parameters | |
---|---|
Name | Description |
request | CreateProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskProvisioningConfig | A Task containing the RPC response. |
CreateSSHKey(CreateSSHKeyRequest, CallSettings)
public override SSHKey CreateSSHKey(CreateSSHKeyRequest request, CallSettings callSettings = null)
Register a public SSH key in the specified project for use with the interactive serial console feature.
Parameters | |
---|---|
Name | Description |
request | CreateSSHKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SSHKey | The RPC response. |
CreateSSHKeyAsync(CreateSSHKeyRequest, CallSettings)
public override Task<SSHKey> CreateSSHKeyAsync(CreateSSHKeyRequest request, CallSettings callSettings = null)
Register a public SSH key in the specified project for use with the interactive serial console feature.
Parameters | |
---|---|
Name | Description |
request | CreateSSHKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSSHKey | A Task containing the RPC response. |
CreateVolumeSnapshot(CreateVolumeSnapshotRequest, CallSettings)
public override VolumeSnapshot CreateVolumeSnapshot(CreateVolumeSnapshotRequest request, CallSettings callSettings = null)
Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | CreateVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VolumeSnapshot | The RPC response. |
CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest, CallSettings)
public override Task<VolumeSnapshot> CreateVolumeSnapshotAsync(CreateVolumeSnapshotRequest request, CallSettings callSettings = null)
Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | CreateVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskVolumeSnapshot | A Task containing the RPC response. |
DeleteNfsShare(DeleteNfsShareRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteNfsShare(DeleteNfsShareRequest request, CallSettings callSettings = null)
Delete an NFS share. The underlying volume is automatically deleted.
Parameters | |
---|---|
Name | Description |
request | DeleteNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
DeleteNfsShareAsync(DeleteNfsShareRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteNfsShareAsync(DeleteNfsShareRequest request, CallSettings callSettings = null)
Delete an NFS share. The underlying volume is automatically deleted.
Parameters | |
---|---|
Name | Description |
request | DeleteNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
DeleteSSHKey(DeleteSSHKeyRequest, CallSettings)
public override void DeleteSSHKey(DeleteSSHKeyRequest request, CallSettings callSettings = null)
Deletes a public SSH key registered in the specified project.
Parameters | |
---|---|
Name | Description |
request | DeleteSSHKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteSSHKeyAsync(DeleteSSHKeyRequest, CallSettings)
public override Task DeleteSSHKeyAsync(DeleteSSHKeyRequest request, CallSettings callSettings = null)
Deletes a public SSH key registered in the specified project.
Parameters | |
---|---|
Name | Description |
request | DeleteSSHKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest, CallSettings)
public override void DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest request, CallSettings callSettings = null)
Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | DeleteVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest, CallSettings)
public override Task DeleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest request, CallSettings callSettings = null)
Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | DeleteVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DetachLun(DetachLunRequest, CallSettings)
public override Operation<Instance, OperationMetadata> DetachLun(DetachLunRequest request, CallSettings callSettings = null)
Detach LUN from Instance.
Parameters | |
---|---|
Name | Description |
request | DetachLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationInstanceOperationMetadata | The RPC response. |
DetachLunAsync(DetachLunRequest, CallSettings)
public override Task<Operation<Instance, OperationMetadata>> DetachLunAsync(DetachLunRequest request, CallSettings callSettings = null)
Detach LUN from Instance.
Parameters | |
---|---|
Name | Description |
request | DetachLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationInstanceOperationMetadata | A Task containing the RPC response. |
DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest, CallSettings)
public override Operation<DisableInteractiveSerialConsoleResponse, OperationMetadata> DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest request, CallSettings callSettings = null)
Disable the interactive serial console feature on an instance.
Parameters | |
---|---|
Name | Description |
request | DisableInteractiveSerialConsoleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDisableInteractiveSerialConsoleResponseOperationMetadata | The RPC response. |
DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest, CallSettings)
public override Task<Operation<DisableInteractiveSerialConsoleResponse, OperationMetadata>> DisableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest request, CallSettings callSettings = null)
Disable the interactive serial console feature on an instance.
Parameters | |
---|---|
Name | Description |
request | DisableInteractiveSerialConsoleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDisableInteractiveSerialConsoleResponseOperationMetadata | A Task containing the RPC response. |
EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest, CallSettings)
public override Operation<EnableInteractiveSerialConsoleResponse, OperationMetadata> EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest request, CallSettings callSettings = null)
Enable the interactive serial console feature on an instance.
Parameters | |
---|---|
Name | Description |
request | EnableInteractiveSerialConsoleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEnableInteractiveSerialConsoleResponseOperationMetadata | The RPC response. |
EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest, CallSettings)
public override Task<Operation<EnableInteractiveSerialConsoleResponse, OperationMetadata>> EnableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest request, CallSettings callSettings = null)
Enable the interactive serial console feature on an instance.
Parameters | |
---|---|
Name | Description |
request | EnableInteractiveSerialConsoleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEnableInteractiveSerialConsoleResponseOperationMetadata | A Task containing the RPC response. |
EvictLun(EvictLunRequest, CallSettings)
public override Operation<Empty, OperationMetadata> EvictLun(EvictLunRequest request, CallSettings callSettings = null)
Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
Parameters | |
---|---|
Name | Description |
request | EvictLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
EvictLunAsync(EvictLunRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> EvictLunAsync(EvictLunRequest request, CallSettings callSettings = null)
Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
Parameters | |
---|---|
Name | Description |
request | EvictLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
EvictVolume(EvictVolumeRequest, CallSettings)
public override Operation<Empty, OperationMetadata> EvictVolume(EvictVolumeRequest request, CallSettings callSettings = null)
Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
Parameters | |
---|---|
Name | Description |
request | EvictVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
EvictVolumeAsync(EvictVolumeRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> EvictVolumeAsync(EvictVolumeRequest request, CallSettings callSettings = null)
Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
Parameters | |
---|---|
Name | Description |
request | EvictVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
GetInstance(GetInstanceRequest, CallSettings)
public override Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)
Get details about a single server.
Parameters | |
---|---|
Name | Description |
request | GetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Instance | The RPC response. |
GetInstanceAsync(GetInstanceRequest, CallSettings)
public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)
Get details about a single server.
Parameters | |
---|---|
Name | Description |
request | GetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskInstance | A Task containing the RPC response. |
GetLun(GetLunRequest, CallSettings)
public override Lun GetLun(GetLunRequest request, CallSettings callSettings = null)
Get details of a single storage logical unit number(LUN).
Parameters | |
---|---|
Name | Description |
request | GetLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Lun | The RPC response. |
GetLunAsync(GetLunRequest, CallSettings)
public override Task<Lun> GetLunAsync(GetLunRequest request, CallSettings callSettings = null)
Get details of a single storage logical unit number(LUN).
Parameters | |
---|---|
Name | Description |
request | GetLunRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskLun | A Task containing the RPC response. |
GetNetwork(GetNetworkRequest, CallSettings)
public override Network GetNetwork(GetNetworkRequest request, CallSettings callSettings = null)
Get details of a single network.
Parameters | |
---|---|
Name | Description |
request | GetNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Network | The RPC response. |
GetNetworkAsync(GetNetworkRequest, CallSettings)
public override Task<Network> GetNetworkAsync(GetNetworkRequest request, CallSettings callSettings = null)
Get details of a single network.
Parameters | |
---|---|
Name | Description |
request | GetNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskNetwork | A Task containing the RPC response. |
GetNfsShare(GetNfsShareRequest, CallSettings)
public override NfsShare GetNfsShare(GetNfsShareRequest request, CallSettings callSettings = null)
Get details of a single NFS share.
Parameters | |
---|---|
Name | Description |
request | GetNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
NfsShare | The RPC response. |
GetNfsShareAsync(GetNfsShareRequest, CallSettings)
public override Task<NfsShare> GetNfsShareAsync(GetNfsShareRequest request, CallSettings callSettings = null)
Get details of a single NFS share.
Parameters | |
---|---|
Name | Description |
request | GetNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskNfsShare | A Task containing the RPC response. |
GetProvisioningConfig(GetProvisioningConfigRequest, CallSettings)
public override ProvisioningConfig GetProvisioningConfig(GetProvisioningConfigRequest request, CallSettings callSettings = null)
Get ProvisioningConfig by name.
Parameters | |
---|---|
Name | Description |
request | GetProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ProvisioningConfig | The RPC response. |
GetProvisioningConfigAsync(GetProvisioningConfigRequest, CallSettings)
public override Task<ProvisioningConfig> GetProvisioningConfigAsync(GetProvisioningConfigRequest request, CallSettings callSettings = null)
Get ProvisioningConfig by name.
Parameters | |
---|---|
Name | Description |
request | GetProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskProvisioningConfig | A Task containing the RPC response. |
GetVolume(GetVolumeRequest, CallSettings)
public override Volume GetVolume(GetVolumeRequest request, CallSettings callSettings = null)
Get details of a single storage volume.
Parameters | |
---|---|
Name | Description |
request | GetVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Volume | The RPC response. |
GetVolumeAsync(GetVolumeRequest, CallSettings)
public override Task<Volume> GetVolumeAsync(GetVolumeRequest request, CallSettings callSettings = null)
Get details of a single storage volume.
Parameters | |
---|---|
Name | Description |
request | GetVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskVolume | A Task containing the RPC response. |
GetVolumeSnapshot(GetVolumeSnapshotRequest, CallSettings)
public override VolumeSnapshot GetVolumeSnapshot(GetVolumeSnapshotRequest request, CallSettings callSettings = null)
Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | GetVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VolumeSnapshot | The RPC response. |
GetVolumeSnapshotAsync(GetVolumeSnapshotRequest, CallSettings)
public override Task<VolumeSnapshot> GetVolumeSnapshotAsync(GetVolumeSnapshotRequest request, CallSettings callSettings = null)
Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | GetVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskVolumeSnapshot | A Task containing the RPC response. |
ListInstances(ListInstancesRequest, CallSettings)
public override PagedEnumerable<ListInstancesResponse, Instance> ListInstances(ListInstancesRequest request, CallSettings callSettings = null)
List servers in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListInstancesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListInstancesResponseInstance | A pageable sequence of Instance resources. |
ListInstancesAsync(ListInstancesRequest, CallSettings)
public override PagedAsyncEnumerable<ListInstancesResponse, Instance> ListInstancesAsync(ListInstancesRequest request, CallSettings callSettings = null)
List servers in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListInstancesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListInstancesResponseInstance | A pageable asynchronous sequence of Instance resources. |
ListLuns(ListLunsRequest, CallSettings)
public override PagedEnumerable<ListLunsResponse, Lun> ListLuns(ListLunsRequest request, CallSettings callSettings = null)
List storage volume luns for given storage volume.
Parameters | |
---|---|
Name | Description |
request | ListLunsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListLunsResponseLun | A pageable sequence of Lun resources. |
ListLunsAsync(ListLunsRequest, CallSettings)
public override PagedAsyncEnumerable<ListLunsResponse, Lun> ListLunsAsync(ListLunsRequest request, CallSettings callSettings = null)
List storage volume luns for given storage volume.
Parameters | |
---|---|
Name | Description |
request | ListLunsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListLunsResponseLun | A pageable asynchronous sequence of Lun resources. |
ListNetworkUsage(ListNetworkUsageRequest, CallSettings)
public override ListNetworkUsageResponse ListNetworkUsage(ListNetworkUsageRequest request, CallSettings callSettings = null)
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
Parameters | |
---|---|
Name | Description |
request | ListNetworkUsageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListNetworkUsageResponse | The RPC response. |
ListNetworkUsageAsync(ListNetworkUsageRequest, CallSettings)
public override Task<ListNetworkUsageResponse> ListNetworkUsageAsync(ListNetworkUsageRequest request, CallSettings callSettings = null)
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
Parameters | |
---|---|
Name | Description |
request | ListNetworkUsageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskListNetworkUsageResponse | A Task containing the RPC response. |
ListNetworks(ListNetworksRequest, CallSettings)
public override PagedEnumerable<ListNetworksResponse, Network> ListNetworks(ListNetworksRequest request, CallSettings callSettings = null)
List network in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListNetworksRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListNetworksResponseNetwork | A pageable sequence of Network resources. |
ListNetworksAsync(ListNetworksRequest, CallSettings)
public override PagedAsyncEnumerable<ListNetworksResponse, Network> ListNetworksAsync(ListNetworksRequest request, CallSettings callSettings = null)
List network in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListNetworksRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListNetworksResponseNetwork | A pageable asynchronous sequence of Network resources. |
ListNfsShares(ListNfsSharesRequest, CallSettings)
public override PagedEnumerable<ListNfsSharesResponse, NfsShare> ListNfsShares(ListNfsSharesRequest request, CallSettings callSettings = null)
List NFS shares.
Parameters | |
---|---|
Name | Description |
request | ListNfsSharesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListNfsSharesResponseNfsShare | A pageable sequence of NfsShare resources. |
ListNfsSharesAsync(ListNfsSharesRequest, CallSettings)
public override PagedAsyncEnumerable<ListNfsSharesResponse, NfsShare> ListNfsSharesAsync(ListNfsSharesRequest request, CallSettings callSettings = null)
List NFS shares.
Parameters | |
---|---|
Name | Description |
request | ListNfsSharesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListNfsSharesResponseNfsShare | A pageable asynchronous sequence of NfsShare resources. |
ListOSImages(ListOSImagesRequest, CallSettings)
public override PagedEnumerable<ListOSImagesResponse, OSImage> ListOSImages(ListOSImagesRequest request, CallSettings callSettings = null)
Retrieves the list of OS images which are currently approved.
Parameters | |
---|---|
Name | Description |
request | ListOSImagesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListOSImagesResponseOSImage | A pageable sequence of OSImage resources. |
ListOSImagesAsync(ListOSImagesRequest, CallSettings)
public override PagedAsyncEnumerable<ListOSImagesResponse, OSImage> ListOSImagesAsync(ListOSImagesRequest request, CallSettings callSettings = null)
Retrieves the list of OS images which are currently approved.
Parameters | |
---|---|
Name | Description |
request | ListOSImagesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListOSImagesResponseOSImage | A pageable asynchronous sequence of OSImage resources. |
ListProvisioningQuotas(ListProvisioningQuotasRequest, CallSettings)
public override PagedEnumerable<ListProvisioningQuotasResponse, ProvisioningQuota> ListProvisioningQuotas(ListProvisioningQuotasRequest request, CallSettings callSettings = null)
List the budget details to provision resources on a given project.
Parameters | |
---|---|
Name | Description |
request | ListProvisioningQuotasRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListProvisioningQuotasResponseProvisioningQuota | A pageable sequence of ProvisioningQuota resources. |
ListProvisioningQuotasAsync(ListProvisioningQuotasRequest, CallSettings)
public override PagedAsyncEnumerable<ListProvisioningQuotasResponse, ProvisioningQuota> ListProvisioningQuotasAsync(ListProvisioningQuotasRequest request, CallSettings callSettings = null)
List the budget details to provision resources on a given project.
Parameters | |
---|---|
Name | Description |
request | ListProvisioningQuotasRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListProvisioningQuotasResponseProvisioningQuota | A pageable asynchronous sequence of ProvisioningQuota resources. |
ListSSHKeys(ListSSHKeysRequest, CallSettings)
public override PagedEnumerable<ListSSHKeysResponse, SSHKey> ListSSHKeys(ListSSHKeysRequest request, CallSettings callSettings = null)
Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.
Parameters | |
---|---|
Name | Description |
request | ListSSHKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListSSHKeysResponseSSHKey | A pageable sequence of SSHKey resources. |
ListSSHKeysAsync(ListSSHKeysRequest, CallSettings)
public override PagedAsyncEnumerable<ListSSHKeysResponse, SSHKey> ListSSHKeysAsync(ListSSHKeysRequest request, CallSettings callSettings = null)
Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.
Parameters | |
---|---|
Name | Description |
request | ListSSHKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListSSHKeysResponseSSHKey | A pageable asynchronous sequence of SSHKey resources. |
ListVolumeSnapshots(ListVolumeSnapshotsRequest, CallSettings)
public override PagedEnumerable<ListVolumeSnapshotsResponse, VolumeSnapshot> ListVolumeSnapshots(ListVolumeSnapshotsRequest request, CallSettings callSettings = null)
Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | ListVolumeSnapshotsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListVolumeSnapshotsResponseVolumeSnapshot | A pageable sequence of VolumeSnapshot resources. |
ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest, CallSettings)
public override PagedAsyncEnumerable<ListVolumeSnapshotsResponse, VolumeSnapshot> ListVolumeSnapshotsAsync(ListVolumeSnapshotsRequest request, CallSettings callSettings = null)
Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | ListVolumeSnapshotsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListVolumeSnapshotsResponseVolumeSnapshot | A pageable asynchronous sequence of VolumeSnapshot resources. |
ListVolumes(ListVolumesRequest, CallSettings)
public override PagedEnumerable<ListVolumesResponse, Volume> ListVolumes(ListVolumesRequest request, CallSettings callSettings = null)
List storage volumes in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListVolumesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListVolumesResponseVolume | A pageable sequence of Volume resources. |
ListVolumesAsync(ListVolumesRequest, CallSettings)
public override PagedAsyncEnumerable<ListVolumesResponse, Volume> ListVolumesAsync(ListVolumesRequest request, CallSettings callSettings = null)
List storage volumes in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListVolumesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListVolumesResponseVolume | A pageable asynchronous sequence of Volume resources. |
RenameInstance(RenameInstanceRequest, CallSettings)
public override Instance RenameInstance(RenameInstanceRequest request, CallSettings callSettings = null)
RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Instance | The RPC response. |
RenameInstanceAsync(RenameInstanceRequest, CallSettings)
public override Task<Instance> RenameInstanceAsync(RenameInstanceRequest request, CallSettings callSettings = null)
RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskInstance | A Task containing the RPC response. |
RenameNetwork(RenameNetworkRequest, CallSettings)
public override Network RenameNetwork(RenameNetworkRequest request, CallSettings callSettings = null)
RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Network | The RPC response. |
RenameNetworkAsync(RenameNetworkRequest, CallSettings)
public override Task<Network> RenameNetworkAsync(RenameNetworkRequest request, CallSettings callSettings = null)
RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskNetwork | A Task containing the RPC response. |
RenameNfsShare(RenameNfsShareRequest, CallSettings)
public override NfsShare RenameNfsShare(RenameNfsShareRequest request, CallSettings callSettings = null)
RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
NfsShare | The RPC response. |
RenameNfsShareAsync(RenameNfsShareRequest, CallSettings)
public override Task<NfsShare> RenameNfsShareAsync(RenameNfsShareRequest request, CallSettings callSettings = null)
RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskNfsShare | A Task containing the RPC response. |
RenameVolume(RenameVolumeRequest, CallSettings)
public override Volume RenameVolume(RenameVolumeRequest request, CallSettings callSettings = null)
RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Volume | The RPC response. |
RenameVolumeAsync(RenameVolumeRequest, CallSettings)
public override Task<Volume> RenameVolumeAsync(RenameVolumeRequest request, CallSettings callSettings = null)
RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.
Parameters | |
---|---|
Name | Description |
request | RenameVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskVolume | A Task containing the RPC response. |
ResetInstance(ResetInstanceRequest, CallSettings)
public override Operation<ResetInstanceResponse, OperationMetadata> ResetInstance(ResetInstanceRequest request, CallSettings callSettings = null)
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
Parameters | |
---|---|
Name | Description |
request | ResetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationResetInstanceResponseOperationMetadata | The RPC response. |
ResetInstanceAsync(ResetInstanceRequest, CallSettings)
public override Task<Operation<ResetInstanceResponse, OperationMetadata>> ResetInstanceAsync(ResetInstanceRequest request, CallSettings callSettings = null)
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
Parameters | |
---|---|
Name | Description |
request | ResetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationResetInstanceResponseOperationMetadata | A Task containing the RPC response. |
ResizeVolume(ResizeVolumeRequest, CallSettings)
public override Operation<Volume, OperationMetadata> ResizeVolume(ResizeVolumeRequest request, CallSettings callSettings = null)
Emergency Volume resize.
Parameters | |
---|---|
Name | Description |
request | ResizeVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationVolumeOperationMetadata | The RPC response. |
ResizeVolumeAsync(ResizeVolumeRequest, CallSettings)
public override Task<Operation<Volume, OperationMetadata>> ResizeVolumeAsync(ResizeVolumeRequest request, CallSettings callSettings = null)
Emergency Volume resize.
Parameters | |
---|---|
Name | Description |
request | ResizeVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationVolumeOperationMetadata | A Task containing the RPC response. |
RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest, CallSettings)
public override Operation<VolumeSnapshot, OperationMetadata> RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest request, CallSettings callSettings = null)
Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | RestoreVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationVolumeSnapshotOperationMetadata | The RPC response. |
RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest, CallSettings)
public override Task<Operation<VolumeSnapshot, OperationMetadata>> RestoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest request, CallSettings callSettings = null)
Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
Parameters | |
---|---|
Name | Description |
request | RestoreVolumeSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationVolumeSnapshotOperationMetadata | A Task containing the RPC response. |
StartInstance(StartInstanceRequest, CallSettings)
public override Operation<StartInstanceResponse, OperationMetadata> StartInstance(StartInstanceRequest request, CallSettings callSettings = null)
Starts a server that was shutdown.
Parameters | |
---|---|
Name | Description |
request | StartInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationStartInstanceResponseOperationMetadata | The RPC response. |
StartInstanceAsync(StartInstanceRequest, CallSettings)
public override Task<Operation<StartInstanceResponse, OperationMetadata>> StartInstanceAsync(StartInstanceRequest request, CallSettings callSettings = null)
Starts a server that was shutdown.
Parameters | |
---|---|
Name | Description |
request | StartInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationStartInstanceResponseOperationMetadata | A Task containing the RPC response. |
StopInstance(StopInstanceRequest, CallSettings)
public override Operation<StopInstanceResponse, OperationMetadata> StopInstance(StopInstanceRequest request, CallSettings callSettings = null)
Stop a running server.
Parameters | |
---|---|
Name | Description |
request | StopInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationStopInstanceResponseOperationMetadata | The RPC response. |
StopInstanceAsync(StopInstanceRequest, CallSettings)
public override Task<Operation<StopInstanceResponse, OperationMetadata>> StopInstanceAsync(StopInstanceRequest request, CallSettings callSettings = null)
Stop a running server.
Parameters | |
---|---|
Name | Description |
request | StopInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationStopInstanceResponseOperationMetadata | A Task containing the RPC response. |
SubmitProvisioningConfig(SubmitProvisioningConfigRequest, CallSettings)
public override SubmitProvisioningConfigResponse SubmitProvisioningConfig(SubmitProvisioningConfigRequest request, CallSettings callSettings = null)
Submit a provisiong configuration for a given project.
Parameters | |
---|---|
Name | Description |
request | SubmitProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SubmitProvisioningConfigResponse | The RPC response. |
SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest, CallSettings)
public override Task<SubmitProvisioningConfigResponse> SubmitProvisioningConfigAsync(SubmitProvisioningConfigRequest request, CallSettings callSettings = null)
Submit a provisiong configuration for a given project.
Parameters | |
---|---|
Name | Description |
request | SubmitProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSubmitProvisioningConfigResponse | A Task containing the RPC response. |
UpdateInstance(UpdateInstanceRequest, CallSettings)
public override Operation<Instance, OperationMetadata> UpdateInstance(UpdateInstanceRequest request, CallSettings callSettings = null)
Update details of a single server.
Parameters | |
---|---|
Name | Description |
request | UpdateInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationInstanceOperationMetadata | The RPC response. |
UpdateInstanceAsync(UpdateInstanceRequest, CallSettings)
public override Task<Operation<Instance, OperationMetadata>> UpdateInstanceAsync(UpdateInstanceRequest request, CallSettings callSettings = null)
Update details of a single server.
Parameters | |
---|---|
Name | Description |
request | UpdateInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationInstanceOperationMetadata | A Task containing the RPC response. |
UpdateNetwork(UpdateNetworkRequest, CallSettings)
public override Operation<Network, OperationMetadata> UpdateNetwork(UpdateNetworkRequest request, CallSettings callSettings = null)
Update details of a single network.
Parameters | |
---|---|
Name | Description |
request | UpdateNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationNetworkOperationMetadata | The RPC response. |
UpdateNetworkAsync(UpdateNetworkRequest, CallSettings)
public override Task<Operation<Network, OperationMetadata>> UpdateNetworkAsync(UpdateNetworkRequest request, CallSettings callSettings = null)
Update details of a single network.
Parameters | |
---|---|
Name | Description |
request | UpdateNetworkRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationNetworkOperationMetadata | A Task containing the RPC response. |
UpdateNfsShare(UpdateNfsShareRequest, CallSettings)
public override Operation<NfsShare, OperationMetadata> UpdateNfsShare(UpdateNfsShareRequest request, CallSettings callSettings = null)
Update details of a single NFS share.
Parameters | |
---|---|
Name | Description |
request | UpdateNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationNfsShareOperationMetadata | The RPC response. |
UpdateNfsShareAsync(UpdateNfsShareRequest, CallSettings)
public override Task<Operation<NfsShare, OperationMetadata>> UpdateNfsShareAsync(UpdateNfsShareRequest request, CallSettings callSettings = null)
Update details of a single NFS share.
Parameters | |
---|---|
Name | Description |
request | UpdateNfsShareRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationNfsShareOperationMetadata | A Task containing the RPC response. |
UpdateProvisioningConfig(UpdateProvisioningConfigRequest, CallSettings)
public override ProvisioningConfig UpdateProvisioningConfig(UpdateProvisioningConfigRequest request, CallSettings callSettings = null)
Update existing ProvisioningConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ProvisioningConfig | The RPC response. |
UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest, CallSettings)
public override Task<ProvisioningConfig> UpdateProvisioningConfigAsync(UpdateProvisioningConfigRequest request, CallSettings callSettings = null)
Update existing ProvisioningConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateProvisioningConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskProvisioningConfig | A Task containing the RPC response. |
UpdateVolume(UpdateVolumeRequest, CallSettings)
public override Operation<Volume, OperationMetadata> UpdateVolume(UpdateVolumeRequest request, CallSettings callSettings = null)
Update details of a single storage volume.
Parameters | |
---|---|
Name | Description |
request | UpdateVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationVolumeOperationMetadata | The RPC response. |
UpdateVolumeAsync(UpdateVolumeRequest, CallSettings)
public override Task<Operation<Volume, OperationMetadata>> UpdateVolumeAsync(UpdateVolumeRequest request, CallSettings callSettings = null)
Update details of a single storage volume.
Parameters | |
---|---|
Name | Description |
request | UpdateVolumeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationVolumeOperationMetadata | A Task containing the RPC response. |