Show / Hide Table of Contents

Class ManagementStationClient

Service client instance for ManagementStation.

Inheritance
object
ClientBase
RegionalClientBase
ManagementStationClient
Implements
IDisposable
Inherited Members
RegionalClientBase.logger
RegionalClientBase.SetRegion(Region)
RegionalClientBase.SetRegion(string)
RegionalClientBase.UseRealmSpecificEndpointTemplate(bool)
RegionalClientBase.PopulateServiceParametersInEndpointTemplate(RestClient, Dictionary<string, object>)
RegionalClientBase.parseEndpointForParameters(string)
ClientBase.restClient
ClientBase.service
ClientBase.userAgent
ClientBase.Dispose()
ClientBase.Dispose(bool)
ClientBase.SetEndpoint(string)
ClientBase.GetEndpoint()
ClientBase.GetUserAgent()
ClientBase.SetRealmSpecificEndpointTemplate(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ManagementStationClient : RegionalClientBase, IDisposable

Constructors

ManagementStationClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)

Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.

Declaration
public ManagementStationClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type Name Description
IBasicAuthenticationDetailsProvider authenticationDetailsProvider

The authentication details provider. Required.

ClientConfiguration clientConfiguration

The client configuration that contains settings to adjust REST client behaviors. Optional.

string endpoint

The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional.

Properties

Paginators

Declaration
public ManagementStationPaginators Paginators { get; }
Property Value
Type Description
ManagementStationPaginators

Waiters

Declaration
public ManagementStationWaiters Waiters { get; }
Property Value
Type Description
ManagementStationWaiters

Methods

ChangeManagementStationCompartment(ChangeManagementStationCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a managment station to a different compartment.

Declaration
public Task<ChangeManagementStationCompartmentResponse> ChangeManagementStationCompartment(ChangeManagementStationCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeManagementStationCompartmentRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeManagementStationCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeManagementStationCompartment API.

CreateManagementStation(CreateManagementStationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a management station using the proxy and mirror configuration information provided.

Declaration
public Task<CreateManagementStationResponse> CreateManagementStation(CreateManagementStationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateManagementStationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<CreateManagementStationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateManagementStation API.

DeleteManagementStation(DeleteManagementStationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes a management station. You can't delete a station if there are resources associated with the station (such as instances using the station or profiles associated with the station). Switch stations and edit profiles as needed before deleting the station.

Declaration
public Task<DeleteManagementStationResponse> DeleteManagementStation(DeleteManagementStationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteManagementStationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<DeleteManagementStationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteManagementStation API.

GetManagementStation(GetManagementStationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns information about the specified management station.

Declaration
public Task<GetManagementStationResponse> GetManagementStation(GetManagementStationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetManagementStationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetManagementStationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetManagementStation API.

ListManagementStations(ListManagementStationsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists management stations within the specified compartment. Filter the list against a variety of criteria including but not limited to name, status, and location.

Declaration
public Task<ListManagementStationsResponse> ListManagementStations(ListManagementStationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListManagementStationsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListManagementStationsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListManagementStations API.

ListMirrors(ListMirrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists all software source mirrors associated with a specified management station.

Declaration
public Task<ListMirrorsResponse> ListMirrors(ListMirrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMirrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMirrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMirrors API.

RefreshManagementStationConfig(RefreshManagementStationConfigRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Refreshes the list of software sources mirrored by the management station.

Declaration
public Task<RefreshManagementStationConfigResponse> RefreshManagementStationConfig(RefreshManagementStationConfigRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RefreshManagementStationConfigRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<RefreshManagementStationConfigResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use RefreshManagementStationConfig API.

SynchronizeMirrors(SynchronizeMirrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Synchronize the specified software sources mirrored on the management station.

Declaration
public Task<SynchronizeMirrorsResponse> SynchronizeMirrors(SynchronizeMirrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SynchronizeMirrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SynchronizeMirrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SynchronizeMirrors API.

SynchronizeSingleMirrors(SynchronizeSingleMirrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Synchronize the specified software source mirrors on the management station.

Declaration
public Task<SynchronizeSingleMirrorsResponse> SynchronizeSingleMirrors(SynchronizeSingleMirrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SynchronizeSingleMirrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SynchronizeSingleMirrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SynchronizeSingleMirrors API.

UpdateManagementStation(UpdateManagementStationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the configuration of the specified management station.

Declaration
public Task<UpdateManagementStationResponse> UpdateManagementStation(UpdateManagementStationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateManagementStationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<UpdateManagementStationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateManagementStation API.

Implements

IDisposable
In this article
Back to top