Class OnboardingClient
Service client instance for Onboarding.
Implements
Inherited Members
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class OnboardingClient : RegionalClientBase, IDisposable
Constructors
OnboardingClient(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 OnboardingClient(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 OnboardingPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
OnboardingPaginators |
Waiters
Declaration
public OnboardingWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
OnboardingWaiters |
Methods
ChangeProfileCompartment(ChangeProfileCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves the profile to a different compartment.
Declaration
public Task<ChangeProfileCompartmentResponse> ChangeProfileCompartment(ChangeProfileCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeProfileCompartmentRequest | 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<ChangeProfileCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeProfileCompartment API.
CreateProfile(CreateProfileRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a registration profile. A profile defines the content applied to the instance when registering it with the service.
Declaration
public Task<CreateProfileResponse> CreateProfile(CreateProfileRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateProfileRequest | 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<CreateProfileResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateProfile API.
DeleteProfile(DeleteProfileRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a specified registration profile.
Declaration
public Task<DeleteProfileResponse> DeleteProfile(DeleteProfileRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteProfileRequest | 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<DeleteProfileResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteProfile API.
GetProfile(GetProfileRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about the specified registration profile.
Declaration
public Task<GetProfileResponse> GetProfile(GetProfileRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetProfileRequest | 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<GetProfileResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetProfile API.
ListProfiles(ListProfilesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists registration profiles that match the specified compartment or profile OCID. Filter the list against a variety of criteria including but not limited to its name, status, vendor name, and architecture type.
Declaration
public Task<ListProfilesResponse> ListProfiles(ListProfilesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListProfilesRequest | 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<ListProfilesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListProfiles API.
UpdateProfile(UpdateProfileRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the specified profile's name, description, and tags.
Declaration
public Task<UpdateProfileResponse> UpdateProfile(UpdateProfileRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateProfileRequest | 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<UpdateProfileResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateProfile API.