Show / Hide Table of Contents

Class ManagedInstanceGroupClient

Service client instance for ManagedInstanceGroup.

Inheritance
object
ClientBase
RegionalClientBase
ManagedInstanceGroupClient
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 ManagedInstanceGroupClient : RegionalClientBase, IDisposable

Constructors

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

Waiters

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

Methods

AttachManagedInstancesToManagedInstanceGroup(AttachManagedInstancesToManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Adds managed instances to the specified managed instance group. After adding instances to the group, any operation applied to the group will be applied to all instances in the group.

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

A response object containing details about the completed operation

Examples

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

AttachSoftwareSourcesToManagedInstanceGroup(AttachSoftwareSourcesToManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Attaches software sources to the specified managed instance group. The software sources must be compatible with the type of instances in the group.

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

A response object containing details about the completed operation

Examples

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

ChangeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves the specified managed instance group to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.

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

A response object containing details about the completed operation

Examples

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

CreateManagedInstanceGroup(CreateManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new managed instance group.

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

A response object containing details about the completed operation

Examples

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

DeleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes the specified managed instance group.

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

A response object containing details about the completed operation

Examples

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

DetachManagedInstancesFromManagedInstanceGroup(DetachManagedInstancesFromManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Removes a managed instance from the specified managed instance group.

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

A response object containing details about the completed operation

Examples

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

DetachSoftwareSourcesFromManagedInstanceGroup(DetachSoftwareSourcesFromManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Detaches the specified software sources from a managed instance group.

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

A response object containing details about the completed operation

Examples

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

DisableModuleStreamOnManagedInstanceGroup(DisableModuleStreamOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Disables a module stream on a managed instance group. After the stream is disabled, you can no longer install the profiles contained by the stream. Before removing the stream, you must remove all installed profiles for the stream by using the {@link #removeModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest) removeModuleStreamProfileFromManagedInstanceGroup} operation.

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

A response object containing details about the completed operation

Examples

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

EnableModuleStreamOnManagedInstanceGroup(EnableModuleStreamOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Enables a module stream on a managed instance group. After the stream is enabled, you can install a module stream profile. Enabling a stream that is already enabled will succeed. Enabling a different stream for a module that already has a stream enabled results in an error. Instead, use the {@link #switchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest) switchModuleStreamOnManagedInstanceGroup} operation.

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

A response object containing details about the completed operation

Examples

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

GetManagedInstanceGroup(GetManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets information about the specified managed instance group.

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

A response object containing details about the completed operation

Examples

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

InstallModuleStreamProfileOnManagedInstanceGroup(InstallModuleStreamProfileOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Installs a profile for an enabled module stream. If a module stream defines multiple profiles, you can install each one independently.

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

A response object containing details about the completed operation

Examples

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

InstallPackagesOnManagedInstanceGroup(InstallPackagesOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Installs the specified packages on each managed instance in a managed instance group. The package must be compatible with the instances in the group.

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

A response object containing details about the completed operation

Examples

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

InstallWindowsUpdatesOnManagedInstanceGroup(InstallWindowsUpdatesOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Installs Windows updates on each managed instance in the managed instance group.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroupAvailableModules(ListManagedInstanceGroupAvailableModulesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

List modules that are available for installation on the specified managed instance group. Filter the list against a variety of criteria including but not limited to module name.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroupAvailablePackages(ListManagedInstanceGroupAvailablePackagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists available packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroupAvailableSoftwareSources(ListManagedInstanceGroupAvailableSoftwareSourcesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists available software sources for a specified managed instance group. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the group.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroupInstalledPackages(ListManagedInstanceGroupInstalledPackagesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists installed packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroupModules(ListManagedInstanceGroupModulesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieve a list of module streams, along with a summary of their status, from a managed instance group. Filters may be applied to select a subset of module streams based on the filter criteria. <br/> The 'moduleName' attribute filters against the name of a module. It accepts strings of the format "<module>". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. <br/> The "status" attribute filters against the state of a module stream. Valid values are "ENABLED", "DISABLED", and "ACTIVE". If the attribute is set to "ENABLED", only module streams that are enabled are included in the result set. If the attribute is set to "DISABLED", only module streams that are not enabled are included in the result set. If the attribute is set to "ACTIVE", only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter. <br/> When sorting by the display name, the result set is sorted first by the module name and then by the stream name.

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

A response object containing details about the completed operation

Examples

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

ListManagedInstanceGroups(ListManagedInstanceGroupsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.

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

A response object containing details about the completed operation

Examples

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

ManageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest, 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 #manageModuleStreamsOnManagedInstanceGroupDetails(ManageModuleStreamsOnManagedInstanceGroupDetailsRequest) manageModuleStreamsOnManagedInstanceGroupDetails} 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<ManageModuleStreamsOnManagedInstanceGroupResponse> ManageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ManageModuleStreamsOnManagedInstanceGroupRequest 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<ManageModuleStreamsOnManagedInstanceGroupResponse>

A response object containing details about the completed operation

Examples

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

RebootManagedInstanceGroup(RebootManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Reboots all managed instances in the specified group.

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

A response object containing details about the completed operation

Examples

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

RemoveModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Removes a profile for a module stream that is installed on a managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.

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

A response object containing details about the completed operation

Examples

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

RemovePackagesFromManagedInstanceGroup(RemovePackagesFromManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Removes the specified packages from each managed instance in a managed instance group.

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

A response object containing details about the completed operation

Examples

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

SwitchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest, 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<SwitchModuleStreamOnManagedInstanceGroupResponse> SwitchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SwitchModuleStreamOnManagedInstanceGroupRequest 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<SwitchModuleStreamOnManagedInstanceGroupResponse>

A response object containing details about the completed operation

Examples

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

UpdateAllPackagesOnManagedInstanceGroup(UpdateAllPackagesOnManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates all packages on each managed instance in the specified managed instance group.

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

A response object containing details about the completed operation

Examples

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

UpdateManagedInstanceGroup(UpdateManagedInstanceGroupRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the specified managed instance group's name, description, and tags.

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

A response object containing details about the completed operation

Examples

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

Implements

IDisposable
In this article
Back to top