Class ManagedInstanceClient
Service client instance for ManagedInstance.
Implements
Inherited Members
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ManagedInstanceClient : RegionalClientBase, IDisposable
Constructors
ManagedInstanceClient(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 ManagedInstanceClient(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 ManagedInstancePaginators Paginators { get; }
Property Value
Type | Description |
---|---|
ManagedInstancePaginators |
Methods
AttachProfileToManagedInstance(AttachProfileToManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Adds profile to a managed instance. After the profile has been added, the instance can be registered as a managed instance.
Declaration
public Task<AttachProfileToManagedInstanceResponse> AttachProfileToManagedInstance(AttachProfileToManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
AttachProfileToManagedInstanceRequest | 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<AttachProfileToManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use AttachProfileToManagedInstance API.
AttachSoftwareSourcesToManagedInstance(AttachSoftwareSourcesToManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Adds software sources to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.
Declaration
public Task<AttachSoftwareSourcesToManagedInstanceResponse> AttachSoftwareSourcesToManagedInstance(AttachSoftwareSourcesToManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
AttachSoftwareSourcesToManagedInstanceRequest | 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<AttachSoftwareSourcesToManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use AttachSoftwareSourcesToManagedInstance API.
DeleteManagedInstance(DeleteManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Unregisters the specified managed instance from the service. Once unregistered, the service will no longer manage the instance. For Linux instances, yum or DNF repository files will be restored to their state prior to registration.
Declaration
public Task<DeleteManagedInstanceResponse> DeleteManagedInstance(DeleteManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteManagedInstanceRequest | 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<DeleteManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteManagedInstance API.
DetachProfileFromManagedInstance(DetachProfileFromManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Detaches profile from a managed instance. After the profile has been removed, the instance cannot be registered as a managed instance.
Declaration
public Task<DetachProfileFromManagedInstanceResponse> DetachProfileFromManagedInstance(DetachProfileFromManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DetachProfileFromManagedInstanceRequest | 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<DetachProfileFromManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DetachProfileFromManagedInstance API.
DetachSoftwareSourcesFromManagedInstance(DetachSoftwareSourcesFromManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Removes software sources from a managed instance. Packages will no longer be able to be installed from these software sources.
Declaration
public Task<DetachSoftwareSourcesFromManagedInstanceResponse> DetachSoftwareSourcesFromManagedInstance(DetachSoftwareSourcesFromManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DetachSoftwareSourcesFromManagedInstanceRequest | 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<DetachSoftwareSourcesFromManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DetachSoftwareSourcesFromManagedInstance API.
DisableModuleStreamOnManagedInstance(DisableModuleStreamOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Disables a module stream on a managed instance. After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.
Declaration
public Task<DisableModuleStreamOnManagedInstanceResponse> DisableModuleStreamOnManagedInstance(DisableModuleStreamOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DisableModuleStreamOnManagedInstanceRequest | 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<DisableModuleStreamOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DisableModuleStreamOnManagedInstance API.
EnableModuleStreamOnManagedInstance(EnableModuleStreamOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Enables a module stream on a managed instance. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
Declaration
public Task<EnableModuleStreamOnManagedInstanceResponse> EnableModuleStreamOnManagedInstance(EnableModuleStreamOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
EnableModuleStreamOnManagedInstanceRequest | 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<EnableModuleStreamOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use EnableModuleStreamOnManagedInstance API.
GetManagedInstance(GetManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about the specified managed instance.
Declaration
public Task<GetManagedInstanceResponse> GetManagedInstance(GetManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetManagedInstanceRequest | 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<GetManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetManagedInstance API.
GetWindowsUpdate(GetWindowsUpdateRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a Windows Update object.
Declaration
public Task<GetWindowsUpdateResponse> GetWindowsUpdate(GetWindowsUpdateRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetWindowsUpdateRequest | 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<GetWindowsUpdateResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetWindowsUpdate API.
InstallAllWindowsUpdatesOnManagedInstancesInCompartment(InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Installs all of the available Windows updates for managed instances in a compartment. This applies only to standalone Windows instances. This will not update instances that belong to a group.
Declaration
public Task<InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse> InstallAllWindowsUpdatesOnManagedInstancesInCompartment(InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest | 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<InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use InstallAllWindowsUpdatesOnManagedInstancesInCompartment API.
InstallModuleStreamProfileOnManagedInstance(InstallModuleStreamProfileOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Installs a profile for an module stream. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
Declaration
public Task<InstallModuleStreamProfileOnManagedInstanceResponse> InstallModuleStreamProfileOnManagedInstance(InstallModuleStreamProfileOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
InstallModuleStreamProfileOnManagedInstanceRequest | 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<InstallModuleStreamProfileOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use InstallModuleStreamProfileOnManagedInstance API.
InstallPackagesOnManagedInstance(InstallPackagesOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Installs packages on a managed instance.
Declaration
public Task<InstallPackagesOnManagedInstanceResponse> InstallPackagesOnManagedInstance(InstallPackagesOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
InstallPackagesOnManagedInstanceRequest | 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<InstallPackagesOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use InstallPackagesOnManagedInstance API.
InstallWindowsUpdatesOnManagedInstance(InstallWindowsUpdatesOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Installs Windows updates on the specified managed instance.
Declaration
public Task<InstallWindowsUpdatesOnManagedInstanceResponse> InstallWindowsUpdatesOnManagedInstance(InstallWindowsUpdatesOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
InstallWindowsUpdatesOnManagedInstanceRequest | 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<InstallWindowsUpdatesOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use InstallWindowsUpdatesOnManagedInstance API.
ListManagedInstanceAvailablePackages(ListManagedInstanceAvailablePackagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of packages that are available for installation on a managed instance.
Declaration
public Task<ListManagedInstanceAvailablePackagesResponse> ListManagedInstanceAvailablePackages(ListManagedInstanceAvailablePackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceAvailablePackagesRequest | 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<ListManagedInstanceAvailablePackagesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceAvailablePackages API.
ListManagedInstanceAvailableSoftwareSources(ListManagedInstanceAvailableSoftwareSourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of software sources that can be attached to the specified managed instance. Any software sources already attached to the instance are not included in the list.
Declaration
public Task<ListManagedInstanceAvailableSoftwareSourcesResponse> ListManagedInstanceAvailableSoftwareSources(ListManagedInstanceAvailableSoftwareSourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceAvailableSoftwareSourcesRequest | 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<ListManagedInstanceAvailableSoftwareSourcesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceAvailableSoftwareSources API.
ListManagedInstanceAvailableWindowsUpdates(ListManagedInstanceAvailableWindowsUpdatesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of Windows updates that can be installed on the specified managed instance.
Declaration
public Task<ListManagedInstanceAvailableWindowsUpdatesResponse> ListManagedInstanceAvailableWindowsUpdates(ListManagedInstanceAvailableWindowsUpdatesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceAvailableWindowsUpdatesRequest | 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<ListManagedInstanceAvailableWindowsUpdatesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceAvailableWindowsUpdates API.
ListManagedInstanceErrata(ListManagedInstanceErrataRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of applicable errata on the managed instance.
Declaration
public Task<ListManagedInstanceErrataResponse> ListManagedInstanceErrata(ListManagedInstanceErrataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceErrataRequest | 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<ListManagedInstanceErrataResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceErrata API.
ListManagedInstanceInstalledPackages(ListManagedInstanceInstalledPackagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists the packages that are installed on the managed instance.
Declaration
public Task<ListManagedInstanceInstalledPackagesResponse> ListManagedInstanceInstalledPackages(ListManagedInstanceInstalledPackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceInstalledPackagesRequest | 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<ListManagedInstanceInstalledPackagesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceInstalledPackages API.
ListManagedInstanceInstalledWindowsUpdates(ListManagedInstanceInstalledWindowsUpdatesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of Windows updates that have been installed on the specified managed instance.
Declaration
public Task<ListManagedInstanceInstalledWindowsUpdatesResponse> ListManagedInstanceInstalledWindowsUpdates(ListManagedInstanceInstalledWindowsUpdatesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceInstalledWindowsUpdatesRequest | 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<ListManagedInstanceInstalledWindowsUpdatesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceInstalledWindowsUpdates API.
ListManagedInstanceModules(ListManagedInstanceModulesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Retrieves a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria.
Declaration
public Task<ListManagedInstanceModulesResponse> ListManagedInstanceModules(ListManagedInstanceModulesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceModulesRequest | 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<ListManagedInstanceModulesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceModules API.
ListManagedInstanceUpdatablePackages(ListManagedInstanceUpdatablePackagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of updatable packages for a managed instance.
Declaration
public Task<ListManagedInstanceUpdatablePackagesResponse> ListManagedInstanceUpdatablePackages(ListManagedInstanceUpdatablePackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstanceUpdatablePackagesRequest | 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<ListManagedInstanceUpdatablePackagesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstanceUpdatablePackages API.
ListManagedInstances(ListManagedInstancesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists managed instances that match the specified compartment or managed instance OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version.
Declaration
public Task<ListManagedInstancesResponse> ListManagedInstances(ListManagedInstancesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListManagedInstancesRequest | 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<ListManagedInstancesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListManagedInstances API.
ListWindowsUpdates(ListWindowsUpdatesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists Windows updates that have been reported to the service.
Declaration
public Task<ListWindowsUpdatesResponse> ListWindowsUpdates(ListWindowsUpdatesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWindowsUpdatesRequest | 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<ListWindowsUpdatesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWindowsUpdates API.
ManageModuleStreamsOnManagedInstance(ManageModuleStreamsOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Enables or disables module streams and installs or removes module stream profiles. Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See {@link #manageModuleStreamsOnManagedInstanceDetails(ManageModuleStreamsOnManagedInstanceDetailsRequest) manageModuleStreamsOnManagedInstanceDetails} for more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the operation.
Declaration
public Task<ManageModuleStreamsOnManagedInstanceResponse> ManageModuleStreamsOnManagedInstance(ManageModuleStreamsOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ManageModuleStreamsOnManagedInstanceRequest | 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<ManageModuleStreamsOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ManageModuleStreamsOnManagedInstance API.
RefreshSoftwareOnManagedInstance(RefreshSoftwareOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Refreshes the package or Windows update information on a managed instance with the latest data from the software source. This does not update packages on the instance. It provides the service with the latest package data.
Declaration
public Task<RefreshSoftwareOnManagedInstanceResponse> RefreshSoftwareOnManagedInstance(RefreshSoftwareOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RefreshSoftwareOnManagedInstanceRequest | 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<RefreshSoftwareOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RefreshSoftwareOnManagedInstance API.
RemoveModuleStreamProfileFromManagedInstance(RemoveModuleStreamProfileFromManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Removes a profile for a module stream that is installed on a managed instance. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.
Declaration
public Task<RemoveModuleStreamProfileFromManagedInstanceResponse> RemoveModuleStreamProfileFromManagedInstance(RemoveModuleStreamProfileFromManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RemoveModuleStreamProfileFromManagedInstanceRequest | 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<RemoveModuleStreamProfileFromManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RemoveModuleStreamProfileFromManagedInstance API.
RemovePackagesFromManagedInstance(RemovePackagesFromManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Removes an installed package from a managed instance.
Declaration
public Task<RemovePackagesFromManagedInstanceResponse> RemovePackagesFromManagedInstance(RemovePackagesFromManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RemovePackagesFromManagedInstanceRequest | 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<RemovePackagesFromManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RemovePackagesFromManagedInstance API.
SwitchModuleStreamOnManagedInstance(SwitchModuleStreamOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Enables a new stream for a module that already has a stream enabled. If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream.
Declaration
public Task<SwitchModuleStreamOnManagedInstanceResponse> SwitchModuleStreamOnManagedInstance(SwitchModuleStreamOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
SwitchModuleStreamOnManagedInstanceRequest | 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<SwitchModuleStreamOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use SwitchModuleStreamOnManagedInstance API.
UpdateAllPackagesOnManagedInstancesInCompartment(UpdateAllPackagesOnManagedInstancesInCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Install all of the available package updates for all of the managed instances in a compartment. This applies only to standalone non-Windows instances. This will not update instances that belong to a group or lifecycle environment.
Declaration
public Task<UpdateAllPackagesOnManagedInstancesInCompartmentResponse> UpdateAllPackagesOnManagedInstancesInCompartment(UpdateAllPackagesOnManagedInstancesInCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateAllPackagesOnManagedInstancesInCompartmentRequest | 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<UpdateAllPackagesOnManagedInstancesInCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateAllPackagesOnManagedInstancesInCompartment API.
UpdateManagedInstance(UpdateManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the specified managed instance information, such as description, ONS topic, and associated management station.
Declaration
public Task<UpdateManagedInstanceResponse> UpdateManagedInstance(UpdateManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateManagedInstanceRequest | 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<UpdateManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateManagedInstance API.
UpdatePackagesOnManagedInstance(UpdatePackagesOnManagedInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates a package on a managed instance.
Declaration
public Task<UpdatePackagesOnManagedInstanceResponse> UpdatePackagesOnManagedInstance(UpdatePackagesOnManagedInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdatePackagesOnManagedInstanceRequest | 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<UpdatePackagesOnManagedInstanceResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdatePackagesOnManagedInstance API.