Google Cloud Managed Lustre v1 API - Class Lustre.LustreClient (1.1.0)

public class Lustre.LustreClient : ClientBase<Lustre.LustreClient>

Reference documentation and code samples for the Google Cloud Managed Lustre v1 API class Lustre.LustreClient.

Client for Lustre

Inheritance

object > ClientBase > ClientBaseLustreLustreClient > Lustre.LustreClient

Namespace

Google.Cloud.Lustre.V1

Assembly

Google.Cloud.Lustre.V1.dll

Constructors

LustreClient()

protected LustreClient()

Protected parameterless constructor to allow creation of test doubles.

LustreClient(CallInvoker)

public LustreClient(CallInvoker callInvoker)

Creates a new client for Lustre that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

LustreClient(ChannelBase)

public LustreClient(ChannelBase channel)

Creates a new client for Lustre

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

LustreClient(ClientBaseConfiguration)

protected LustreClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDirectoryPolicy(CreateDirectoryPolicyRequest, CallOptions)

public virtual Operation CreateDirectoryPolicy(CreateDirectoryPolicyRequest request, CallOptions options)

Creates a directory policy resource.

Parameters
Name Description
request CreateDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateDirectoryPolicy(CreateDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateDirectoryPolicy(CreateDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a directory policy resource.

Parameters
Name Description
request CreateDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateDirectoryPolicyAsync(CreateDirectoryPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDirectoryPolicyAsync(CreateDirectoryPolicyRequest request, CallOptions options)

Creates a directory policy resource.

Parameters
Name Description
request CreateDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateDirectoryPolicyAsync(CreateDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateDirectoryPolicyAsync(CreateDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a directory policy resource.

Parameters
Name Description
request CreateDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateInstance(CreateInstanceRequest, CallOptions)

public virtual Operation CreateInstance(CreateInstanceRequest request, CallOptions options)

Creates a new instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateInstance(CreateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateInstance(CreateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateInstanceAsync(CreateInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateInstanceAsync(CreateInstanceRequest request, CallOptions options)

Creates a new instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateInstanceAsync(CreateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateInstanceAsync(CreateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateMirror(CreateMirrorRequest, CallOptions)

public virtual Operation CreateMirror(CreateMirrorRequest request, CallOptions options)

Creates a new mirror in a given instance.

Parameters
Name Description
request CreateMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateMirror(CreateMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateMirror(CreateMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new mirror in a given instance.

Parameters
Name Description
request CreateMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateMirrorAsync(CreateMirrorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateMirrorAsync(CreateMirrorRequest request, CallOptions options)

Creates a new mirror in a given instance.

Parameters
Name Description
request CreateMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateMirrorAsync(CreateMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateMirrorAsync(CreateMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new mirror in a given instance.

Parameters
Name Description
request CreateMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteDirectoryPolicy(DeleteDirectoryPolicyRequest, CallOptions)

public virtual Operation DeleteDirectoryPolicy(DeleteDirectoryPolicyRequest request, CallOptions options)

Deletes a directory policy resource.

Parameters
Name Description
request DeleteDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteDirectoryPolicy(DeleteDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteDirectoryPolicy(DeleteDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a directory policy resource.

Parameters
Name Description
request DeleteDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteDirectoryPolicyAsync(DeleteDirectoryPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDirectoryPolicyAsync(DeleteDirectoryPolicyRequest request, CallOptions options)

Deletes a directory policy resource.

Parameters
Name Description
request DeleteDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteDirectoryPolicyAsync(DeleteDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteDirectoryPolicyAsync(DeleteDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a directory policy resource.

Parameters
Name Description
request DeleteDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteInstance(DeleteInstanceRequest, CallOptions)

public virtual Operation DeleteInstance(DeleteInstanceRequest request, CallOptions options)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteInstance(DeleteInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteInstance(DeleteInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteInstanceAsync(DeleteInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteInstanceAsync(DeleteInstanceRequest request, CallOptions options)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteInstanceAsync(DeleteInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteInstanceAsync(DeleteInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteMirror(DeleteMirrorRequest, CallOptions)

public virtual Operation DeleteMirror(DeleteMirrorRequest request, CallOptions options)

Deletes a single mirror.

Parameters
Name Description
request DeleteMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteMirror(DeleteMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteMirror(DeleteMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single mirror.

Parameters
Name Description
request DeleteMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteMirrorAsync(DeleteMirrorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteMirrorAsync(DeleteMirrorRequest request, CallOptions options)

Deletes a single mirror.

Parameters
Name Description
request DeleteMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteMirrorAsync(DeleteMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteMirrorAsync(DeleteMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single mirror.

Parameters
Name Description
request DeleteMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ExportData(ExportDataRequest, CallOptions)

public virtual Operation ExportData(ExportDataRequest request, CallOptions options)

Exports data from a Managed Lustre instance to Cloud Storage.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ExportData(ExportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ExportData(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports data from a Managed Lustre instance to Cloud Storage.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

ExportDataAsync(ExportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, CallOptions options)

Exports data from a Managed Lustre instance to Cloud Storage.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ExportDataAsync(ExportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Exports data from a Managed Lustre instance to Cloud Storage.

Parameters
Name Description
request ExportDataRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetDirectoryPolicy(GetDirectoryPolicyRequest, CallOptions)

public virtual DirectoryPolicy GetDirectoryPolicy(GetDirectoryPolicyRequest request, CallOptions options)

Gets details of a single directory policy.

Parameters
Name Description
request GetDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DirectoryPolicy

The response received from the server.

GetDirectoryPolicy(GetDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual DirectoryPolicy GetDirectoryPolicy(GetDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single directory policy.

Parameters
Name Description
request GetDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DirectoryPolicy

The response received from the server.

GetDirectoryPolicyAsync(GetDirectoryPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<DirectoryPolicy> GetDirectoryPolicyAsync(GetDirectoryPolicyRequest request, CallOptions options)

Gets details of a single directory policy.

Parameters
Name Description
request GetDirectoryPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDirectoryPolicy

The call object.

GetDirectoryPolicyAsync(GetDirectoryPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DirectoryPolicy> GetDirectoryPolicyAsync(GetDirectoryPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single directory policy.

Parameters
Name Description
request GetDirectoryPolicyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDirectoryPolicy

The call object.

GetInstance(GetInstanceRequest, CallOptions)

public virtual Instance GetInstance(GetInstanceRequest request, CallOptions options)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Instance

The response received from the server.

GetInstance(GetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Instance GetInstance(GetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Instance

The response received from the server.

GetInstanceAsync(GetInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Instance> GetInstanceAsync(GetInstanceRequest request, CallOptions options)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstance

The call object.

GetInstanceAsync(GetInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Instance> GetInstanceAsync(GetInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallInstance

The call object.

GetMirror(GetMirrorRequest, CallOptions)

public virtual Mirror GetMirror(GetMirrorRequest request, CallOptions options)

Gets details of a single mirror.

Parameters
Name Description
request GetMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Mirror

The response received from the server.

GetMirror(GetMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual Mirror GetMirror(GetMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single mirror.

Parameters
Name Description
request GetMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Mirror

The response received from the server.

GetMirrorAsync(GetMirrorRequest, CallOptions)

public virtual AsyncUnaryCall<Mirror> GetMirrorAsync(GetMirrorRequest request, CallOptions options)

Gets details of a single mirror.

Parameters
Name Description
request GetMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallMirror

The call object.

GetMirrorAsync(GetMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Mirror> GetMirrorAsync(GetMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single mirror.

Parameters
Name Description
request GetMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallMirror

The call object.

ImportData(ImportDataRequest, CallOptions)

public virtual Operation ImportData(ImportDataRequest request, CallOptions options)

Imports data from Cloud Storage to a Managed Lustre instance.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ImportData(ImportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ImportData(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports data from Cloud Storage to a Managed Lustre instance.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

ImportDataAsync(ImportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, CallOptions options)

Imports data from Cloud Storage to a Managed Lustre instance.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ImportDataAsync(ImportDataRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports data from Cloud Storage to a Managed Lustre instance.

Parameters
Name Description
request ImportDataRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ListDirectoryPolicies(ListDirectoryPoliciesRequest, CallOptions)

public virtual ListDirectoryPoliciesResponse ListDirectoryPolicies(ListDirectoryPoliciesRequest request, CallOptions options)

Gets details of multiple directory policies under a given instance.

Parameters
Name Description
request ListDirectoryPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDirectoryPoliciesResponse

The response received from the server.

ListDirectoryPolicies(ListDirectoryPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDirectoryPoliciesResponse ListDirectoryPolicies(ListDirectoryPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of multiple directory policies under a given instance.

Parameters
Name Description
request ListDirectoryPoliciesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDirectoryPoliciesResponse

The response received from the server.

ListDirectoryPoliciesAsync(ListDirectoryPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDirectoryPoliciesResponse> ListDirectoryPoliciesAsync(ListDirectoryPoliciesRequest request, CallOptions options)

Gets details of multiple directory policies under a given instance.

Parameters
Name Description
request ListDirectoryPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDirectoryPoliciesResponse

The call object.

ListDirectoryPoliciesAsync(ListDirectoryPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDirectoryPoliciesResponse> ListDirectoryPoliciesAsync(ListDirectoryPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of multiple directory policies under a given instance.

Parameters
Name Description
request ListDirectoryPoliciesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDirectoryPoliciesResponse

The call object.

ListInstances(ListInstancesRequest, CallOptions)

public virtual ListInstancesResponse ListInstances(ListInstancesRequest request, CallOptions options)

Lists instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListInstancesResponse

The response received from the server.

ListInstances(ListInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListInstancesResponse ListInstances(ListInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListInstancesResponse

The response received from the server.

ListInstancesAsync(ListInstancesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInstancesResponse> ListInstancesAsync(ListInstancesRequest request, CallOptions options)

Lists instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListInstancesResponse

The call object.

ListInstancesAsync(ListInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListInstancesResponse> ListInstancesAsync(ListInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListInstancesResponse

The call object.

ListMirrors(ListMirrorsRequest, CallOptions)

public virtual ListMirrorsResponse ListMirrors(ListMirrorsRequest request, CallOptions options)

Gets details of multiple mirrors under a given instance.

Parameters
Name Description
request ListMirrorsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListMirrorsResponse

The response received from the server.

ListMirrors(ListMirrorsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListMirrorsResponse ListMirrors(ListMirrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of multiple mirrors under a given instance.

Parameters
Name Description
request ListMirrorsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListMirrorsResponse

The response received from the server.

ListMirrorsAsync(ListMirrorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListMirrorsResponse> ListMirrorsAsync(ListMirrorsRequest request, CallOptions options)

Gets details of multiple mirrors under a given instance.

Parameters
Name Description
request ListMirrorsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListMirrorsResponse

The call object.

ListMirrorsAsync(ListMirrorsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListMirrorsResponse> ListMirrorsAsync(ListMirrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of multiple mirrors under a given instance.

Parameters
Name Description
request ListMirrorsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListMirrorsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Lustre.LustreClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
LustreLustreClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Lustre.V1.Lustre.LustreClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RescheduleMaintenance(RescheduleMaintenanceRequest, CallOptions)

public virtual Operation RescheduleMaintenance(RescheduleMaintenanceRequest request, CallOptions options)

Reschedules a planned maintenance event for a specific instance.

Parameters
Name Description
request RescheduleMaintenanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

RescheduleMaintenance(RescheduleMaintenanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RescheduleMaintenance(RescheduleMaintenanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Reschedules a planned maintenance event for a specific instance.

Parameters
Name Description
request RescheduleMaintenanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

RescheduleMaintenanceAsync(RescheduleMaintenanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RescheduleMaintenanceAsync(RescheduleMaintenanceRequest request, CallOptions options)

Reschedules a planned maintenance event for a specific instance.

Parameters
Name Description
request RescheduleMaintenanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

RescheduleMaintenanceAsync(RescheduleMaintenanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RescheduleMaintenanceAsync(RescheduleMaintenanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Reschedules a planned maintenance event for a specific instance.

Parameters
Name Description
request RescheduleMaintenanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateInstance(UpdateInstanceRequest, CallOptions)

public virtual Operation UpdateInstance(UpdateInstanceRequest request, CallOptions options)

Updates the parameters of a single instance.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateInstance(UpdateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateInstance(UpdateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single instance.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateInstanceAsync(UpdateInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateInstanceAsync(UpdateInstanceRequest request, CallOptions options)

Updates the parameters of a single instance.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateInstanceAsync(UpdateInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateInstanceAsync(UpdateInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single instance.

Parameters
Name Description
request UpdateInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateMirror(UpdateMirrorRequest, CallOptions)

public virtual Operation UpdateMirror(UpdateMirrorRequest request, CallOptions options)

Updates the parameters of a single mirror.

Parameters
Name Description
request UpdateMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateMirror(UpdateMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateMirror(UpdateMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single mirror.

Parameters
Name Description
request UpdateMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateMirrorAsync(UpdateMirrorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateMirrorAsync(UpdateMirrorRequest request, CallOptions options)

Updates the parameters of a single mirror.

Parameters
Name Description
request UpdateMirrorRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateMirrorAsync(UpdateMirrorRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateMirrorAsync(UpdateMirrorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single mirror.

Parameters
Name Description
request UpdateMirrorRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.