Show / Hide Table of Contents

Class DynamicSetClient

Service client instance for DynamicSet.

Inheritance
object
ClientBase
RegionalClientBase
DynamicSetClient
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)
ClientBase.EnableDualStackEndpoints(bool)
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 DynamicSetClient : RegionalClientBase, IDisposable

Constructors

DynamicSetClient(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 DynamicSetClient(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 DynamicSetPaginators Paginators { get; }
Property Value
Type Description
DynamicSetPaginators

Waiters

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

Methods

ChangeDynamicSetCompartment(ChangeDynamicSetCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Move the specified Dynamic Set to a different compartment

Declaration
public Task<ChangeDynamicSetCompartmentResponse> ChangeDynamicSetCompartment(ChangeDynamicSetCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeDynamicSetCompartmentRequest 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<ChangeDynamicSetCompartmentResponse>

A response object containing details about the completed operation

Examples

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

CreateDynamicSet(CreateDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new dynamic set.

Declaration
public Task<CreateDynamicSetResponse> CreateDynamicSet(CreateDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateDynamicSetRequest 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<CreateDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

DeleteDynamicSet(DeleteDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specific dynamic set

Declaration
public Task<DeleteDynamicSetResponse> DeleteDynamicSet(DeleteDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteDynamicSetRequest 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<DeleteDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

GetDynamicSet(GetDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets information about the specified dynamic set.

Declaration
public Task<GetDynamicSetResponse> GetDynamicSet(GetDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetDynamicSetRequest 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<GetDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

InstallPackagesOnDynamicSet(InstallPackagesOnDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Installs specified software packages on all managed instances in the dynamic set.

Declaration
public Task<InstallPackagesOnDynamicSetResponse> InstallPackagesOnDynamicSet(InstallPackagesOnDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
InstallPackagesOnDynamicSetRequest 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<InstallPackagesOnDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

ListDynamicSets(ListDynamicSetsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists dynamic sets that match the specified compartment or dynamic set OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version.

Declaration
public Task<ListDynamicSetsResponse> ListDynamicSets(ListDynamicSetsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListDynamicSetsRequest 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<ListDynamicSetsResponse>

A response object containing details about the completed operation

Examples

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

ListManagedInstancesInDynamicSet(ListManagedInstancesInDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves a list of managed instances associated with a specified dynamic set.

Declaration
public Task<ListManagedInstancesInDynamicSetResponse> ListManagedInstancesInDynamicSet(ListManagedInstancesInDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListManagedInstancesInDynamicSetRequest 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<ListManagedInstancesInDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

PreviewManagedInstances(PreviewManagedInstancesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Preview a dynamic set

Declaration
public Task<PreviewManagedInstancesResponse> PreviewManagedInstances(PreviewManagedInstancesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
PreviewManagedInstancesRequest 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<PreviewManagedInstancesResponse>

A response object containing details about the completed operation

Examples

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

RebootDynamicSet(RebootDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Initiates a reboot of all managed instances within the specified dynamic set.

Declaration
public Task<RebootDynamicSetResponse> RebootDynamicSet(RebootDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RebootDynamicSetRequest 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<RebootDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

RemovePackagesFromDynamicSet(RemovePackagesFromDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Removes specified software packages from all managed instances in the dynamic set.

Declaration
public Task<RemovePackagesFromDynamicSetResponse> RemovePackagesFromDynamicSet(RemovePackagesFromDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
RemovePackagesFromDynamicSetRequest 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<RemovePackagesFromDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

UpdateDynamicSet(UpdateDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the specified dynamic set.

Declaration
public Task<UpdateDynamicSetResponse> UpdateDynamicSet(UpdateDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateDynamicSetRequest 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<UpdateDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

UpdatePackagesOnDynamicSet(UpdatePackagesOnDynamicSetRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates all installed software packages on managed instances in the dynamic set.

Declaration
public Task<UpdatePackagesOnDynamicSetResponse> UpdatePackagesOnDynamicSet(UpdatePackagesOnDynamicSetRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdatePackagesOnDynamicSetRequest 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<UpdatePackagesOnDynamicSetResponse>

A response object containing details about the completed operation

Examples

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

Implements

IDisposable
In this article
Back to top