func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAgentAgentTypeEnumStringValues() []string
GetAgentAgentTypeEnumStringValues Enumerates the set of values in String for AgentAgentTypeEnum
func GetAgentDependencyLifecycleStateEnumStringValues() []string
GetAgentDependencyLifecycleStateEnumStringValues Enumerates the set of values in String for AgentDependencyLifecycleStateEnum
func GetAgentHeartBeatStatusEnumStringValues() []string
GetAgentHeartBeatStatusEnumStringValues Enumerates the set of values in String for AgentHeartBeatStatusEnum
func GetAgentLifecycleStateEnumStringValues() []string
GetAgentLifecycleStateEnumStringValues Enumerates the set of values in String for AgentLifecycleStateEnum
func GetAnalyzeAssetsAssetTypeEnumStringValues() []string
GetAnalyzeAssetsAssetTypeEnumStringValues Enumerates the set of values in String for AnalyzeAssetsAssetTypeEnum
func GetAnalyzeAssetsSortOrderEnumStringValues() []string
GetAnalyzeAssetsSortOrderEnumStringValues Enumerates the set of values in String for AnalyzeAssetsSortOrderEnum
func GetApplianceImageSummaryLifecycleStateEnumStringValues() []string
GetApplianceImageSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ApplianceImageSummaryLifecycleStateEnum
func GetAssetLifecycleStateEnumStringValues() []string
GetAssetLifecycleStateEnumStringValues Enumerates the set of values in String for AssetLifecycleStateEnum
func GetAssetSourceConnectionLifecycleStateEnumStringValues() []string
GetAssetSourceConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceConnectionLifecycleStateEnum
func GetAssetSourceConnectionTypeEnumStringValues() []string
GetAssetSourceConnectionTypeEnumStringValues Enumerates the set of values in String for AssetSourceConnectionTypeEnum
func GetAssetSourceCredentialsTypeEnumStringValues() []string
GetAssetSourceCredentialsTypeEnumStringValues Enumerates the set of values in String for AssetSourceCredentialsTypeEnum
func GetAssetSourceLifecycleStateEnumStringValues() []string
GetAssetSourceLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceLifecycleStateEnum
func GetAssetSourceTypeEnumStringValues() []string
GetAssetSourceTypeEnumStringValues Enumerates the set of values in String for AssetSourceTypeEnum
func GetAssetTypeEnumStringValues() []string
GetAssetTypeEnumStringValues Enumerates the set of values in String for AssetTypeEnum
func GetDiscoveryScheduleLifecycleStateEnumStringValues() []string
GetDiscoveryScheduleLifecycleStateEnumStringValues Enumerates the set of values in String for DiscoveryScheduleLifecycleStateEnum
func GetEnvironmentLifecycleStateEnumStringValues() []string
GetEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for EnvironmentLifecycleStateEnum
func GetImportInventoryDetailsResourceTypeEnumStringValues() []string
GetImportInventoryDetailsResourceTypeEnumStringValues Enumerates the set of values in String for ImportInventoryDetailsResourceTypeEnum
func GetInventoryLifecycleStateEnumStringValues() []string
GetInventoryLifecycleStateEnumStringValues Enumerates the set of values in String for InventoryLifecycleStateEnum
func GetListAgentDependenciesSortByEnumStringValues() []string
GetListAgentDependenciesSortByEnumStringValues Enumerates the set of values in String for ListAgentDependenciesSortByEnum
func GetListAgentDependenciesSortOrderEnumStringValues() []string
GetListAgentDependenciesSortOrderEnumStringValues Enumerates the set of values in String for ListAgentDependenciesSortOrderEnum
func GetListAgentsSortByEnumStringValues() []string
GetListAgentsSortByEnumStringValues Enumerates the set of values in String for ListAgentsSortByEnum
func GetListAgentsSortOrderEnumStringValues() []string
GetListAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListAgentsSortOrderEnum
func GetListApplianceImagesSortByEnumStringValues() []string
GetListApplianceImagesSortByEnumStringValues Enumerates the set of values in String for ListApplianceImagesSortByEnum
func GetListApplianceImagesSortOrderEnumStringValues() []string
GetListApplianceImagesSortOrderEnumStringValues Enumerates the set of values in String for ListApplianceImagesSortOrderEnum
func GetListAssetSourcesLifecycleStateEnumStringValues() []string
GetListAssetSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAssetSourcesLifecycleStateEnum
func GetListAssetSourcesSortByEnumStringValues() []string
GetListAssetSourcesSortByEnumStringValues Enumerates the set of values in String for ListAssetSourcesSortByEnum
func GetListAssetSourcesSortOrderEnumStringValues() []string
GetListAssetSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListAssetSourcesSortOrderEnum
func GetListAssetsAssetTypeEnumStringValues() []string
GetListAssetsAssetTypeEnumStringValues Enumerates the set of values in String for ListAssetsAssetTypeEnum
func GetListAssetsSortByEnumStringValues() []string
GetListAssetsSortByEnumStringValues Enumerates the set of values in String for ListAssetsSortByEnum
func GetListAssetsSortOrderEnumStringValues() []string
GetListAssetsSortOrderEnumStringValues Enumerates the set of values in String for ListAssetsSortOrderEnum
func GetListDiscoverySchedulesLifecycleStateEnumStringValues() []string
GetListDiscoverySchedulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesLifecycleStateEnum
func GetListDiscoverySchedulesSortByEnumStringValues() []string
GetListDiscoverySchedulesSortByEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesSortByEnum
func GetListDiscoverySchedulesSortOrderEnumStringValues() []string
GetListDiscoverySchedulesSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesSortOrderEnum
func GetListEnvironmentsSortByEnumStringValues() []string
GetListEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListEnvironmentsSortByEnum
func GetListEnvironmentsSortOrderEnumStringValues() []string
GetListEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListEnvironmentsSortOrderEnum
func GetListHistoricalMetricsSortByEnumStringValues() []string
GetListHistoricalMetricsSortByEnumStringValues Enumerates the set of values in String for ListHistoricalMetricsSortByEnum
func GetListHistoricalMetricsSortOrderEnumStringValues() []string
GetListHistoricalMetricsSortOrderEnumStringValues Enumerates the set of values in String for ListHistoricalMetricsSortOrderEnum
func GetListInventoriesSortByEnumStringValues() []string
GetListInventoriesSortByEnumStringValues Enumerates the set of values in String for ListInventoriesSortByEnum
func GetListInventoriesSortOrderEnumStringValues() []string
GetListInventoriesSortOrderEnumStringValues Enumerates the set of values in String for ListInventoriesSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPluginDesiredStateEnumStringValues() []string
GetPluginDesiredStateEnumStringValues Enumerates the set of values in String for PluginDesiredStateEnum
func GetPluginLifecycleStateEnumStringValues() []string
GetPluginLifecycleStateEnumStringValues Enumerates the set of values in String for PluginLifecycleStateEnum
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddAgentDependencyDetails The information to be updated.
type AddAgentDependencyDetails struct { // The OCID of the agentDependency, which is added to the source environment. AgentDependencyId *string `mandatory:"true" json:"agentDependencyId"` }
func (m AddAgentDependencyDetails) String() string
func (m AddAgentDependencyDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddAgentDependencyRequest wrapper for the AddAgentDependency operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/AddAgentDependency.go.html to see an example of how to use AddAgentDependencyRequest.
type AddAgentDependencyRequest struct { // Unique environment identifier. EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"` // The information to be updated. AddAgentDependencyDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AddAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddAgentDependencyRequest) String() string
func (request AddAgentDependencyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddAgentDependencyResponse wrapper for the AddAgentDependency operation
type AddAgentDependencyResponse struct { // The underlying http response RawResponse *http.Response // The Environment instance Environment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AddAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddAgentDependencyResponse) String() string
Agent Description of Agent.
type Agent struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Agent identifier, can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of the Agent. AgentType AgentAgentTypeEnum `mandatory:"true" json:"agentType"` // Agent identifier. AgentVersion *string `mandatory:"true" json:"agentVersion"` // OS version. OsVersion *string `mandatory:"true" json:"osVersion"` // The time when the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Environment identifier. EnvironmentId *string `mandatory:"true" json:"environmentId"` // The current state of the Agent. LifecycleState AgentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The time when the Agent was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string. TimeLastSyncReceived *common.SDKTime `mandatory:"false" json:"timeLastSyncReceived"` // The current heartbeat status of the Agent based on its timeLastSyncReceived value. HeartBeatStatus AgentHeartBeatStatusEnum `mandatory:"false" json:"heartBeatStatus,omitempty"` // Resource principal public key. AgentPubKey *string `mandatory:"false" json:"agentPubKey"` // The time since epoch for when the public key will expire. An RFC3339 formatted datetime string. TimeExpireAgentKeyInMs *common.SDKTime `mandatory:"false" json:"timeExpireAgentKeyInMs"` // A message describing the current state of the Agent in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // List of plugins associated with the agent. PluginList []PluginSummary `mandatory:"false" json:"pluginList"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Agent) String() string
func (m Agent) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentAgentTypeEnum Enum with underlying type: string
type AgentAgentTypeEnum string
Set of constants representing the allowable values for AgentAgentTypeEnum
const ( AgentAgentTypeAppliance AgentAgentTypeEnum = "APPLIANCE" )
func GetAgentAgentTypeEnumValues() []AgentAgentTypeEnum
GetAgentAgentTypeEnumValues Enumerates the set of values for AgentAgentTypeEnum
func GetMappingAgentAgentTypeEnum(val string) (AgentAgentTypeEnum, bool)
GetMappingAgentAgentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AgentCollection Displays results of an Agent search. Contains both AgentSummary items and other information, such as metadata.
type AgentCollection struct { // List of Agents. Items []AgentSummary `mandatory:"true" json:"items"` }
func (m AgentCollection) String() string
func (m AgentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentDependency Description of the AgentDependency, which is a sub-resource of the external environment.
type AgentDependency struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Display name of the Agent dependency. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the dependency type. This should match the whitelisted enum of dependency names. DependencyName *string `mandatory:"true" json:"dependencyName"` // Object storage namespace associated with the customer's tenancy. Namespace *string `mandatory:"true" json:"namespace"` // Object storage bucket where the Agent dependency is uploaded. Bucket *string `mandatory:"true" json:"bucket"` // Name of the dependency object uploaded by the customer. ObjectName *string `mandatory:"true" json:"objectName"` // Version of the Agent dependency. DependencyVersion *string `mandatory:"false" json:"dependencyVersion"` // Description about the Agent dependency. Description *string `mandatory:"false" json:"description"` // The time when the AgentDependency was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The eTag associated with the dependency object returned by Object Storage. ETag *string `mandatory:"false" json:"eTag"` // The checksum associated with the dependency object returned by Object Storage. Checksum *string `mandatory:"false" json:"checksum"` // The current state of AgentDependency. LifecycleState AgentDependencyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AgentDependency) String() string
func (m AgentDependency) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentDependencyCollection Results of an AgentDependency list. Contains both AgentDependency items and other information, such as metadata.
type AgentDependencyCollection struct { // List of EnvironmentDependencies. Items []AgentDependencySummary `mandatory:"true" json:"items"` }
func (m AgentDependencyCollection) String() string
func (m AgentDependencyCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentDependencyLifecycleStateEnum Enum with underlying type: string
type AgentDependencyLifecycleStateEnum string
Set of constants representing the allowable values for AgentDependencyLifecycleStateEnum
const ( AgentDependencyLifecycleStateCreating AgentDependencyLifecycleStateEnum = "CREATING" AgentDependencyLifecycleStateUpdating AgentDependencyLifecycleStateEnum = "UPDATING" AgentDependencyLifecycleStateActive AgentDependencyLifecycleStateEnum = "ACTIVE" AgentDependencyLifecycleStateDeleting AgentDependencyLifecycleStateEnum = "DELETING" AgentDependencyLifecycleStateDeleted AgentDependencyLifecycleStateEnum = "DELETED" AgentDependencyLifecycleStateFailed AgentDependencyLifecycleStateEnum = "FAILED" )
func GetAgentDependencyLifecycleStateEnumValues() []AgentDependencyLifecycleStateEnum
GetAgentDependencyLifecycleStateEnumValues Enumerates the set of values for AgentDependencyLifecycleStateEnum
func GetMappingAgentDependencyLifecycleStateEnum(val string) (AgentDependencyLifecycleStateEnum, bool)
GetMappingAgentDependencyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AgentDependencySummary Description of the AgentDependency, which is a sub-resource of the external environment.
type AgentDependencySummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Display name of the Agent dependency. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the dependency type. This should match the whitelisted enum of dependency names. DependencyName *string `mandatory:"true" json:"dependencyName"` // Object storage namespace associated with the customer's tenancy. Namespace *string `mandatory:"true" json:"namespace"` // Object storage bucket where the Agent dependency is uploaded. Bucket *string `mandatory:"true" json:"bucket"` // Name of the dependency object uploaded by the customer. ObjectName *string `mandatory:"true" json:"objectName"` // Version of the Agent dependency. DependencyVersion *string `mandatory:"false" json:"dependencyVersion"` // Description about the Agent dependency. Description *string `mandatory:"false" json:"description"` // The time when the AgentDependency was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The eTag associated with the dependency object returned by Object Storage. ETag *string `mandatory:"false" json:"eTag"` // The checksum associated with the dependency object returned by Object Storage. Checksum *string `mandatory:"false" json:"checksum"` // The current state of the external environment. LifecycleState AgentDependencyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AgentDependencySummary) String() string
func (m AgentDependencySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AgentHeartBeatStatusEnum Enum with underlying type: string
type AgentHeartBeatStatusEnum string
Set of constants representing the allowable values for AgentHeartBeatStatusEnum
const ( AgentHeartBeatStatusHealthy AgentHeartBeatStatusEnum = "HEALTHY" AgentHeartBeatStatusUnhealthy AgentHeartBeatStatusEnum = "UNHEALTHY" AgentHeartBeatStatusFailed AgentHeartBeatStatusEnum = "FAILED" AgentHeartBeatStatusInactive AgentHeartBeatStatusEnum = "INACTIVE" )
func GetAgentHeartBeatStatusEnumValues() []AgentHeartBeatStatusEnum
GetAgentHeartBeatStatusEnumValues Enumerates the set of values for AgentHeartBeatStatusEnum
func GetMappingAgentHeartBeatStatusEnum(val string) (AgentHeartBeatStatusEnum, bool)
GetMappingAgentHeartBeatStatusEnum performs case Insensitive comparison on enum value and return the desired enum
AgentLifecycleStateEnum Enum with underlying type: string
type AgentLifecycleStateEnum string
Set of constants representing the allowable values for AgentLifecycleStateEnum
const ( AgentLifecycleStateCreating AgentLifecycleStateEnum = "CREATING" AgentLifecycleStateActive AgentLifecycleStateEnum = "ACTIVE" AgentLifecycleStateInactive AgentLifecycleStateEnum = "INACTIVE" AgentLifecycleStateDeleted AgentLifecycleStateEnum = "DELETED" AgentLifecycleStateFailed AgentLifecycleStateEnum = "FAILED" )
func GetAgentLifecycleStateEnumValues() []AgentLifecycleStateEnum
GetAgentLifecycleStateEnumValues Enumerates the set of values for AgentLifecycleStateEnum
func GetMappingAgentLifecycleStateEnum(val string) (AgentLifecycleStateEnum, bool)
GetMappingAgentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AgentSummary Summary of the Agent.
type AgentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Agent identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of Agent. AgentType AgentAgentTypeEnum `mandatory:"true" json:"agentType"` // Agent identifier. AgentVersion *string `mandatory:"true" json:"agentVersion"` // OS version. OsVersion *string `mandatory:"true" json:"osVersion"` // The time when the Agent was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the Agent was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Environment identifier. EnvironmentId *string `mandatory:"true" json:"environmentId"` // The current state of the Agent. LifecycleState AgentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string. TimeLastSyncReceived *common.SDKTime `mandatory:"false" json:"timeLastSyncReceived"` // Current heartbeat status of the Agent based on its timeLastSyncReceived value. HeartBeatStatus AgentHeartBeatStatusEnum `mandatory:"false" json:"heartBeatStatus,omitempty"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AgentSummary) String() string
func (m AgentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeAssetsAssetTypeEnum Enum with underlying type: string
type AnalyzeAssetsAssetTypeEnum string
Set of constants representing the allowable values for AnalyzeAssetsAssetTypeEnum
const ( AnalyzeAssetsAssetTypeVmwareVm AnalyzeAssetsAssetTypeEnum = "VMWARE_VM" AnalyzeAssetsAssetTypeVm AnalyzeAssetsAssetTypeEnum = "VM" )
func GetAnalyzeAssetsAssetTypeEnumValues() []AnalyzeAssetsAssetTypeEnum
GetAnalyzeAssetsAssetTypeEnumValues Enumerates the set of values for AnalyzeAssetsAssetTypeEnum
func GetMappingAnalyzeAssetsAssetTypeEnum(val string) (AnalyzeAssetsAssetTypeEnum, bool)
GetMappingAnalyzeAssetsAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AnalyzeAssetsRequest wrapper for the AnalyzeAssets operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/AnalyzeAssets.go.html to see an example of how to use AnalyzeAssetsRequest.
type AnalyzeAssetsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // An array of properties on which to aggregate. AggregationProperties []string `contributesTo:"query" name:"aggregationProperties" collectionFormat:"multi"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only assets whose lifecycleState matches the given lifecycleState. LifecycleState AssetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Source key from where the assets originate. SourceKey *string `mandatory:"false" contributesTo:"query" name:"sourceKey"` // External asset key. ExternalAssetKey *string `mandatory:"false" contributesTo:"query" name:"externalAssetKey"` // The type of asset. AssetType AnalyzeAssetsAssetTypeEnum `mandatory:"false" contributesTo:"query" name:"assetType" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder AnalyzeAssetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The dimensions in which to group the aggregations. GroupBy []string `contributesTo:"query" name:"groupBy" collectionFormat:"multi"` // Unique Inventory identifier. InventoryId *string `mandatory:"false" contributesTo:"query" name:"inventoryId"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AnalyzeAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AnalyzeAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AnalyzeAssetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AnalyzeAssetsRequest) String() string
func (request AnalyzeAssetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnalyzeAssetsResponse wrapper for the AnalyzeAssets operation
type AnalyzeAssetsResponse struct { // The underlying http response RawResponse *http.Response // A list of AssetAggregationCollection instances AssetAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response AnalyzeAssetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AnalyzeAssetsResponse) String() string
AnalyzeAssetsSortOrderEnum Enum with underlying type: string
type AnalyzeAssetsSortOrderEnum string
Set of constants representing the allowable values for AnalyzeAssetsSortOrderEnum
const ( AnalyzeAssetsSortOrderAsc AnalyzeAssetsSortOrderEnum = "ASC" AnalyzeAssetsSortOrderDesc AnalyzeAssetsSortOrderEnum = "DESC" )
func GetAnalyzeAssetsSortOrderEnumValues() []AnalyzeAssetsSortOrderEnum
GetAnalyzeAssetsSortOrderEnumValues Enumerates the set of values for AnalyzeAssetsSortOrderEnum
func GetMappingAnalyzeAssetsSortOrderEnum(val string) (AnalyzeAssetsSortOrderEnum, bool)
GetMappingAnalyzeAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ApplianceImageCollection Results of an ApplianceImage search.
type ApplianceImageCollection struct { // List of appliance images. Items []ApplianceImageSummary `mandatory:"true" json:"items"` }
func (m ApplianceImageCollection) String() string
func (m ApplianceImageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApplianceImageSummary Description of the ApplianceImage.
type ApplianceImageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The name of the appliance Image file. FileName *string `mandatory:"true" json:"fileName"` // The name of the image to be displayed. DisplayName *string `mandatory:"true" json:"displayName"` // The version of the image file. Version *string `mandatory:"true" json:"version"` // The size of the image file in megabytes. SizeInMBs *string `mandatory:"true" json:"sizeInMBs"` // The checksum of the image file. Checksum *string `mandatory:"true" json:"checksum"` // The virtualization platform that the image file supports. Platform *string `mandatory:"true" json:"platform"` // The file format of the image file. Format *string `mandatory:"true" json:"format"` // The time when the appliance image was created.An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the appliance image was last updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The URL from which the appliance image can be downloaded. DownloadUrl *string `mandatory:"true" json:"downloadUrl"` // The current state of the appliance image. LifecycleState ApplianceImageSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ApplianceImageSummary) String() string
func (m ApplianceImageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApplianceImageSummaryLifecycleStateEnum Enum with underlying type: string
type ApplianceImageSummaryLifecycleStateEnum string
Set of constants representing the allowable values for ApplianceImageSummaryLifecycleStateEnum
const ( ApplianceImageSummaryLifecycleStateCreating ApplianceImageSummaryLifecycleStateEnum = "CREATING" ApplianceImageSummaryLifecycleStateUpdating ApplianceImageSummaryLifecycleStateEnum = "UPDATING" ApplianceImageSummaryLifecycleStateActive ApplianceImageSummaryLifecycleStateEnum = "ACTIVE" ApplianceImageSummaryLifecycleStateDeleting ApplianceImageSummaryLifecycleStateEnum = "DELETING" ApplianceImageSummaryLifecycleStateDeleted ApplianceImageSummaryLifecycleStateEnum = "DELETED" ApplianceImageSummaryLifecycleStateFailed ApplianceImageSummaryLifecycleStateEnum = "FAILED" )
func GetApplianceImageSummaryLifecycleStateEnumValues() []ApplianceImageSummaryLifecycleStateEnum
GetApplianceImageSummaryLifecycleStateEnumValues Enumerates the set of values for ApplianceImageSummaryLifecycleStateEnum
func GetMappingApplianceImageSummaryLifecycleStateEnum(val string) (ApplianceImageSummaryLifecycleStateEnum, bool)
GetMappingApplianceImageSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
Asset Description of an asset.
type Asset interface { // Inventory ID to which an asset belongs to. GetInventoryId() *string // Asset OCID that is immutable on creation. GetId() *string // The OCID of the compartment to which an asset belongs to. GetCompartmentId() *string // The source key that the asset belongs to. GetSourceKey() *string // The key of the asset from the external environment. GetExternalAssetKey() *string // The time when the asset was created. An RFC3339 formatted datetime string. GetTimeCreated() *common.SDKTime // The time when the asset was updated. An RFC3339 formatted datetime string. GetTimeUpdated() *common.SDKTime // The current state of the asset. GetLifecycleState() AssetLifecycleStateEnum // Asset display name. GetDisplayName() *string // List of asset source OCID. GetAssetSourceIds() []string // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` GetSystemTags() map[string]map[string]interface{} }
AssetAggregation The result of an analytics aggregation on a set of assets.
type AssetAggregation struct { // Aggregated property. AggregatedProperty *string `mandatory:"true" json:"aggregatedProperty"` // The dimensions along which assets can be aggregated for analytics. Dimensions map[string]string `mandatory:"false" json:"dimensions"` // Returns the total number of observations from the group of assets. Count *int64 `mandatory:"false" json:"count"` // Returns the highest value from all the assets. Max *float64 `mandatory:"false" json:"max"` // Returns the value of sum divided by count from the group of assets. Mean *float64 `mandatory:"false" json:"mean"` // Returns the lowest value from the group of assets. Min *float64 `mandatory:"false" json:"min"` // Returns all values added together from the group of assets. Sum *float64 `mandatory:"false" json:"sum"` }
func (m AssetAggregation) String() string
func (m AssetAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetAggregationCollection The result of an analytics aggregation on a set of assets.
type AssetAggregationCollection struct { // List of asset aggregations. Items []AssetAggregation `mandatory:"true" json:"items"` }
func (m AssetAggregationCollection) String() string
func (m AssetAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetCollection Results of a set of asset summary.
type AssetCollection struct { // List of assets. Items []AssetSummary `mandatory:"true" json:"items"` }
func (m AssetCollection) String() string
func (m AssetCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetLifecycleStateEnum Enum with underlying type: string
type AssetLifecycleStateEnum string
Set of constants representing the allowable values for AssetLifecycleStateEnum
const ( AssetLifecycleStateActive AssetLifecycleStateEnum = "ACTIVE" AssetLifecycleStateDeleted AssetLifecycleStateEnum = "DELETED" )
func GetAssetLifecycleStateEnumValues() []AssetLifecycleStateEnum
GetAssetLifecycleStateEnumValues Enumerates the set of values for AssetLifecycleStateEnum
func GetMappingAssetLifecycleStateEnum(val string) (AssetLifecycleStateEnum, bool)
GetMappingAssetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSource Asset source.
type AssetSource interface { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource. GetId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource. GetCompartmentId() *string // A user-friendly name for the asset source. Does not have to be unique, and it's mutable. // Avoid entering confidential information. GetDisplayName() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment. GetEnvironmentId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets. GetInventoryId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets. GetAssetsCompartmentId() *string // The current state of the asset source. GetLifecycleState() AssetSourceLifecycleStateEnum // The detailed state of the asset source. GetLifecycleDetails() *string // The time when the asset source was created in the RFC3339 format. GetTimeCreated() *common.SDKTime // The point in time that the asset source was last updated in the RFC3339 format. GetTimeUpdated() *common.SDKTime // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of an attached discovery schedule. GetDiscoveryScheduleId() *string // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` GetSystemTags() map[string]map[string]interface{} }
AssetSourceCollection Results of an asset source search. Contains asset source items.
type AssetSourceCollection struct { // List of asset sources. Items []AssetSourceSummary `mandatory:"true" json:"items"` }
func (m AssetSourceCollection) String() string
func (m *AssetSourceCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AssetSourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetSourceConnection Descriptor of a connection to an asset source.
type AssetSourceConnection struct { // The type of connection for an asset source. ConnectionType AssetSourceConnectionTypeEnum `mandatory:"true" json:"connectionType"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cloud bridge connector used for migration operations. ConnectorId *string `mandatory:"true" json:"connectorId"` // Type-specific identifier for an asset source. AssetSourceKey *string `mandatory:"true" json:"assetSourceKey"` // The current state of the connection. LifecycleState AssetSourceConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed sub-state of the connection. LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` }
func (m AssetSourceConnection) String() string
func (m AssetSourceConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetSourceConnectionCollection List of connections for an asset source.
type AssetSourceConnectionCollection struct { // List of connections. Items []AssetSourceConnection `mandatory:"true" json:"items"` }
func (m AssetSourceConnectionCollection) String() string
func (m AssetSourceConnectionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetSourceConnectionLifecycleStateEnum Enum with underlying type: string
type AssetSourceConnectionLifecycleStateEnum string
Set of constants representing the allowable values for AssetSourceConnectionLifecycleStateEnum
const ( AssetSourceConnectionLifecycleStateActive AssetSourceConnectionLifecycleStateEnum = "ACTIVE" AssetSourceConnectionLifecycleStateUpdating AssetSourceConnectionLifecycleStateEnum = "UPDATING" AssetSourceConnectionLifecycleStateNeedsAttention AssetSourceConnectionLifecycleStateEnum = "NEEDS_ATTENTION" AssetSourceConnectionLifecycleStateDeleted AssetSourceConnectionLifecycleStateEnum = "DELETED" AssetSourceConnectionLifecycleStateCreating AssetSourceConnectionLifecycleStateEnum = "CREATING" )
func GetAssetSourceConnectionLifecycleStateEnumValues() []AssetSourceConnectionLifecycleStateEnum
GetAssetSourceConnectionLifecycleStateEnumValues Enumerates the set of values for AssetSourceConnectionLifecycleStateEnum
func GetMappingAssetSourceConnectionLifecycleStateEnum(val string) (AssetSourceConnectionLifecycleStateEnum, bool)
GetMappingAssetSourceConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSourceConnectionTypeEnum Enum with underlying type: string
type AssetSourceConnectionTypeEnum string
Set of constants representing the allowable values for AssetSourceConnectionTypeEnum
const ( AssetSourceConnectionTypeDiscovery AssetSourceConnectionTypeEnum = "DISCOVERY" AssetSourceConnectionTypeReplication AssetSourceConnectionTypeEnum = "REPLICATION" )
func GetAssetSourceConnectionTypeEnumValues() []AssetSourceConnectionTypeEnum
GetAssetSourceConnectionTypeEnumValues Enumerates the set of values for AssetSourceConnectionTypeEnum
func GetMappingAssetSourceConnectionTypeEnum(val string) (AssetSourceConnectionTypeEnum, bool)
GetMappingAssetSourceConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSourceCredentials Credentials for an asset source.
type AssetSourceCredentials struct { // Authentication type Type AssetSourceCredentialsTypeEnum `mandatory:"true" json:"type"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret in a vault. // If the the type of the credentials is BASIC`, the secret must contain the username and // password in JSON format, which is in the form of `{ "username": "<VMwareUser>", "password": "<VMwarePassword>" }`. SecretId *string `mandatory:"true" json:"secretId"` }
func (m AssetSourceCredentials) String() string
func (m AssetSourceCredentials) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetSourceCredentialsTypeEnum Enum with underlying type: string
type AssetSourceCredentialsTypeEnum string
Set of constants representing the allowable values for AssetSourceCredentialsTypeEnum
const ( AssetSourceCredentialsTypeBasic AssetSourceCredentialsTypeEnum = "BASIC" )
func GetAssetSourceCredentialsTypeEnumValues() []AssetSourceCredentialsTypeEnum
GetAssetSourceCredentialsTypeEnumValues Enumerates the set of values for AssetSourceCredentialsTypeEnum
func GetMappingAssetSourceCredentialsTypeEnum(val string) (AssetSourceCredentialsTypeEnum, bool)
GetMappingAssetSourceCredentialsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSourceLifecycleStateEnum Enum with underlying type: string
type AssetSourceLifecycleStateEnum string
Set of constants representing the allowable values for AssetSourceLifecycleStateEnum
const ( AssetSourceLifecycleStateCreating AssetSourceLifecycleStateEnum = "CREATING" AssetSourceLifecycleStateActive AssetSourceLifecycleStateEnum = "ACTIVE" AssetSourceLifecycleStateDeleting AssetSourceLifecycleStateEnum = "DELETING" AssetSourceLifecycleStateDeleted AssetSourceLifecycleStateEnum = "DELETED" AssetSourceLifecycleStateFailed AssetSourceLifecycleStateEnum = "FAILED" AssetSourceLifecycleStateUpdating AssetSourceLifecycleStateEnum = "UPDATING" AssetSourceLifecycleStateNeedsAttention AssetSourceLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetAssetSourceLifecycleStateEnumValues() []AssetSourceLifecycleStateEnum
GetAssetSourceLifecycleStateEnumValues Enumerates the set of values for AssetSourceLifecycleStateEnum
func GetMappingAssetSourceLifecycleStateEnum(val string) (AssetSourceLifecycleStateEnum, bool)
GetMappingAssetSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSourceSummary Summary of an asset source provided in the list.
type AssetSourceSummary interface { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource. GetId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource. GetCompartmentId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment. GetEnvironmentId() *string // A user-friendly name for the asset source. Does not have to be unique, and it's mutable. // Avoid entering confidential information. GetDisplayName() *string // The current state of the asset source. GetLifecycleState() AssetSourceLifecycleStateEnum // The detailed state of the asset source. GetLifecycleDetails() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets. GetInventoryId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets. GetAssetsCompartmentId() *string // The time when the asset source was created in RFC3339 format. GetTimeCreated() *common.SDKTime // The point in time that the asset source was last updated in RFC3339 format. GetTimeUpdated() *common.SDKTime // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` GetSystemTags() map[string]map[string]interface{} }
AssetSourceTypeEnum Enum with underlying type: string
type AssetSourceTypeEnum string
Set of constants representing the allowable values for AssetSourceTypeEnum
const ( AssetSourceTypeVmware AssetSourceTypeEnum = "VMWARE" )
func GetAssetSourceTypeEnumValues() []AssetSourceTypeEnum
GetAssetSourceTypeEnumValues Enumerates the set of values for AssetSourceTypeEnum
func GetMappingAssetSourceTypeEnum(val string) (AssetSourceTypeEnum, bool)
GetMappingAssetSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AssetSummary Summary of the asset.
type AssetSummary struct { // Inventory ID that the asset belongs to. InventoryId *string `mandatory:"true" json:"inventoryId"` // Asset OCID that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that the asset belongs to. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The source key to which the asset belongs. SourceKey *string `mandatory:"true" json:"sourceKey"` // The key of the asset from the external environment. ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"` // The type of asset. AssetType AssetTypeEnum `mandatory:"true" json:"assetType"` // The time when the asset was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the asset was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the asset. LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Asset display name. DisplayName *string `mandatory:"false" json:"displayName"` // List of asset source OCID. AssetSourceIds []string `mandatory:"false" json:"assetSourceIds"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m AssetSummary) String() string
func (m AssetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssetTypeEnum Enum with underlying type: string
type AssetTypeEnum string
Set of constants representing the allowable values for AssetTypeEnum
const ( AssetTypeVmwareVm AssetTypeEnum = "VMWARE_VM" AssetTypeVm AssetTypeEnum = "VM" )
func GetAssetTypeEnumValues() []AssetTypeEnum
GetAssetTypeEnumValues Enumerates the set of values for AssetTypeEnum
func GetMappingAssetTypeEnum(val string) (AssetTypeEnum, bool)
GetMappingAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
ChangeAgentCompartmentDetails The information to be updated.
type ChangeAgentCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAgentCompartmentDetails) String() string
func (m ChangeAgentCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartmentRequest.
type ChangeAgentCompartmentRequest struct { // Unique Agent identifier path parameter. AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // The information to be updated. ChangeAgentCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAgentCompartmentRequest) String() string
func (request ChangeAgentCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation
type ChangeAgentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAgentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAgentCompartmentResponse) String() string
ChangeAgentDependencyCompartmentDetails The information to be updated.
type ChangeAgentDependencyCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAgentDependencyCompartmentDetails) String() string
func (m ChangeAgentDependencyCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentDependencyCompartmentRequest wrapper for the ChangeAgentDependencyCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAgentDependencyCompartment.go.html to see an example of how to use ChangeAgentDependencyCompartmentRequest.
type ChangeAgentDependencyCompartmentRequest struct { // A unique AgentDependency identifier. AgentDependencyId *string `mandatory:"true" contributesTo:"path" name:"agentDependencyId"` // The information to be updated. ChangeAgentDependencyCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAgentDependencyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAgentDependencyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAgentDependencyCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAgentDependencyCompartmentRequest) String() string
func (request ChangeAgentDependencyCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAgentDependencyCompartmentResponse wrapper for the ChangeAgentDependencyCompartment operation
type ChangeAgentDependencyCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAgentDependencyCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAgentDependencyCompartmentResponse) String() string
ChangeAssetCompartmentDetails The information to be updated for changing asset compartment.
type ChangeAssetCompartmentDetails struct { // The OCID of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAssetCompartmentDetails) String() string
func (m ChangeAssetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetCompartmentRequest wrapper for the ChangeAssetCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetCompartment.go.html to see an example of how to use ChangeAssetCompartmentRequest.
type ChangeAssetCompartmentRequest struct { // Unique asset identifier. AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"` // The information to be updated. ChangeAssetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAssetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAssetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAssetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAssetCompartmentRequest) String() string
func (request ChangeAssetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetCompartmentResponse wrapper for the ChangeAssetCompartment operation
type ChangeAssetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAssetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAssetCompartmentResponse) String() string
ChangeAssetSourceCompartmentDetails Details for which compartment to move the resource to.
type ChangeAssetSourceCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAssetSourceCompartmentDetails) String() string
func (m ChangeAssetSourceCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetSourceCompartmentRequest wrapper for the ChangeAssetSourceCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetSourceCompartment.go.html to see an example of how to use ChangeAssetSourceCompartmentRequest.
type ChangeAssetSourceCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asset source. AssetSourceId *string `mandatory:"true" contributesTo:"path" name:"assetSourceId"` // Details for the compartment move. ChangeAssetSourceCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAssetSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAssetSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAssetSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAssetSourceCompartmentRequest) String() string
func (request ChangeAssetSourceCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetSourceCompartmentResponse wrapper for the ChangeAssetSourceCompartment operation
type ChangeAssetSourceCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAssetSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAssetSourceCompartmentResponse) String() string
ChangeAssetTagsDetails The information about tags to be updated.
type ChangeAssetTagsDetails struct { // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ChangeAssetTagsDetails) String() string
func (m ChangeAssetTagsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetTagsRequest wrapper for the ChangeAssetTags operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetTags.go.html to see an example of how to use ChangeAssetTagsRequest.
type ChangeAssetTagsRequest struct { // Unique asset identifier. AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"` // The information to be updated. ChangeAssetTagsDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeAssetTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAssetTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAssetTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAssetTagsRequest) String() string
func (request ChangeAssetTagsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAssetTagsResponse wrapper for the ChangeAssetTags operation
type ChangeAssetTagsResponse struct { // The underlying http response RawResponse *http.Response // The Asset instance Asset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAssetTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAssetTagsResponse) String() string
ChangeDiscoveryScheduleCompartmentDetails Information about the compartment into which the discovery schedule should be moved.
type ChangeDiscoveryScheduleCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the discovery schedule should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDiscoveryScheduleCompartmentDetails) String() string
func (m ChangeDiscoveryScheduleCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDiscoveryScheduleCompartmentRequest wrapper for the ChangeDiscoveryScheduleCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeDiscoveryScheduleCompartment.go.html to see an example of how to use ChangeDiscoveryScheduleCompartmentRequest.
type ChangeDiscoveryScheduleCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. DiscoveryScheduleId *string `mandatory:"true" contributesTo:"path" name:"discoveryScheduleId"` // Information about the compartment in to which the discovery schedule should be moved. ChangeDiscoveryScheduleCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDiscoveryScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDiscoveryScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDiscoveryScheduleCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDiscoveryScheduleCompartmentRequest) String() string
func (request ChangeDiscoveryScheduleCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDiscoveryScheduleCompartmentResponse wrapper for the ChangeDiscoveryScheduleCompartment operation
type ChangeDiscoveryScheduleCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDiscoveryScheduleCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDiscoveryScheduleCompartmentResponse) String() string
ChangeEnvironmentCompartmentDetails The information to be updated.
type ChangeEnvironmentCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeEnvironmentCompartmentDetails) String() string
func (m ChangeEnvironmentCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeEnvironmentCompartmentRequest wrapper for the ChangeEnvironmentCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeEnvironmentCompartment.go.html to see an example of how to use ChangeEnvironmentCompartmentRequest.
type ChangeEnvironmentCompartmentRequest struct { // Unique environment identifier. EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"` // The information to be updated. ChangeEnvironmentCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeEnvironmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeEnvironmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeEnvironmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeEnvironmentCompartmentRequest) String() string
func (request ChangeEnvironmentCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeEnvironmentCompartmentResponse wrapper for the ChangeEnvironmentCompartment operation
type ChangeEnvironmentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeEnvironmentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeEnvironmentCompartmentResponse) String() string
CommonClient a client for Common
type CommonClient struct { common.BaseClient // contains filtered or unexported fields }
func NewCommonClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CommonClient, err error)
NewCommonClientWithConfigurationProvider Creates a new default Common client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewCommonClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CommonClient, err error)
NewCommonClientWithOboToken Creates a new default Common client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client CommonClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels the work request with the given ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client *CommonClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client CommonClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details of the work request with the given ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client CommonClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client CommonClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client CommonClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *CommonClient) SetRegion(region string)
SetRegion overrides the region of this client.
ComputeProperties Compute related properties.
type ComputeProperties struct { // Primary IP address of the compute instance. PrimaryIp *string `mandatory:"false" json:"primaryIp"` // Fully Qualified DNS Name. DnsName *string `mandatory:"false" json:"dnsName"` // Information about the asset. Description *string `mandatory:"false" json:"description"` // Number of CPUs. CoresCount *int `mandatory:"false" json:"coresCount"` // CPU model name. CpuModel *string `mandatory:"false" json:"cpuModel"` // Number of GPU devices. GpuDevicesCount *int `mandatory:"false" json:"gpuDevicesCount"` // List of GPU devices attached to a virtual machine. GpuDevices []GpuDevice `mandatory:"false" json:"gpuDevices"` // Number of threads per core. ThreadsPerCoreCount *int `mandatory:"false" json:"threadsPerCoreCount"` // Memory size in MBs. MemoryInMBs *int64 `mandatory:"false" json:"memoryInMBs"` // Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory. IsPmemEnabled *bool `mandatory:"false" json:"isPmemEnabled"` // Pmem size in MBs. PmemInMBs *int64 `mandatory:"false" json:"pmemInMBs"` // Operating system. OperatingSystem *string `mandatory:"false" json:"operatingSystem"` // Operating system version. OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"` // Host name of the VM. HostName *string `mandatory:"false" json:"hostName"` // The current power state of the virtual machine. PowerState *string `mandatory:"false" json:"powerState"` // Guest state. GuestState *string `mandatory:"false" json:"guestState"` // Whether Trusted Platform Module (TPM) is enabled. IsTpmEnabled *bool `mandatory:"false" json:"isTpmEnabled"` // Number of connected networks. ConnectedNetworks *int `mandatory:"false" json:"connectedNetworks"` // Number of network ethernet cards. NicsCount *int `mandatory:"false" json:"nicsCount"` // List of network ethernet cards attached to a virtual machine. Nics []Nic `mandatory:"false" json:"nics"` // Provision storage size in MBs. StorageProvisionedInMBs *int64 `mandatory:"false" json:"storageProvisionedInMBs"` // Number of disks. DisksCount *int `mandatory:"false" json:"disksCount"` // Lists the set of disks belonging to the virtual machine. This list is unordered. Disks []Disk `mandatory:"false" json:"disks"` // Information about firmware type for this virtual machine. Firmware *string `mandatory:"false" json:"firmware"` // Latency sensitivity. LatencySensitivity *string `mandatory:"false" json:"latencySensitivity"` // The properties of the NVDIMMs attached to a virtual machine. Nvdimms []Nvdimm `mandatory:"false" json:"nvdimms"` NvdimmController *NvdimmController `mandatory:"false" json:"nvdimmController"` ScsiController *ScsiController `mandatory:"false" json:"scsiController"` // Hardware version. HardwareVersion *string `mandatory:"false" json:"hardwareVersion"` }
func (m ComputeProperties) String() string
func (m ComputeProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAgentDependencyDetails The information about new AgentDependency.
type CreateAgentDependencyDetails struct { // Display name of the Agent dependency. DisplayName *string `mandatory:"true" json:"displayName"` // Name of the dependency type. This should match the whitelisted enum of dependency names. DependencyName *string `mandatory:"true" json:"dependencyName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Object storage namespace associated with the customer's tenancy. Namespace *string `mandatory:"true" json:"namespace"` // Object storage bucket where the dependency is uploaded. Bucket *string `mandatory:"true" json:"bucket"` // Name of the dependency object uploaded by the customer. ObjectName *string `mandatory:"true" json:"objectName"` // Version of the Agent dependency. DependencyVersion *string `mandatory:"false" json:"dependencyVersion"` // Description about the Agent dependency. Description *string `mandatory:"false" json:"description"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m CreateAgentDependencyDetails) String() string
func (m CreateAgentDependencyDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAgentDependencyRequest wrapper for the CreateAgentDependency operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAgentDependency.go.html to see an example of how to use CreateAgentDependencyRequest.
type CreateAgentDependencyRequest struct { // Details for the new AgentDependency. CreateAgentDependencyDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAgentDependencyRequest) String() string
func (request CreateAgentDependencyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAgentDependencyResponse wrapper for the CreateAgentDependency operation
type CreateAgentDependencyResponse struct { // The underlying http response RawResponse *http.Response // The AgentDependency instance AgentDependency `presentIn:"body"` Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAgentDependencyResponse) String() string
CreateAgentDetails Information about the new Agent.
type CreateAgentDetails struct { // Agent identifier. DisplayName *string `mandatory:"true" json:"displayName"` // Agent identifier. AgentType AgentAgentTypeEnum `mandatory:"true" json:"agentType"` // Agent identifier. AgentVersion *string `mandatory:"true" json:"agentVersion"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Environment identifier. EnvironmentId *string `mandatory:"true" json:"environmentId"` // OS version. OsVersion *string `mandatory:"true" json:"osVersion"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateAgentDetails) String() string
func (m CreateAgentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAgentRequest wrapper for the CreateAgent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAgent.go.html to see an example of how to use CreateAgentRequest.
type CreateAgentRequest struct { // Details of the new Agent. CreateAgentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAgentRequest) String() string
func (request CreateAgentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAgentResponse wrapper for the CreateAgent operation
type CreateAgentResponse struct { // The underlying http response RawResponse *http.Response // The Agent instance Agent `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAgentResponse) String() string
CreateAssetDetails The information about the new asset.
type CreateAssetDetails interface { // Inventory ID to which an asset belongs. GetInventoryId() *string // The OCID of the compartment that the asset belongs to. GetCompartmentId() *string // The source key to which the asset belongs. GetSourceKey() *string // The key of the asset from the external environment. GetExternalAssetKey() *string // Asset display name. GetDisplayName() *string // List of asset source OCID. GetAssetSourceIds() []string // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateAssetRequest wrapper for the CreateAsset operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAsset.go.html to see an example of how to use CreateAssetRequest.
type CreateAssetRequest struct { // The information to be updated. CreateAssetDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAssetRequest) String() string
func (request CreateAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAssetResponse wrapper for the CreateAsset operation
type CreateAssetResponse struct { // The underlying http response RawResponse *http.Response // The Asset instance Asset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAssetResponse) String() string
CreateAssetSourceDetails Asset source creation request.
type CreateAssetSourceDetails interface { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource. GetCompartmentId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment. GetEnvironmentId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets. GetInventoryId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets. GetAssetsCompartmentId() *string // A user-friendly name for the asset source. Does not have to be unique, and it's mutable. // Avoid entering confidential information. The name is generated by the service if it is not // explicitly provided. GetDisplayName() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be attached to the created asset. GetDiscoveryScheduleId() *string // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` GetSystemTags() map[string]map[string]interface{} }
CreateAssetSourceRequest wrapper for the CreateAssetSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAssetSource.go.html to see an example of how to use CreateAssetSourceRequest.
type CreateAssetSourceRequest struct { // Details for the new asset source. CreateAssetSourceDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAssetSourceRequest) String() string
func (request CreateAssetSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAssetSourceResponse wrapper for the CreateAssetSource operation
type CreateAssetSourceResponse struct { // The underlying http response RawResponse *http.Response // The AssetSource instance AssetSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // URL of the newly asynchronously created resource. You can use this to query its status. Location *string `presentIn:"header" name:"location"` }
func (response CreateAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAssetSourceResponse) String() string
CreateDiscoveryScheduleDetails Information about discovery schedule to be created.
type CreateDiscoveryScheduleDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Recurrence specification for the discovery schedule execution. ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"` // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. // Avoid entering confidential information. The name is generated by the service if it is not // explicitly provided. DisplayName *string `mandatory:"false" json:"displayName"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDiscoveryScheduleDetails) String() string
func (m CreateDiscoveryScheduleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDiscoveryScheduleRequest wrapper for the CreateDiscoverySchedule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateDiscoverySchedule.go.html to see an example of how to use CreateDiscoveryScheduleRequest.
type CreateDiscoveryScheduleRequest struct { // Information about the discovery schedule being created. CreateDiscoveryScheduleDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDiscoveryScheduleRequest) String() string
func (request CreateDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDiscoveryScheduleResponse wrapper for the CreateDiscoverySchedule operation
type CreateDiscoveryScheduleResponse struct { // The underlying http response RawResponse *http.Response // The DiscoverySchedule instance DiscoverySchedule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDiscoveryScheduleResponse) String() string
CreateEnvironmentDetails The information about the new source environment.
type CreateEnvironmentDetails struct { // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Environment identifier. DisplayName *string `mandatory:"false" json:"displayName"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateEnvironmentDetails) String() string
func (m CreateEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEnvironmentRequest wrapper for the CreateEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateEnvironment.go.html to see an example of how to use CreateEnvironmentRequest.
type CreateEnvironmentRequest struct { // Details of for the new source environment. CreateEnvironmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateEnvironmentRequest) String() string
func (request CreateEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEnvironmentResponse wrapper for the CreateEnvironment operation
type CreateEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The Environment instance Environment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateEnvironmentResponse) String() string
CreateInventoryDetails Description for creating inventory details.
type CreateInventoryDetails struct { // Inventory displayName. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the tenantId. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateInventoryDetails) String() string
func (m CreateInventoryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateInventoryRequest wrapper for the CreateInventory operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateInventory.go.html to see an example of how to use CreateInventoryRequest.
type CreateInventoryRequest struct { // The information to be updated. CreateInventoryDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateInventoryRequest) String() string
func (request CreateInventoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateInventoryResponse wrapper for the CreateInventory operation
type CreateInventoryResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateInventoryResponse) String() string
CreateVmWareAssetSourceDetails Description of an asset source.
type CreateVmWareAssetSourceDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment. EnvironmentId *string `mandatory:"true" json:"environmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets. InventoryId *string `mandatory:"true" json:"inventoryId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets. AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"` // Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk``` VcenterEndpoint *string `mandatory:"true" json:"vcenterEndpoint"` DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"` // A user-friendly name for the asset source. Does not have to be unique, and it's mutable. // Avoid entering confidential information. The name is generated by the service if it is not // explicitly provided. DisplayName *string `mandatory:"false" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be attached to the created asset. DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` ReplicationCredentials *AssetSourceCredentials `mandatory:"false" json:"replicationCredentials"` // Flag indicating whether historical metrics are collected for assets, originating from this asset source. AreHistoricalMetricsCollected *bool `mandatory:"false" json:"areHistoricalMetricsCollected"` // Flag indicating whether real-time metrics are collected for assets, originating from this asset source. AreRealtimeMetricsCollected *bool `mandatory:"false" json:"areRealtimeMetricsCollected"` }
func (m CreateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (m CreateVmWareAssetSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (m CreateVmWareAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVmWareAssetSourceDetails) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (m CreateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVmWareAssetSourceDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (m CreateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m CreateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVmWareAssetSourceDetails) String() string
func (m CreateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVmwareVmAssetDetails Create VMware VM type of asset.
type CreateVmwareVmAssetDetails struct { // Inventory ID to which an asset belongs. InventoryId *string `mandatory:"true" json:"inventoryId"` // The OCID of the compartment that the asset belongs to. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The source key to which the asset belongs. SourceKey *string `mandatory:"true" json:"sourceKey"` // The key of the asset from the external environment. ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"` // Asset display name. DisplayName *string `mandatory:"false" json:"displayName"` // List of asset source OCID. AssetSourceIds []string `mandatory:"false" json:"assetSourceIds"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` Compute *ComputeProperties `mandatory:"false" json:"compute"` Vm *VmProperties `mandatory:"false" json:"vm"` VmwareVm *VmwareVmProperties `mandatory:"false" json:"vmwareVm"` VmwareVCenter *VmwareVCenterProperties `mandatory:"false" json:"vmwareVCenter"` }
func (m CreateVmwareVmAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (m CreateVmwareVmAssetDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateVmwareVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVmwareVmAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVmwareVmAssetDetails) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (m CreateVmwareVmAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVmwareVmAssetDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (m CreateVmwareVmAssetDetails) GetSourceKey() *string
GetSourceKey returns SourceKey
func (m CreateVmwareVmAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVmwareVmAssetDetails) String() string
func (m CreateVmwareVmAssetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomerTag The customer defined tags.
type CustomerTag struct { // The tag name. Name *string `mandatory:"false" json:"name"` // The tag description. Description *string `mandatory:"false" json:"description"` }
func (m CustomerTag) String() string
func (m CustomerTag) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAgentDependencyRequest wrapper for the DeleteAgentDependency operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAgentDependency.go.html to see an example of how to use DeleteAgentDependencyRequest.
type DeleteAgentDependencyRequest struct { // A unique AgentDependency identifier. AgentDependencyId *string `mandatory:"true" contributesTo:"path" name:"agentDependencyId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAgentDependencyRequest) String() string
func (request DeleteAgentDependencyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAgentDependencyResponse wrapper for the DeleteAgentDependency operation
type DeleteAgentDependencyResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAgentDependencyResponse) String() string
DeleteAgentRequest wrapper for the DeleteAgent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAgent.go.html to see an example of how to use DeleteAgentRequest.
type DeleteAgentRequest struct { // Unique Agent identifier path parameter. AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAgentRequest) String() string
func (request DeleteAgentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAgentResponse wrapper for the DeleteAgent operation
type DeleteAgentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAgentResponse) String() string
DeleteAssetRequest wrapper for the DeleteAsset operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAsset.go.html to see an example of how to use DeleteAssetRequest.
type DeleteAssetRequest struct { // Unique asset identifier. AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAssetRequest) String() string
func (request DeleteAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAssetResponse wrapper for the DeleteAsset operation
type DeleteAssetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAssetResponse) String() string
DeleteAssetSourceRequest wrapper for the DeleteAssetSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAssetSource.go.html to see an example of how to use DeleteAssetSourceRequest.
type DeleteAssetSourceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asset source. AssetSourceId *string `mandatory:"true" contributesTo:"path" name:"assetSourceId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAssetSourceRequest) String() string
func (request DeleteAssetSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAssetSourceResponse wrapper for the DeleteAssetSource operation
type DeleteAssetSourceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAssetSourceResponse) String() string
DeleteDiscoveryScheduleRequest wrapper for the DeleteDiscoverySchedule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteDiscoverySchedule.go.html to see an example of how to use DeleteDiscoveryScheduleRequest.
type DeleteDiscoveryScheduleRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. DiscoveryScheduleId *string `mandatory:"true" contributesTo:"path" name:"discoveryScheduleId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDiscoveryScheduleRequest) String() string
func (request DeleteDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDiscoveryScheduleResponse wrapper for the DeleteDiscoverySchedule operation
type DeleteDiscoveryScheduleResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDiscoveryScheduleResponse) String() string
DeleteEnvironmentRequest wrapper for the DeleteEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteEnvironment.go.html to see an example of how to use DeleteEnvironmentRequest.
type DeleteEnvironmentRequest struct { // Unique environment identifier. EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteEnvironmentRequest) String() string
func (request DeleteEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteEnvironmentResponse wrapper for the DeleteEnvironment operation
type DeleteEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteEnvironmentResponse) String() string
DeleteInventoryRequest wrapper for the DeleteInventory operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteInventory.go.html to see an example of how to use DeleteInventoryRequest.
type DeleteInventoryRequest struct { // Inventory OCID. InventoryId *string `mandatory:"true" contributesTo:"path" name:"inventoryId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteInventoryRequest) String() string
func (request DeleteInventoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteInventoryResponse wrapper for the DeleteInventory operation
type DeleteInventoryResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteInventoryResponse) String() string
DiscoveryClient a client for Discovery
type DiscoveryClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDiscoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DiscoveryClient, err error)
NewDiscoveryClientWithConfigurationProvider Creates a new default Discovery client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDiscoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DiscoveryClient, err error)
NewDiscoveryClientWithOboToken Creates a new default Discovery client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DiscoveryClient) ChangeAssetSourceCompartment(ctx context.Context, request ChangeAssetSourceCompartmentRequest) (response ChangeAssetSourceCompartmentResponse, err error)
ChangeAssetSourceCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetSourceCompartment.go.html to see an example of how to use ChangeAssetSourceCompartment API. A default retry strategy applies to this operation ChangeAssetSourceCompartment()
func (client DiscoveryClient) ChangeDiscoveryScheduleCompartment(ctx context.Context, request ChangeDiscoveryScheduleCompartmentRequest) (response ChangeDiscoveryScheduleCompartmentResponse, err error)
ChangeDiscoveryScheduleCompartment Moves the specified discovery schedule into a different compartment. When provided, If-Match is checked against ETag values of the resource.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeDiscoveryScheduleCompartment.go.html to see an example of how to use ChangeDiscoveryScheduleCompartment API. A default retry strategy applies to this operation ChangeDiscoveryScheduleCompartment()
func (client *DiscoveryClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DiscoveryClient) CreateAssetSource(ctx context.Context, request CreateAssetSourceRequest) (response CreateAssetSourceResponse, err error)
CreateAssetSource Creates an asset source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAssetSource.go.html to see an example of how to use CreateAssetSource API. A default retry strategy applies to this operation CreateAssetSource()
func (client DiscoveryClient) CreateDiscoverySchedule(ctx context.Context, request CreateDiscoveryScheduleRequest) (response CreateDiscoveryScheduleResponse, err error)
CreateDiscoverySchedule Creates the discovery schedule.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateDiscoverySchedule.go.html to see an example of how to use CreateDiscoverySchedule API. A default retry strategy applies to this operation CreateDiscoverySchedule()
func (client DiscoveryClient) DeleteAssetSource(ctx context.Context, request DeleteAssetSourceRequest) (response DeleteAssetSourceResponse, err error)
DeleteAssetSource Deletes the asset source by ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAssetSource.go.html to see an example of how to use DeleteAssetSource API. A default retry strategy applies to this operation DeleteAssetSource()
func (client DiscoveryClient) DeleteDiscoverySchedule(ctx context.Context, request DeleteDiscoveryScheduleRequest) (response DeleteDiscoveryScheduleResponse, err error)
DeleteDiscoverySchedule Deletes the specified discovery schedule.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteDiscoverySchedule.go.html to see an example of how to use DeleteDiscoverySchedule API. A default retry strategy applies to this operation DeleteDiscoverySchedule()
func (client DiscoveryClient) GetAssetSource(ctx context.Context, request GetAssetSourceRequest) (response GetAssetSourceResponse, err error)
GetAssetSource Gets the asset source by ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAssetSource.go.html to see an example of how to use GetAssetSource API. A default retry strategy applies to this operation GetAssetSource()
func (client DiscoveryClient) GetDiscoverySchedule(ctx context.Context, request GetDiscoveryScheduleRequest) (response GetDiscoveryScheduleResponse, err error)
GetDiscoverySchedule Reads information about the specified discovery schedule.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetDiscoverySchedule.go.html to see an example of how to use GetDiscoverySchedule API. A default retry strategy applies to this operation GetDiscoverySchedule()
func (client DiscoveryClient) ListAssetSourceConnections(ctx context.Context, request ListAssetSourceConnectionsRequest) (response ListAssetSourceConnectionsResponse, err error)
ListAssetSourceConnections Gets known connections to the asset source by the asset source ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssetSourceConnections.go.html to see an example of how to use ListAssetSourceConnections API. A default retry strategy applies to this operation ListAssetSourceConnections()
func (client DiscoveryClient) ListAssetSources(ctx context.Context, request ListAssetSourcesRequest) (response ListAssetSourcesResponse, err error)
ListAssetSources Returns a list of asset sources.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssetSources.go.html to see an example of how to use ListAssetSources API. A default retry strategy applies to this operation ListAssetSources()
func (client DiscoveryClient) ListDiscoverySchedules(ctx context.Context, request ListDiscoverySchedulesRequest) (response ListDiscoverySchedulesResponse, err error)
ListDiscoverySchedules Lists discovery schedules.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListDiscoverySchedules.go.html to see an example of how to use ListDiscoverySchedules API. A default retry strategy applies to this operation ListDiscoverySchedules()
func (client DiscoveryClient) RefreshAssetSource(ctx context.Context, request RefreshAssetSourceRequest) (response RefreshAssetSourceResponse, err error)
RefreshAssetSource Initiates the process of asset metadata synchronization with the related asset source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/RefreshAssetSource.go.html to see an example of how to use RefreshAssetSource API. A default retry strategy applies to this operation RefreshAssetSource()
func (client *DiscoveryClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DiscoveryClient) UpdateAssetSource(ctx context.Context, request UpdateAssetSourceRequest) (response UpdateAssetSourceResponse, err error)
UpdateAssetSource Updates the asset source.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/UpdateAssetSource.go.html to see an example of how to use UpdateAssetSource API. A default retry strategy applies to this operation UpdateAssetSource()
func (client DiscoveryClient) UpdateDiscoverySchedule(ctx context.Context, request UpdateDiscoveryScheduleRequest) (response UpdateDiscoveryScheduleResponse, err error)
UpdateDiscoverySchedule Updates the specified discovery schedule.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/UpdateDiscoverySchedule.go.html to see an example of how to use UpdateDiscoverySchedule API. A default retry strategy applies to this operation UpdateDiscoverySchedule()
DiscoverySchedule Discovery schedule.
type DiscoverySchedule struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Recurrence specification for the discovery schedule execution. ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule exists. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Current state of the discovery schedule. LifecycleState DiscoveryScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed state of the discovery schedule. LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` // The time when the discovery schedule was created in RFC3339 format. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the discovery schedule was last updated in RFC3339 format. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DiscoverySchedule) String() string
func (m DiscoverySchedule) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiscoveryScheduleCollection Results of a discovery schedule search. Contains discovery schedule summaries.
type DiscoveryScheduleCollection struct { // Discovery schedule summaries. Items []DiscoveryScheduleSummary `mandatory:"true" json:"items"` }
func (m DiscoveryScheduleCollection) String() string
func (m DiscoveryScheduleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiscoveryScheduleLifecycleStateEnum Enum with underlying type: string
type DiscoveryScheduleLifecycleStateEnum string
Set of constants representing the allowable values for DiscoveryScheduleLifecycleStateEnum
const ( DiscoveryScheduleLifecycleStateActive DiscoveryScheduleLifecycleStateEnum = "ACTIVE" DiscoveryScheduleLifecycleStateDeleted DiscoveryScheduleLifecycleStateEnum = "DELETED" )
func GetDiscoveryScheduleLifecycleStateEnumValues() []DiscoveryScheduleLifecycleStateEnum
GetDiscoveryScheduleLifecycleStateEnumValues Enumerates the set of values for DiscoveryScheduleLifecycleStateEnum
func GetMappingDiscoveryScheduleLifecycleStateEnum(val string) (DiscoveryScheduleLifecycleStateEnum, bool)
GetMappingDiscoveryScheduleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryScheduleSummary Summarized information about a discovery schedule.
type DiscoveryScheduleSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule exists. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Current state of the discovery schedule. LifecycleState DiscoveryScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed state of the discovery schedule. LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` // The time when the discovery schedule was created in RFC3339 format. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the discovery schedule was last updated in RFC3339 format. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DiscoveryScheduleSummary) String() string
func (m DiscoveryScheduleSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Disk The assets disk.
type Disk struct { // Disk name. Name *string `mandatory:"false" json:"name"` // Order of boot volumes. BootOrder *int `mandatory:"false" json:"bootOrder"` // Disk UUID for the virtual disk, if available. Uuid *string `mandatory:"false" json:"uuid"` // Disk UUID LUN for the virtual disk, if available. UuidLun *string `mandatory:"false" json:"uuidLun"` // The size of the volume in MBs. SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"` // Location of the boot/data volume. Location *string `mandatory:"false" json:"location"` // The disk persistent mode. PersistentMode *string `mandatory:"false" json:"persistentMode"` }
func (m Disk) String() string
func (m Disk) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Environment Description of the source environment.
type Environment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Environment identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when the source environment was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the source environment. LifecycleState EnvironmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The time when the source environment was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Environment) String() string
func (m Environment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnvironmentCollection Results of an environment search. Contains both EnvironmentSummary items and other information, such as metadata.
type EnvironmentCollection struct { // List of all source environments. Items []EnvironmentSummary `mandatory:"true" json:"items"` }
func (m EnvironmentCollection) String() string
func (m EnvironmentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnvironmentLifecycleStateEnum Enum with underlying type: string
type EnvironmentLifecycleStateEnum string
Set of constants representing the allowable values for EnvironmentLifecycleStateEnum
const ( EnvironmentLifecycleStateCreating EnvironmentLifecycleStateEnum = "CREATING" EnvironmentLifecycleStateUpdating EnvironmentLifecycleStateEnum = "UPDATING" EnvironmentLifecycleStateActive EnvironmentLifecycleStateEnum = "ACTIVE" EnvironmentLifecycleStateDeleting EnvironmentLifecycleStateEnum = "DELETING" EnvironmentLifecycleStateDeleted EnvironmentLifecycleStateEnum = "DELETED" EnvironmentLifecycleStateFailed EnvironmentLifecycleStateEnum = "FAILED" )
func GetEnvironmentLifecycleStateEnumValues() []EnvironmentLifecycleStateEnum
GetEnvironmentLifecycleStateEnumValues Enumerates the set of values for EnvironmentLifecycleStateEnum
func GetMappingEnvironmentLifecycleStateEnum(val string) (EnvironmentLifecycleStateEnum, bool)
GetMappingEnvironmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
EnvironmentSummary Summary of a source environment.
type EnvironmentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Environment identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when the source environment was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the source environment. LifecycleState EnvironmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The time when the source environment was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m EnvironmentSummary) String() string
func (m EnvironmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAgentDependencyRequest wrapper for the GetAgentDependency operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAgentDependency.go.html to see an example of how to use GetAgentDependencyRequest.
type GetAgentDependencyRequest struct { // A unique AgentDependency identifier. AgentDependencyId *string `mandatory:"true" contributesTo:"path" name:"agentDependencyId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAgentDependencyRequest) String() string
func (request GetAgentDependencyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAgentDependencyResponse wrapper for the GetAgentDependency operation
type GetAgentDependencyResponse struct { // The underlying http response RawResponse *http.Response // The AgentDependency instance AgentDependency `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAgentDependencyResponse) String() string
GetAgentRequest wrapper for the GetAgent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAgent.go.html to see an example of how to use GetAgentRequest.
type GetAgentRequest struct { // Unique Agent identifier path parameter. AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAgentRequest) String() string
func (request GetAgentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAgentResponse wrapper for the GetAgent operation
type GetAgentResponse struct { // The underlying http response RawResponse *http.Response // The Agent instance Agent `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAgentResponse) String() string
GetAssetRequest wrapper for the GetAsset operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAsset.go.html to see an example of how to use GetAssetRequest.
type GetAssetRequest struct { // Unique asset identifier. AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAssetRequest) String() string
func (request GetAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAssetResponse wrapper for the GetAsset operation
type GetAssetResponse struct { // The underlying http response RawResponse *http.Response // The Asset instance Asset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAssetResponse) String() string
GetAssetSourceRequest wrapper for the GetAssetSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAssetSource.go.html to see an example of how to use GetAssetSourceRequest.
type GetAssetSourceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asset source. AssetSourceId *string `mandatory:"true" contributesTo:"path" name:"assetSourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAssetSourceRequest) String() string
func (request GetAssetSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAssetSourceResponse wrapper for the GetAssetSource operation
type GetAssetSourceResponse struct { // The underlying http response RawResponse *http.Response // The AssetSource instance AssetSource `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAssetSourceResponse) String() string
GetDiscoveryScheduleRequest wrapper for the GetDiscoverySchedule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetDiscoverySchedule.go.html to see an example of how to use GetDiscoveryScheduleRequest.
type GetDiscoveryScheduleRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. DiscoveryScheduleId *string `mandatory:"true" contributesTo:"path" name:"discoveryScheduleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDiscoveryScheduleRequest) String() string
func (request GetDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDiscoveryScheduleResponse wrapper for the GetDiscoverySchedule operation
type GetDiscoveryScheduleResponse struct { // The underlying http response RawResponse *http.Response // The DiscoverySchedule instance DiscoverySchedule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDiscoveryScheduleResponse) String() string
GetEnvironmentRequest wrapper for the GetEnvironment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetEnvironment.go.html to see an example of how to use GetEnvironmentRequest.
type GetEnvironmentRequest struct { // Unique environment identifier. EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEnvironmentRequest) String() string
func (request GetEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetEnvironmentResponse wrapper for the GetEnvironment operation
type GetEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The Environment instance Environment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEnvironmentResponse) String() string
GetInventoryRequest wrapper for the GetInventory operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetInventory.go.html to see an example of how to use GetInventoryRequest.
type GetInventoryRequest struct { // Inventory OCID. InventoryId *string `mandatory:"true" contributesTo:"path" name:"inventoryId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInventoryRequest) String() string
func (request GetInventoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetInventoryResponse wrapper for the GetInventory operation
type GetInventoryResponse struct { // The underlying http response RawResponse *http.Response // The Inventory instance Inventory `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response GetInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInventoryResponse) String() string
GetPluginRequest wrapper for the GetPlugin operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetPlugin.go.html to see an example of how to use GetPluginRequest.
type GetPluginRequest struct { // Unique Agent identifier path parameter. AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"` // Unique plugin identifier path parameter. PluginName *string `mandatory:"true" contributesTo:"path" name:"pluginName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetPluginRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPluginRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPluginRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPluginRequest) String() string
func (request GetPluginRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPluginResponse wrapper for the GetPlugin operation
type GetPluginResponse struct { // The underlying http response RawResponse *http.Response // The Plugin instance Plugin `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetPluginResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPluginResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GpuDevice GPU device details.
type GpuDevice struct { // GPU device name. Name *string `mandatory:"false" json:"name"` // GPU device description. Description *string `mandatory:"false" json:"description"` // Number of GPU cores. CoresCount *int `mandatory:"false" json:"coresCount"` // GPU memory size in MBs. MemoryInMBs *int64 `mandatory:"false" json:"memoryInMBs"` // The manufacturer of GPU. Manufacturer *string `mandatory:"false" json:"manufacturer"` }
func (m GpuDevice) String() string
func (m GpuDevice) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HistoricalMetric Metric details.
type HistoricalMetric struct { // Metric name. Name *string `mandatory:"true" json:"name"` // Aggregation time interval. Aggregation *string `mandatory:"true" json:"aggregation"` // Aggregation value. Value *float32 `mandatory:"true" json:"value"` }
func (m HistoricalMetric) String() string
func (m HistoricalMetric) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HistoricalMetricCollection List of historical metric.
type HistoricalMetricCollection struct { // List of asset historical metrics. Items []HistoricalMetricSummary `mandatory:"true" json:"items"` }
func (m HistoricalMetricCollection) String() string
func (m HistoricalMetricCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HistoricalMetricSummary Metric details.
type HistoricalMetricSummary struct { // Metric name. Name *string `mandatory:"true" json:"name"` // Aggregation time interval. Aggregation *string `mandatory:"true" json:"aggregation"` // Aggregation value. Value *float32 `mandatory:"true" json:"value"` // The time the HistoricalMetric was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the HistoricalMetric was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m HistoricalMetricSummary) String() string
func (m HistoricalMetricSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportInventoryDetails Details for importing assets from a file.
type ImportInventoryDetails interface { // The OCID of the compartmentId that resources import. GetCompartmentId() *string // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
ImportInventoryDetailsResourceTypeEnum Enum with underlying type: string
type ImportInventoryDetailsResourceTypeEnum string
Set of constants representing the allowable values for ImportInventoryDetailsResourceTypeEnum
const ( ImportInventoryDetailsResourceTypeAsset ImportInventoryDetailsResourceTypeEnum = "ASSET" )
func GetImportInventoryDetailsResourceTypeEnumValues() []ImportInventoryDetailsResourceTypeEnum
GetImportInventoryDetailsResourceTypeEnumValues Enumerates the set of values for ImportInventoryDetailsResourceTypeEnum
func GetMappingImportInventoryDetailsResourceTypeEnum(val string) (ImportInventoryDetailsResourceTypeEnum, bool)
GetMappingImportInventoryDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ImportInventoryRequest wrapper for the ImportInventory operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ImportInventory.go.html to see an example of how to use ImportInventoryRequest.
type ImportInventoryRequest struct { // The file input to create resources. ImportInventoryDetails `contributesTo:"body"` // Inventory OCID. InventoryId *string `mandatory:"true" contributesTo:"path" name:"inventoryId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours, but can be invalidated before 24 hours due to conflicting operations. For example, if a resource // has been deleted and purged from the system, a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ImportInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ImportInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ImportInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ImportInventoryRequest) String() string
func (request ImportInventoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportInventoryResponse wrapper for the ImportInventory operation
type ImportInventoryResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ImportInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ImportInventoryResponse) String() string
ImportInventoryViaAssetsDetails Details for importing assets from a file.
type ImportInventoryViaAssetsDetails struct { // The OCID of the compartmentId that resources import. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The file body to be sent in the request. Data []byte `mandatory:"false" json:"data"` // The type of asset. AssetType AssetTypeEnum `mandatory:"false" json:"assetType,omitempty"` }
func (m ImportInventoryViaAssetsDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ImportInventoryViaAssetsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ImportInventoryViaAssetsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ImportInventoryViaAssetsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImportInventoryViaAssetsDetails) String() string
func (m ImportInventoryViaAssetsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Inventory Description of inventory.
type Inventory struct { // Inventory OCID. Id *string `mandatory:"true" json:"id"` // Inventory display name. DisplayName *string `mandatory:"true" json:"displayName"` // The current state of the inventory. LifecycleState InventoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the tenantId. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when the inventory was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the inventory was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Inventory) String() string
func (m Inventory) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InventoryClient a client for Inventory
type InventoryClient struct { common.BaseClient // contains filtered or unexported fields }
func NewInventoryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InventoryClient, err error)
NewInventoryClientWithConfigurationProvider Creates a new default Inventory client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewInventoryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InventoryClient, err error)
NewInventoryClientWithOboToken Creates a new default Inventory client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client InventoryClient) AnalyzeAssets(ctx context.Context, request AnalyzeAssetsRequest) (response AnalyzeAssetsResponse, err error)
AnalyzeAssets Returns an aggregation of assets. Aggregation groups are sorted by groupBy property. Default sort order is ascending, but can be overridden by the sortOrder parameter.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/AnalyzeAssets.go.html to see an example of how to use AnalyzeAssets API. A default retry strategy applies to this operation AnalyzeAssets()
func (client InventoryClient) ChangeAssetCompartment(ctx context.Context, request ChangeAssetCompartmentRequest) (response ChangeAssetCompartmentResponse, err error)
ChangeAssetCompartment Moves an asset resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetCompartment.go.html to see an example of how to use ChangeAssetCompartment API. A default retry strategy applies to this operation ChangeAssetCompartment()
func (client InventoryClient) ChangeAssetTags(ctx context.Context, request ChangeAssetTagsRequest) (response ChangeAssetTagsResponse, err error)
ChangeAssetTags Change an asset's tag.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ChangeAssetTags.go.html to see an example of how to use ChangeAssetTags API. A default retry strategy applies to this operation ChangeAssetTags()
func (client *InventoryClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client InventoryClient) CreateAsset(ctx context.Context, request CreateAssetRequest) (response CreateAssetResponse, err error)
CreateAsset Creates an asset.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateAsset.go.html to see an example of how to use CreateAsset API. A default retry strategy applies to this operation CreateAsset()
func (client InventoryClient) CreateInventory(ctx context.Context, request CreateInventoryRequest) (response CreateInventoryResponse, err error)
CreateInventory Creates an inventory.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/CreateInventory.go.html to see an example of how to use CreateInventory API. A default retry strategy applies to this operation CreateInventory()
func (client InventoryClient) DeleteAsset(ctx context.Context, request DeleteAssetRequest) (response DeleteAssetResponse, err error)
DeleteAsset Deletes an asset resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteAsset.go.html to see an example of how to use DeleteAsset API. A default retry strategy applies to this operation DeleteAsset()
func (client InventoryClient) DeleteInventory(ctx context.Context, request DeleteInventoryRequest) (response DeleteInventoryResponse, err error)
DeleteInventory Deletes an inventory resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/DeleteInventory.go.html to see an example of how to use DeleteInventory API. A default retry strategy applies to this operation DeleteInventory()
func (client InventoryClient) GetAsset(ctx context.Context, request GetAssetRequest) (response GetAssetResponse, err error)
GetAsset Gets an asset by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetAsset.go.html to see an example of how to use GetAsset API. A default retry strategy applies to this operation GetAsset()
func (client InventoryClient) GetInventory(ctx context.Context, request GetInventoryRequest) (response GetInventoryResponse, err error)
GetInventory Gets an inventory by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/GetInventory.go.html to see an example of how to use GetInventory API. A default retry strategy applies to this operation GetInventory()
func (client InventoryClient) ImportInventory(ctx context.Context, request ImportInventoryRequest) (response ImportInventoryResponse, err error)
ImportInventory Import resources in inventory.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ImportInventory.go.html to see an example of how to use ImportInventory API. A default retry strategy applies to this operation ImportInventory()
func (client InventoryClient) ListAssets(ctx context.Context, request ListAssetsRequest) (response ListAssetsResponse, err error)
ListAssets Returns a list of assets.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssets.go.html to see an example of how to use ListAssets API. A default retry strategy applies to this operation ListAssets()
func (client InventoryClient) ListHistoricalMetrics(ctx context.Context, request ListHistoricalMetricsRequest) (response ListHistoricalMetricsResponse, err error)
ListHistoricalMetrics List asset historical metrics.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListHistoricalMetrics.go.html to see an example of how to use ListHistoricalMetrics API. A default retry strategy applies to this operation ListHistoricalMetrics()
func (client InventoryClient) ListInventories(ctx context.Context, request ListInventoriesRequest) (response ListInventoriesResponse, err error)
ListInventories Returns a list of inventories.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListInventories.go.html to see an example of how to use ListInventories API. A default retry strategy applies to this operation ListInventories()
func (client *InventoryClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client InventoryClient) SubmitHistoricalMetrics(ctx context.Context, request SubmitHistoricalMetricsRequest) (response SubmitHistoricalMetricsResponse, err error)
SubmitHistoricalMetrics Creates or updates all metrics related to the asset.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/SubmitHistoricalMetrics.go.html to see an example of how to use SubmitHistoricalMetrics API. A default retry strategy applies to this operation SubmitHistoricalMetrics()
func (client InventoryClient) UpdateAsset(ctx context.Context, request UpdateAssetRequest) (response UpdateAssetResponse, err error)
UpdateAsset Updates the asset.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/UpdateAsset.go.html to see an example of how to use UpdateAsset API. A default retry strategy applies to this operation UpdateAsset()
func (client InventoryClient) UpdateInventory(ctx context.Context, request UpdateInventoryRequest) (response UpdateInventoryResponse, err error)
UpdateInventory Updates an inventory.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/UpdateInventory.go.html to see an example of how to use UpdateInventory API. A default retry strategy applies to this operation UpdateInventory()
InventoryCollection Result of inventory summaries.
type InventoryCollection struct { // List of inventories. Items []InventorySummary `mandatory:"true" json:"items"` }
func (m InventoryCollection) String() string
func (m InventoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InventoryLifecycleStateEnum Enum with underlying type: string
type InventoryLifecycleStateEnum string
Set of constants representing the allowable values for InventoryLifecycleStateEnum
const ( InventoryLifecycleStateActive InventoryLifecycleStateEnum = "ACTIVE" InventoryLifecycleStateDeleted InventoryLifecycleStateEnum = "DELETED" InventoryLifecycleStateDeleting InventoryLifecycleStateEnum = "DELETING" InventoryLifecycleStateCreating InventoryLifecycleStateEnum = "CREATING" InventoryLifecycleStateFailed InventoryLifecycleStateEnum = "FAILED" )
func GetInventoryLifecycleStateEnumValues() []InventoryLifecycleStateEnum
GetInventoryLifecycleStateEnumValues Enumerates the set of values for InventoryLifecycleStateEnum
func GetMappingInventoryLifecycleStateEnum(val string) (InventoryLifecycleStateEnum, bool)
GetMappingInventoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
InventorySummary Description of inventory.
type InventorySummary struct { // Inventory OCID. Id *string `mandatory:"true" json:"id"` // The current state of the inventory. LifecycleState InventoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Inventory display name. DisplayName *string `mandatory:"false" json:"displayName"` // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The OCID of the tenantId. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The time when the inventory was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time when the inventory was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no // predefined name, type, or namespace/scope. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{orcl-cloud: {free-tier-retain: true}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m InventorySummary) String() string
func (m InventorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAgentDependenciesRequest wrapper for the ListAgentDependencies operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAgentDependencies.go.html to see an example of how to use ListAgentDependenciesRequest.
type ListAgentDependenciesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given Agent ID. AgentId *string `mandatory:"false" contributesTo:"query" name:"agentId"` // A filter to return only resources that match the given environment ID. EnvironmentId *string `mandatory:"false" contributesTo:"query" name:"environmentId"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState AgentDependencyLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListAgentDependenciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListAgentDependenciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentDependenciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentDependenciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentDependenciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentDependenciesRequest) String() string
func (request ListAgentDependenciesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAgentDependenciesResponse wrapper for the ListAgentDependencies operation
type ListAgentDependenciesResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentDependencyCollection instances AgentDependencyCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentDependenciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentDependenciesResponse) String() string
ListAgentDependenciesSortByEnum Enum with underlying type: string
type ListAgentDependenciesSortByEnum string
Set of constants representing the allowable values for ListAgentDependenciesSortByEnum
const ( ListAgentDependenciesSortByTimecreated ListAgentDependenciesSortByEnum = "timeCreated" ListAgentDependenciesSortByTimeupdated ListAgentDependenciesSortByEnum = "timeUpdated" ListAgentDependenciesSortByDisplayname ListAgentDependenciesSortByEnum = "displayName" )
func GetListAgentDependenciesSortByEnumValues() []ListAgentDependenciesSortByEnum
GetListAgentDependenciesSortByEnumValues Enumerates the set of values for ListAgentDependenciesSortByEnum
func GetMappingListAgentDependenciesSortByEnum(val string) (ListAgentDependenciesSortByEnum, bool)
GetMappingListAgentDependenciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentDependenciesSortOrderEnum Enum with underlying type: string
type ListAgentDependenciesSortOrderEnum string
Set of constants representing the allowable values for ListAgentDependenciesSortOrderEnum
const ( ListAgentDependenciesSortOrderAsc ListAgentDependenciesSortOrderEnum = "ASC" ListAgentDependenciesSortOrderDesc ListAgentDependenciesSortOrderEnum = "DESC" )
func GetListAgentDependenciesSortOrderEnumValues() []ListAgentDependenciesSortOrderEnum
GetListAgentDependenciesSortOrderEnumValues Enumerates the set of values for ListAgentDependenciesSortOrderEnum
func GetMappingListAgentDependenciesSortOrderEnum(val string) (ListAgentDependenciesSortOrderEnum, bool)
GetMappingListAgentDependenciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentsRequest wrapper for the ListAgents operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAgents.go.html to see an example of how to use ListAgentsRequest.
type ListAgentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given environment ID. EnvironmentId *string `mandatory:"false" contributesTo:"query" name:"environmentId"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState AgentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources that match the given Agent ID. AgentId *string `mandatory:"false" contributesTo:"query" name:"agentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAgentsRequest) String() string
func (request ListAgentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAgentsResponse wrapper for the ListAgents operation
type ListAgentsResponse struct { // The underlying http response RawResponse *http.Response // A list of AgentCollection instances AgentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAgentsResponse) String() string
ListAgentsSortByEnum Enum with underlying type: string
type ListAgentsSortByEnum string
Set of constants representing the allowable values for ListAgentsSortByEnum
const ( ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated" ListAgentsSortByTimeupdated ListAgentsSortByEnum = "timeUpdated" ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName" )
func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum
GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum
func GetMappingListAgentsSortByEnum(val string) (ListAgentsSortByEnum, bool)
GetMappingListAgentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAgentsSortOrderEnum Enum with underlying type: string
type ListAgentsSortOrderEnum string
Set of constants representing the allowable values for ListAgentsSortOrderEnum
const ( ListAgentsSortOrderAsc ListAgentsSortOrderEnum = "ASC" ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC" )
func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum
GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum
func GetMappingListAgentsSortOrderEnum(val string) (ListAgentsSortOrderEnum, bool)
GetMappingListAgentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListApplianceImagesRequest wrapper for the ListApplianceImages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListApplianceImages.go.html to see an example of how to use ListApplianceImagesRequest.
type ListApplianceImagesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListApplianceImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListApplianceImagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListApplianceImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListApplianceImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListApplianceImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListApplianceImagesRequest) String() string
func (request ListApplianceImagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListApplianceImagesResponse wrapper for the ListApplianceImages operation
type ListApplianceImagesResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplianceImageCollection instances ApplianceImageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListApplianceImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListApplianceImagesResponse) String() string
ListApplianceImagesSortByEnum Enum with underlying type: string
type ListApplianceImagesSortByEnum string
Set of constants representing the allowable values for ListApplianceImagesSortByEnum
const ( ListApplianceImagesSortByTimecreated ListApplianceImagesSortByEnum = "timeCreated" ListApplianceImagesSortByTimeupdated ListApplianceImagesSortByEnum = "timeUpdated" ListApplianceImagesSortByDisplayname ListApplianceImagesSortByEnum = "displayName" )
func GetListApplianceImagesSortByEnumValues() []ListApplianceImagesSortByEnum
GetListApplianceImagesSortByEnumValues Enumerates the set of values for ListApplianceImagesSortByEnum
func GetMappingListApplianceImagesSortByEnum(val string) (ListApplianceImagesSortByEnum, bool)
GetMappingListApplianceImagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListApplianceImagesSortOrderEnum Enum with underlying type: string
type ListApplianceImagesSortOrderEnum string
Set of constants representing the allowable values for ListApplianceImagesSortOrderEnum
const ( ListApplianceImagesSortOrderAsc ListApplianceImagesSortOrderEnum = "ASC" ListApplianceImagesSortOrderDesc ListApplianceImagesSortOrderEnum = "DESC" )
func GetListApplianceImagesSortOrderEnumValues() []ListApplianceImagesSortOrderEnum
GetListApplianceImagesSortOrderEnumValues Enumerates the set of values for ListApplianceImagesSortOrderEnum
func GetMappingListApplianceImagesSortOrderEnum(val string) (ListApplianceImagesSortOrderEnum, bool)
GetMappingListApplianceImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetSourceConnectionsRequest wrapper for the ListAssetSourceConnections operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssetSourceConnections.go.html to see an example of how to use ListAssetSourceConnectionsRequest.
type ListAssetSourceConnectionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asset source. AssetSourceId *string `mandatory:"true" contributesTo:"path" name:"assetSourceId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAssetSourceConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAssetSourceConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAssetSourceConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAssetSourceConnectionsRequest) String() string
func (request ListAssetSourceConnectionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAssetSourceConnectionsResponse wrapper for the ListAssetSourceConnections operation
type ListAssetSourceConnectionsResponse struct { // The underlying http response RawResponse *http.Response // A list of AssetSourceConnectionCollection instances AssetSourceConnectionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAssetSourceConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAssetSourceConnectionsResponse) String() string
ListAssetSourcesLifecycleStateEnum Enum with underlying type: string
type ListAssetSourcesLifecycleStateEnum string
Set of constants representing the allowable values for ListAssetSourcesLifecycleStateEnum
const ( ListAssetSourcesLifecycleStateCreating ListAssetSourcesLifecycleStateEnum = "CREATING" ListAssetSourcesLifecycleStateActive ListAssetSourcesLifecycleStateEnum = "ACTIVE" ListAssetSourcesLifecycleStateDeleting ListAssetSourcesLifecycleStateEnum = "DELETING" ListAssetSourcesLifecycleStateDeleted ListAssetSourcesLifecycleStateEnum = "DELETED" ListAssetSourcesLifecycleStateFailed ListAssetSourcesLifecycleStateEnum = "FAILED" ListAssetSourcesLifecycleStateUpdating ListAssetSourcesLifecycleStateEnum = "UPDATING" ListAssetSourcesLifecycleStateNeedsAttention ListAssetSourcesLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListAssetSourcesLifecycleStateEnumValues() []ListAssetSourcesLifecycleStateEnum
GetListAssetSourcesLifecycleStateEnumValues Enumerates the set of values for ListAssetSourcesLifecycleStateEnum
func GetMappingListAssetSourcesLifecycleStateEnum(val string) (ListAssetSourcesLifecycleStateEnum, bool)
GetMappingListAssetSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetSourcesRequest wrapper for the ListAssetSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssetSources.go.html to see an example of how to use ListAssetSourcesRequest.
type ListAssetSourcesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asset source. AssetSourceId *string `mandatory:"false" contributesTo:"query" name:"assetSourceId"` // The field to sort by. Only one sort order may be provided. By default, the timeCreated is in descending order and displayName is in ascending order. SortBy ListAssetSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The current state of the asset source. LifecycleState ListAssetSourcesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListAssetSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAssetSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAssetSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAssetSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAssetSourcesRequest) String() string
func (request ListAssetSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAssetSourcesResponse wrapper for the ListAssetSources operation
type ListAssetSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of AssetSourceCollection instances AssetSourceCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAssetSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAssetSourcesResponse) String() string
ListAssetSourcesSortByEnum Enum with underlying type: string
type ListAssetSourcesSortByEnum string
Set of constants representing the allowable values for ListAssetSourcesSortByEnum
const ( ListAssetSourcesSortByTimecreated ListAssetSourcesSortByEnum = "timeCreated" ListAssetSourcesSortByDisplayname ListAssetSourcesSortByEnum = "displayName" )
func GetListAssetSourcesSortByEnumValues() []ListAssetSourcesSortByEnum
GetListAssetSourcesSortByEnumValues Enumerates the set of values for ListAssetSourcesSortByEnum
func GetMappingListAssetSourcesSortByEnum(val string) (ListAssetSourcesSortByEnum, bool)
GetMappingListAssetSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetSourcesSortOrderEnum Enum with underlying type: string
type ListAssetSourcesSortOrderEnum string
Set of constants representing the allowable values for ListAssetSourcesSortOrderEnum
const ( ListAssetSourcesSortOrderAsc ListAssetSourcesSortOrderEnum = "ASC" ListAssetSourcesSortOrderDesc ListAssetSourcesSortOrderEnum = "DESC" )
func GetListAssetSourcesSortOrderEnumValues() []ListAssetSourcesSortOrderEnum
GetListAssetSourcesSortOrderEnumValues Enumerates the set of values for ListAssetSourcesSortOrderEnum
func GetMappingListAssetSourcesSortOrderEnum(val string) (ListAssetSourcesSortOrderEnum, bool)
GetMappingListAssetSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetsAssetTypeEnum Enum with underlying type: string
type ListAssetsAssetTypeEnum string
Set of constants representing the allowable values for ListAssetsAssetTypeEnum
const ( ListAssetsAssetTypeVmwareVm ListAssetsAssetTypeEnum = "VMWARE_VM" ListAssetsAssetTypeVm ListAssetsAssetTypeEnum = "VM" )
func GetListAssetsAssetTypeEnumValues() []ListAssetsAssetTypeEnum
GetListAssetsAssetTypeEnumValues Enumerates the set of values for ListAssetsAssetTypeEnum
func GetMappingListAssetsAssetTypeEnum(val string) (ListAssetsAssetTypeEnum, bool)
GetMappingListAssetsAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetsRequest wrapper for the ListAssets operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListAssets.go.html to see an example of how to use ListAssetsRequest.
type ListAssetsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only assets whose lifecycleState matches the given lifecycleState. LifecycleState AssetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Source key from where the assets originate. SourceKey *string `mandatory:"false" contributesTo:"query" name:"sourceKey"` // External asset key. ExternalAssetKey *string `mandatory:"false" contributesTo:"query" name:"externalAssetKey"` // The type of asset. AssetType ListAssetsAssetTypeEnum `mandatory:"false" contributesTo:"query" name:"assetType" omitEmpty:"true"` // Unique asset identifier. AssetId *string `mandatory:"false" contributesTo:"query" name:"assetId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListAssetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListAssetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Unique Inventory identifier. InventoryId *string `mandatory:"false" contributesTo:"query" name:"inventoryId"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAssetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAssetsRequest) String() string
func (request ListAssetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAssetsResponse wrapper for the ListAssets operation
type ListAssetsResponse struct { // The underlying http response RawResponse *http.Response // A list of AssetCollection instances AssetCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAssetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAssetsResponse) String() string
ListAssetsSortByEnum Enum with underlying type: string
type ListAssetsSortByEnum string
Set of constants representing the allowable values for ListAssetsSortByEnum
const ( ListAssetsSortByTimecreated ListAssetsSortByEnum = "timeCreated" ListAssetsSortByTimeupdated ListAssetsSortByEnum = "timeUpdated" ListAssetsSortByDisplayname ListAssetsSortByEnum = "displayName" )
func GetListAssetsSortByEnumValues() []ListAssetsSortByEnum
GetListAssetsSortByEnumValues Enumerates the set of values for ListAssetsSortByEnum
func GetMappingListAssetsSortByEnum(val string) (ListAssetsSortByEnum, bool)
GetMappingListAssetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssetsSortOrderEnum Enum with underlying type: string
type ListAssetsSortOrderEnum string
Set of constants representing the allowable values for ListAssetsSortOrderEnum
const ( ListAssetsSortOrderAsc ListAssetsSortOrderEnum = "ASC" ListAssetsSortOrderDesc ListAssetsSortOrderEnum = "DESC" )
func GetListAssetsSortOrderEnumValues() []ListAssetsSortOrderEnum
GetListAssetsSortOrderEnumValues Enumerates the set of values for ListAssetsSortOrderEnum
func GetMappingListAssetsSortOrderEnum(val string) (ListAssetsSortOrderEnum, bool)
GetMappingListAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoverySchedulesLifecycleStateEnum Enum with underlying type: string
type ListDiscoverySchedulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDiscoverySchedulesLifecycleStateEnum
const ( ListDiscoverySchedulesLifecycleStateActive ListDiscoverySchedulesLifecycleStateEnum = "ACTIVE" ListDiscoverySchedulesLifecycleStateDeleted ListDiscoverySchedulesLifecycleStateEnum = "DELETED" )
func GetListDiscoverySchedulesLifecycleStateEnumValues() []ListDiscoverySchedulesLifecycleStateEnum
GetListDiscoverySchedulesLifecycleStateEnumValues Enumerates the set of values for ListDiscoverySchedulesLifecycleStateEnum
func GetMappingListDiscoverySchedulesLifecycleStateEnum(val string) (ListDiscoverySchedulesLifecycleStateEnum, bool)
GetMappingListDiscoverySchedulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoverySchedulesRequest wrapper for the ListDiscoverySchedules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListDiscoverySchedules.go.html to see an example of how to use ListDiscoverySchedulesRequest.
type ListDiscoverySchedulesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule. DiscoveryScheduleId *string `mandatory:"false" contributesTo:"query" name:"discoveryScheduleId"` // The current state of the discovery schedule. LifecycleState ListDiscoverySchedulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. By default, the timeCreated is in descending order and displayName is in ascending order. SortBy ListDiscoverySchedulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListDiscoverySchedulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDiscoverySchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDiscoverySchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDiscoverySchedulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDiscoverySchedulesRequest) String() string
func (request ListDiscoverySchedulesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDiscoverySchedulesResponse wrapper for the ListDiscoverySchedules operation
type ListDiscoverySchedulesResponse struct { // The underlying http response RawResponse *http.Response // A list of DiscoveryScheduleCollection instances DiscoveryScheduleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDiscoverySchedulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDiscoverySchedulesResponse) String() string
ListDiscoverySchedulesSortByEnum Enum with underlying type: string
type ListDiscoverySchedulesSortByEnum string
Set of constants representing the allowable values for ListDiscoverySchedulesSortByEnum
const ( ListDiscoverySchedulesSortByTimecreated ListDiscoverySchedulesSortByEnum = "timeCreated" ListDiscoverySchedulesSortByDisplayname ListDiscoverySchedulesSortByEnum = "displayName" )
func GetListDiscoverySchedulesSortByEnumValues() []ListDiscoverySchedulesSortByEnum
GetListDiscoverySchedulesSortByEnumValues Enumerates the set of values for ListDiscoverySchedulesSortByEnum
func GetMappingListDiscoverySchedulesSortByEnum(val string) (ListDiscoverySchedulesSortByEnum, bool)
GetMappingListDiscoverySchedulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoverySchedulesSortOrderEnum Enum with underlying type: string
type ListDiscoverySchedulesSortOrderEnum string
Set of constants representing the allowable values for ListDiscoverySchedulesSortOrderEnum
const ( ListDiscoverySchedulesSortOrderAsc ListDiscoverySchedulesSortOrderEnum = "ASC" ListDiscoverySchedulesSortOrderDesc ListDiscoverySchedulesSortOrderEnum = "DESC" )
func GetListDiscoverySchedulesSortOrderEnumValues() []ListDiscoverySchedulesSortOrderEnum
GetListDiscoverySchedulesSortOrderEnumValues Enumerates the set of values for ListDiscoverySchedulesSortOrderEnum
func GetMappingListDiscoverySchedulesSortOrderEnum(val string) (ListDiscoverySchedulesSortOrderEnum, bool)
GetMappingListDiscoverySchedulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListEnvironmentsRequest wrapper for the ListEnvironments operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListEnvironments.go.html to see an example of how to use ListEnvironmentsRequest.
type ListEnvironmentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources where their lifecycleState matches the given lifecycleState. LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources that match the given environment ID. EnvironmentId *string `mandatory:"false" contributesTo:"query" name:"environmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListEnvironmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListEnvironmentsRequest) String() string
func (request ListEnvironmentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListEnvironmentsResponse wrapper for the ListEnvironments operation
type ListEnvironmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of EnvironmentCollection instances EnvironmentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListEnvironmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListEnvironmentsResponse) String() string
ListEnvironmentsSortByEnum Enum with underlying type: string
type ListEnvironmentsSortByEnum string
Set of constants representing the allowable values for ListEnvironmentsSortByEnum
const ( ListEnvironmentsSortByTimecreated ListEnvironmentsSortByEnum = "timeCreated" ListEnvironmentsSortByTimeupdated ListEnvironmentsSortByEnum = "timeUpdated" ListEnvironmentsSortByDisplayname ListEnvironmentsSortByEnum = "displayName" )
func GetListEnvironmentsSortByEnumValues() []ListEnvironmentsSortByEnum
GetListEnvironmentsSortByEnumValues Enumerates the set of values for ListEnvironmentsSortByEnum
func GetMappingListEnvironmentsSortByEnum(val string) (ListEnvironmentsSortByEnum, bool)
GetMappingListEnvironmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListEnvironmentsSortOrderEnum Enum with underlying type: string
type ListEnvironmentsSortOrderEnum string
Set of constants representing the allowable values for ListEnvironmentsSortOrderEnum
const ( ListEnvironmentsSortOrderAsc ListEnvironmentsSortOrderEnum = "ASC" ListEnvironmentsSortOrderDesc ListEnvironmentsSortOrderEnum = "DESC" )
func GetListEnvironmentsSortOrderEnumValues() []ListEnvironmentsSortOrderEnum
GetListEnvironmentsSortOrderEnumValues Enumerates the set of values for ListEnvironmentsSortOrderEnum
func GetMappingListEnvironmentsSortOrderEnum(val string) (ListEnvironmentsSortOrderEnum, bool)
GetMappingListEnvironmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHistoricalMetricsRequest wrapper for the ListHistoricalMetrics operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/cloudbridge/ListHistoricalMetrics.go.html to see an example of how to use ListHistoricalMetricsRequest.
type ListHistoricalMetricsRequest struct { // Unique asset identifier. AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListHistoricalMetricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListHistoricalMetricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListHistoricalMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHistoricalMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeader