Class ManagedInstanceGroupClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.osmanagementhub.ManagedInstanceGroupClient
-
- All Implemented Interfaces:
ManagedInstanceGroup,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ManagedInstanceGroupClient extends BaseSyncClient implements ManagedInstanceGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedInstanceGroupClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for ManagedInstanceGroup.
-
Constructor Summary
Constructors Constructor Description ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.osmanagementhub.ManagedInstanceGroup
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-ManagedInstanceGroupClient.Builder.executorService
-
-
Method Detail
-
builder
public static ManagedInstanceGroupClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ManagedInstanceGroupSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceManagedInstanceGroup- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagedInstanceGroupSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceManagedInstanceGroup- Parameters:
regionId- The public region ID.
-
attachManagedInstancesToManagedInstanceGroup
public AttachManagedInstancesToManagedInstanceGroupResponse attachManagedInstancesToManagedInstanceGroup(AttachManagedInstancesToManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupAdds 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.
- Specified by:
attachManagedInstancesToManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
attachSoftwareSourcesToManagedInstanceGroup
public AttachSoftwareSourcesToManagedInstanceGroupResponse attachSoftwareSourcesToManagedInstanceGroup(AttachSoftwareSourcesToManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupAttaches software sources to the specified managed instance group.The software sources must be compatible with the type of instances in the group.
- Specified by:
attachSoftwareSourcesToManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeManagedInstanceGroupCompartment
public ChangeManagedInstanceGroupCompartmentResponse changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request)
Description copied from interface:ManagedInstanceGroupMoves 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.
- Specified by:
changeManagedInstanceGroupCompartmentin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createManagedInstanceGroup
public CreateManagedInstanceGroupResponse createManagedInstanceGroup(CreateManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupCreates a new managed instance group.- Specified by:
createManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteManagedInstanceGroup
public DeleteManagedInstanceGroupResponse deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupDeletes the specified managed instance group.- Specified by:
deleteManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachManagedInstancesFromManagedInstanceGroup
public DetachManagedInstancesFromManagedInstanceGroupResponse detachManagedInstancesFromManagedInstanceGroup(DetachManagedInstancesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupRemoves a managed instance from the specified managed instance group.- Specified by:
detachManagedInstancesFromManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachSoftwareSourcesFromManagedInstanceGroup
public DetachSoftwareSourcesFromManagedInstanceGroupResponse detachSoftwareSourcesFromManagedInstanceGroup(DetachSoftwareSourcesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupDetaches the specified software sources from a managed instance group.- Specified by:
detachSoftwareSourcesFromManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableModuleStreamOnManagedInstanceGroup
public DisableModuleStreamOnManagedInstanceGroupResponse disableModuleStreamOnManagedInstanceGroup(DisableModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupDisables 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
removeModuleStreamProfileFromManagedInstanceGroupoperation.- Specified by:
disableModuleStreamOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableModuleStreamOnManagedInstanceGroup
public EnableModuleStreamOnManagedInstanceGroupResponse enableModuleStreamOnManagedInstanceGroup(EnableModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupEnables 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
switchModuleStreamOnManagedInstanceGroupoperation.- Specified by:
enableModuleStreamOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagedInstanceGroup
public GetManagedInstanceGroupResponse getManagedInstanceGroup(GetManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupGets information about the specified managed instance group.- Specified by:
getManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installModuleStreamProfileOnManagedInstanceGroup
public InstallModuleStreamProfileOnManagedInstanceGroupResponse installModuleStreamProfileOnManagedInstanceGroup(InstallModuleStreamProfileOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupInstalls a profile for an enabled module stream.If a module stream defines multiple profiles, you can install each one independently.
- Specified by:
installModuleStreamProfileOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installPackagesOnManagedInstanceGroup
public InstallPackagesOnManagedInstanceGroupResponse installPackagesOnManagedInstanceGroup(InstallPackagesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupInstalls the specified packages on each managed instance in a managed instance group.The package must be compatible with the instances in the group.
- Specified by:
installPackagesOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installWindowsUpdatesOnManagedInstanceGroup
public InstallWindowsUpdatesOnManagedInstanceGroupResponse installWindowsUpdatesOnManagedInstanceGroup(InstallWindowsUpdatesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupInstalls Windows updates on each managed instance in the managed instance group.- Specified by:
installWindowsUpdatesOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailableModules
public ListManagedInstanceGroupAvailableModulesResponse listManagedInstanceGroupAvailableModules(ListManagedInstanceGroupAvailableModulesRequest request)
Description copied from interface:ManagedInstanceGroupList 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.
- Specified by:
listManagedInstanceGroupAvailableModulesin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailablePackages
public ListManagedInstanceGroupAvailablePackagesResponse listManagedInstanceGroupAvailablePackages(ListManagedInstanceGroupAvailablePackagesRequest request)
Description copied from interface:ManagedInstanceGroupLists available packages on the specified managed instances group.Filter the list against a variety of criteria including but not limited to the package name.
- Specified by:
listManagedInstanceGroupAvailablePackagesin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailableSoftwareSources
public ListManagedInstanceGroupAvailableSoftwareSourcesResponse listManagedInstanceGroupAvailableSoftwareSources(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request)
Description copied from interface:ManagedInstanceGroupLists 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.
- Specified by:
listManagedInstanceGroupAvailableSoftwareSourcesin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupInstalledPackages
public ListManagedInstanceGroupInstalledPackagesResponse listManagedInstanceGroupInstalledPackages(ListManagedInstanceGroupInstalledPackagesRequest request)
Description copied from interface:ManagedInstanceGroupLists installed packages on the specified managed instances group.Filter the list against a variety of criteria including but not limited to the package name.
- Specified by:
listManagedInstanceGroupInstalledPackagesin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupModules
public ListManagedInstanceGroupModulesResponse listManagedInstanceGroupModules(ListManagedInstanceGroupModulesRequest request)
Description copied from interface:ManagedInstanceGroupRetrieve 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.
The 'moduleName' attribute filters against the name of a module. It accepts strings of the format \"
\". 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. 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.
When sorting by the display name, the result set is sorted first by the module name and then by the stream name.
- Specified by:
listManagedInstanceGroupModulesin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroups
public ListManagedInstanceGroupsResponse listManagedInstanceGroups(ListManagedInstanceGroupsRequest request)
Description copied from interface:ManagedInstanceGroupLists 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.
- Specified by:
listManagedInstanceGroupsin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
manageModuleStreamsOnManagedInstanceGroup
public ManageModuleStreamsOnManagedInstanceGroupResponse manageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupEnables 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
manageModuleStreamsOnManagedInstanceGroupDetailsfor 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.- Specified by:
manageModuleStreamsOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
rebootManagedInstanceGroup
public RebootManagedInstanceGroupResponse rebootManagedInstanceGroup(RebootManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupReboots all managed instances in the specified group.- Specified by:
rebootManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeModuleStreamProfileFromManagedInstanceGroup
public RemoveModuleStreamProfileFromManagedInstanceGroupResponse removeModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupRemoves 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.
- Specified by:
removeModuleStreamProfileFromManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removePackagesFromManagedInstanceGroup
public RemovePackagesFromManagedInstanceGroupResponse removePackagesFromManagedInstanceGroup(RemovePackagesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupRemoves the specified packages from each managed instance in a managed instance group.- Specified by:
removePackagesFromManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
switchModuleStreamOnManagedInstanceGroup
public SwitchModuleStreamOnManagedInstanceGroupResponse switchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupEnables 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.
- Specified by:
switchModuleStreamOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAllPackagesOnManagedInstanceGroup
public UpdateAllPackagesOnManagedInstanceGroupResponse updateAllPackagesOnManagedInstanceGroup(UpdateAllPackagesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupUpdates all packages on each managed instance in the specified managed instance group.- Specified by:
updateAllPackagesOnManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateManagedInstanceGroup
public UpdateManagedInstanceGroupResponse updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroupUpdates the specified managed instance group’s name, description, and tags.- Specified by:
updateManagedInstanceGroupin interfaceManagedInstanceGroup- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public ManagedInstanceGroupWaiters getWaiters()
Description copied from interface:ManagedInstanceGroupGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceManagedInstanceGroup- Returns:
- The service waiters.
-
getPaginators
public ManagedInstanceGroupPaginators getPaginators()
Description copied from interface:ManagedInstanceGroupGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceManagedInstanceGroup- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-