Documentation
¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetAgentAgentTypeEnumStringValues() []string
- func GetAgentDependencyLifecycleStateEnumStringValues() []string
- func GetAgentHeartBeatStatusEnumStringValues() []string
- func GetAgentLifecycleStateEnumStringValues() []string
- func GetAnalyzeAssetsAssetTypeEnumStringValues() []string
- func GetAnalyzeAssetsSortOrderEnumStringValues() []string
- func GetApplianceImageSummaryLifecycleStateEnumStringValues() []string
- func GetAssetLifecycleStateEnumStringValues() []string
- func GetAssetSourceConnectionLifecycleStateEnumStringValues() []string
- func GetAssetSourceConnectionTypeEnumStringValues() []string
- func GetAssetSourceCredentialsTypeEnumStringValues() []string
- func GetAssetSourceLifecycleStateEnumStringValues() []string
- func GetAssetSourceTypeEnumStringValues() []string
- func GetAssetTypeEnumStringValues() []string
- func GetDiscoveryScheduleLifecycleStateEnumStringValues() []string
- func GetEnvironmentLifecycleStateEnumStringValues() []string
- func GetEnvironmentTypeEnumStringValues() []string
- func GetImportInventoryDetailsResourceTypeEnumStringValues() []string
- func GetInventoryLifecycleStateEnumStringValues() []string
- func GetListAgentDependenciesSortByEnumStringValues() []string
- func GetListAgentDependenciesSortOrderEnumStringValues() []string
- func GetListAgentsSortByEnumStringValues() []string
- func GetListAgentsSortOrderEnumStringValues() []string
- func GetListApplianceImagesSortByEnumStringValues() []string
- func GetListApplianceImagesSortOrderEnumStringValues() []string
- func GetListAssetSourcesLifecycleStateEnumStringValues() []string
- func GetListAssetSourcesSortByEnumStringValues() []string
- func GetListAssetSourcesSortOrderEnumStringValues() []string
- func GetListAssetsAssetTypeEnumStringValues() []string
- func GetListAssetsSortByEnumStringValues() []string
- func GetListAssetsSortOrderEnumStringValues() []string
- func GetListDiscoverySchedulesLifecycleStateEnumStringValues() []string
- func GetListDiscoverySchedulesSortByEnumStringValues() []string
- func GetListDiscoverySchedulesSortOrderEnumStringValues() []string
- func GetListEnvironmentsSortByEnumStringValues() []string
- func GetListEnvironmentsSortOrderEnumStringValues() []string
- func GetListHistoricalMetricsSortByEnumStringValues() []string
- func GetListHistoricalMetricsSortOrderEnumStringValues() []string
- func GetListInventoriesSortByEnumStringValues() []string
- func GetListInventoriesSortOrderEnumStringValues() []string
- func GetListSupportedCloudRegionsAssetSourceTypeEnumStringValues() []string
- func GetListSupportedCloudRegionsSortByEnumStringValues() []string
- func GetListSupportedCloudRegionsSortOrderEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetLogicalUnitLunStatusEnumStringValues() []string
- func GetMigrationBandwidthAssignmentMethodEnumStringValues() []string
- func GetOlvmBiosTypeTypeEnumStringValues() []string
- func GetOlvmBootDeviceEnumStringValues() []string
- func GetOlvmBootProtocolProtocolEnumStringValues() []string
- func GetOlvmClusterPropertiesFipsModeEnumStringValues() []string
- func GetOlvmClusterPropertiesFirewallTypeEnumStringValues() []string
- func GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumStringValues() []string
- func GetOlvmClusterPropertiesSwitchTypeEnumStringValues() []string
- func GetOlvmConfigurationConfigurationTypeEnumStringValues() []string
- func GetOlvmCpuArchitectureEnumStringValues() []string
- func GetOlvmCpuModeEnumStringValues() []string
- func GetOlvmDataCenterDataCenterStatusEnumStringValues() []string
- func GetOlvmDataCenterQuotaModeTypeEnumStringValues() []string
- func GetOlvmDataCenterStorageFormatEnumStringValues() []string
- func GetOlvmDisplayDisplayTypeEnumStringValues() []string
- func GetOlvmErrorHandlingOnErrorEnumStringValues() []string
- func GetOlvmHostAutoNumaStatusEnumStringValues() []string
- func GetOlvmHostExternalStatusEnumStringValues() []string
- func GetOlvmHostKdumpStatusEnumStringValues() []string
- func GetOlvmHostStatusStatusEnumStringValues() []string
- func GetOlvmHostTypeHostTypeEnumStringValues() []string
- func GetOlvmHostVgpuPlacementEnumStringValues() []string
- func GetOlvmInitializationCloudInitNetworkProtocolEnumStringValues() []string
- func GetOlvmIpIpVersionEnumStringValues() []string
- func GetOlvmMigrationOptionsAutoConvergeEnumStringValues() []string
- func GetOlvmMigrationOptionsCompressedEnumStringValues() []string
- func GetOlvmMigrationOptionsEncryptedEnumStringValues() []string
- func GetOlvmMigrationOptionsParallelMigrationsPolicyEnumStringValues() []string
- func GetOlvmPmProxyTypeEnumStringValues() []string
- func GetOlvmPowerManagementStatusEnumStringValues() []string
- func GetOlvmSelinuxSeLinuxModeEnumStringValues() []string
- func GetOlvmSerialNumberPolicyEnumStringValues() []string
- func GetOlvmSpmSpmStatusEnumStringValues() []string
- func GetOlvmStorageDomainPropertiesExternalStatusEnumStringValues() []string
- func GetOlvmStorageDomainPropertiesStorageDomainStatusEnumStringValues() []string
- func GetOlvmStorageDomainPropertiesStorageDomainTypeEnumStringValues() []string
- func GetOlvmStorageDomainPropertiesStorageFormatEnumStringValues() []string
- func GetOlvmTemplatePropertiesAutoPinningPolicyEnumStringValues() []string
- func GetOlvmTemplatePropertiesCpuPinningPolicyEnumStringValues() []string
- func GetOlvmTemplatePropertiesStatusEnumStringValues() []string
- func GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumStringValues() []string
- func GetOlvmUsbUsbTypeEnumStringValues() []string
- func GetOlvmVirtualMachineAutoPinningPolicyEnumStringValues() []string
- func GetOlvmVirtualMachineCpuPinningPolicyEnumStringValues() []string
- func GetOlvmVirtualMachineNumaTuneModeEnumStringValues() []string
- func GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumStringValues() []string
- func GetOlvmVmPlacementPolicyVmAffinityEnumStringValues() []string
- func GetOlvmVmStatusStatusEnumStringValues() []string
- func GetOlvmVmTypeVmTypeEnumStringValues() []string
- func GetOlvmVnicProfilePropertiesPassThroughEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetPluginDesiredStateEnumStringValues() []string
- func GetPluginLifecycleStateEnumStringValues() []string
- func GetRngSourceEnumStringValues() []string
- func GetSortOrdersEnumStringValues() []string
- func GetStorageNfsVersionEnumStringValues() []string
- func GetStorageTypeEnumStringValues() []string
- func GetSupportedCloudRegionLifecycleStateEnumStringValues() []string
- func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
- type ActionTypeEnum
- type AddAgentDependencyDetails
- type AddAgentDependencyRequest
- func (request AddAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request AddAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request AddAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request AddAgentDependencyRequest) String() string
- func (request AddAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type AddAgentDependencyResponse
- type Agent
- type AgentAgentTypeEnum
- type AgentCollection
- type AgentDependency
- type AgentDependencyCollection
- type AgentDependencyLifecycleStateEnum
- type AgentDependencySummary
- type AgentHeartBeatStatusEnum
- type AgentLifecycleStateEnum
- type AgentSummary
- type AnalyzeAssetsAssetTypeEnum
- type AnalyzeAssetsRequest
- func (request AnalyzeAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request AnalyzeAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request AnalyzeAssetsRequest) RetryPolicy() *common.RetryPolicy
- func (request AnalyzeAssetsRequest) String() string
- func (request AnalyzeAssetsRequest) ValidateEnumValue() (bool, error)
- type AnalyzeAssetsResponse
- type AnalyzeAssetsSortOrderEnum
- type ApplianceImageCollection
- type ApplianceImageSummary
- type ApplianceImageSummaryLifecycleStateEnum
- type Asset
- type AssetAggregation
- type AssetAggregationCollection
- type AssetCollection
- type AssetLifecycleStateEnum
- type AssetSource
- type AssetSourceCollection
- type AssetSourceConnection
- type AssetSourceConnectionCollection
- type AssetSourceConnectionLifecycleStateEnum
- type AssetSourceConnectionTypeEnum
- type AssetSourceCredentials
- type AssetSourceCredentialsTypeEnum
- type AssetSourceLifecycleStateEnum
- type AssetSourceSummary
- type AssetSourceTypeEnum
- type AssetSummary
- type AssetTypeEnum
- type AwsAssetSource
- func (m AwsAssetSource) GetAssetsCompartmentId() *string
- func (m AwsAssetSource) GetCompartmentId() *string
- func (m AwsAssetSource) GetDefinedTags() map[string]map[string]interface{}
- func (m AwsAssetSource) GetDiscoveryScheduleId() *string
- func (m AwsAssetSource) GetDisplayName() *string
- func (m AwsAssetSource) GetEnvironmentId() *string
- func (m AwsAssetSource) GetEnvironmentType() EnvironmentTypeEnum
- func (m AwsAssetSource) GetFreeformTags() map[string]string
- func (m AwsAssetSource) GetId() *string
- func (m AwsAssetSource) GetInventoryId() *string
- func (m AwsAssetSource) GetLifecycleDetails() *string
- func (m AwsAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m AwsAssetSource) GetSystemTags() map[string]map[string]interface{}
- func (m AwsAssetSource) GetTimeCreated() *common.SDKTime
- func (m AwsAssetSource) GetTimeUpdated() *common.SDKTime
- func (m AwsAssetSource) MarshalJSON() (buff []byte, e error)
- func (m AwsAssetSource) String() string
- func (m AwsAssetSource) ValidateEnumValue() (bool, error)
- type AwsAssetSourceSummary
- func (m AwsAssetSourceSummary) GetAssetsCompartmentId() *string
- func (m AwsAssetSourceSummary) GetCompartmentId() *string
- func (m AwsAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m AwsAssetSourceSummary) GetDisplayName() *string
- func (m AwsAssetSourceSummary) GetEnvironmentId() *string
- func (m AwsAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
- func (m AwsAssetSourceSummary) GetFreeformTags() map[string]string
- func (m AwsAssetSourceSummary) GetId() *string
- func (m AwsAssetSourceSummary) GetInventoryId() *string
- func (m AwsAssetSourceSummary) GetLifecycleDetails() *string
- func (m AwsAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m AwsAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
- func (m AwsAssetSourceSummary) GetTimeCreated() *common.SDKTime
- func (m AwsAssetSourceSummary) GetTimeUpdated() *common.SDKTime
- func (m AwsAssetSourceSummary) MarshalJSON() (buff []byte, e error)
- func (m AwsAssetSourceSummary) String() string
- func (m AwsAssetSourceSummary) ValidateEnumValue() (bool, error)
- type AwsEbsAsset
- func (m AwsEbsAsset) GetAssetSourceIds() []string
- func (m AwsEbsAsset) GetCompartmentId() *string
- func (m AwsEbsAsset) GetDefinedTags() map[string]map[string]interface{}
- func (m AwsEbsAsset) GetDisplayName() *string
- func (m AwsEbsAsset) GetEnvironmentType() EnvironmentTypeEnum
- func (m AwsEbsAsset) GetExternalAssetKey() *string
- func (m AwsEbsAsset) GetFreeformTags() map[string]string
- func (m AwsEbsAsset) GetId() *string
- func (m AwsEbsAsset) GetInventoryId() *string
- func (m AwsEbsAsset) GetLifecycleState() AssetLifecycleStateEnum
- func (m AwsEbsAsset) GetSourceKey() *string
- func (m AwsEbsAsset) GetSystemTags() map[string]map[string]interface{}
- func (m AwsEbsAsset) GetTimeCreated() *common.SDKTime
- func (m AwsEbsAsset) GetTimeUpdated() *common.SDKTime
- func (m AwsEbsAsset) MarshalJSON() (buff []byte, e error)
- func (m AwsEbsAsset) String() string
- func (m AwsEbsAsset) ValidateEnumValue() (bool, error)
- type AwsEbsAssetDetails
- type AwsEbsProperties
- type AwsEc2Asset
- func (m AwsEc2Asset) GetAssetSourceIds() []string
- func (m AwsEc2Asset) GetCompartmentId() *string
- func (m AwsEc2Asset) GetDefinedTags() map[string]map[string]interface{}
- func (m AwsEc2Asset) GetDisplayName() *string
- func (m AwsEc2Asset) GetEnvironmentType() EnvironmentTypeEnum
- func (m AwsEc2Asset) GetExternalAssetKey() *string
- func (m AwsEc2Asset) GetFreeformTags() map[string]string
- func (m AwsEc2Asset) GetId() *string
- func (m AwsEc2Asset) GetInventoryId() *string
- func (m AwsEc2Asset) GetLifecycleState() AssetLifecycleStateEnum
- func (m AwsEc2Asset) GetSourceKey() *string
- func (m AwsEc2Asset) GetSystemTags() map[string]map[string]interface{}
- func (m AwsEc2Asset) GetTimeCreated() *common.SDKTime
- func (m AwsEc2Asset) GetTimeUpdated() *common.SDKTime
- func (m AwsEc2Asset) MarshalJSON() (buff []byte, e error)
- func (m AwsEc2Asset) String() string
- func (m AwsEc2Asset) ValidateEnumValue() (bool, error)
- type AwsEc2AssetDetails
- type AwsEc2Properties
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type ChangeAgentCompartmentDetails
- type ChangeAgentCompartmentRequest
- func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAgentCompartmentRequest) String() string
- func (request ChangeAgentCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeAgentCompartmentResponse
- type ChangeAgentDependencyCompartmentDetails
- type ChangeAgentDependencyCompartmentRequest
- func (request ChangeAgentDependencyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAgentDependencyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAgentDependencyCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAgentDependencyCompartmentRequest) String() string
- func (request ChangeAgentDependencyCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeAgentDependencyCompartmentResponse
- type ChangeAssetCompartmentDetails
- type ChangeAssetCompartmentRequest
- func (request ChangeAssetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAssetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAssetCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAssetCompartmentRequest) String() string
- func (request ChangeAssetCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeAssetCompartmentResponse
- type ChangeAssetSourceCompartmentDetails
- type ChangeAssetSourceCompartmentRequest
- func (request ChangeAssetSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAssetSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAssetSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAssetSourceCompartmentRequest) String() string
- func (request ChangeAssetSourceCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeAssetSourceCompartmentResponse
- type ChangeAssetTagsDetails
- type ChangeAssetTagsRequest
- func (request ChangeAssetTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeAssetTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeAssetTagsRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeAssetTagsRequest) String() string
- func (request ChangeAssetTagsRequest) ValidateEnumValue() (bool, error)
- type ChangeAssetTagsResponse
- type ChangeDiscoveryScheduleCompartmentDetails
- type ChangeDiscoveryScheduleCompartmentRequest
- func (request ChangeDiscoveryScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeDiscoveryScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeDiscoveryScheduleCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeDiscoveryScheduleCompartmentRequest) String() string
- func (request ChangeDiscoveryScheduleCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeDiscoveryScheduleCompartmentResponse
- type ChangeEnvironmentCompartmentDetails
- type ChangeEnvironmentCompartmentRequest
- func (request ChangeEnvironmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeEnvironmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeEnvironmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeEnvironmentCompartmentRequest) String() string
- func (request ChangeEnvironmentCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeEnvironmentCompartmentResponse
- type CommonClient
- func (client CommonClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client *CommonClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client CommonClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client CommonClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client CommonClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client CommonClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *CommonClient) SetRegion(region string)
- type ComputeProperties
- type CreateAgentDependencyDetails
- type CreateAgentDependencyRequest
- func (request CreateAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAgentDependencyRequest) String() string
- func (request CreateAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type CreateAgentDependencyResponse
- type CreateAgentDetails
- type CreateAgentRequest
- func (request CreateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAgentRequest) String() string
- func (request CreateAgentRequest) ValidateEnumValue() (bool, error)
- type CreateAgentResponse
- type CreateAssetDetails
- type CreateAssetRequest
- func (request CreateAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAssetRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAssetRequest) String() string
- func (request CreateAssetRequest) ValidateEnumValue() (bool, error)
- type CreateAssetResponse
- type CreateAssetSourceDetails
- type CreateAssetSourceRequest
- func (request CreateAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateAssetSourceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateAssetSourceRequest) String() string
- func (request CreateAssetSourceRequest) ValidateEnumValue() (bool, error)
- type CreateAssetSourceResponse
- type CreateAwsAssetSourceDetails
- func (m CreateAwsAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m CreateAwsAssetSourceDetails) GetCompartmentId() *string
- func (m CreateAwsAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateAwsAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m CreateAwsAssetSourceDetails) GetDisplayName() *string
- func (m CreateAwsAssetSourceDetails) GetEnvironmentId() *string
- func (m CreateAwsAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m CreateAwsAssetSourceDetails) GetFreeformTags() map[string]string
- func (m CreateAwsAssetSourceDetails) GetInventoryId() *string
- func (m CreateAwsAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m CreateAwsAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateAwsAssetSourceDetails) String() string
- func (m CreateAwsAssetSourceDetails) ValidateEnumValue() (bool, error)
- type CreateAwsEbsAssetDetails
- func (m CreateAwsEbsAssetDetails) GetAssetSourceIds() []string
- func (m CreateAwsEbsAssetDetails) GetCompartmentId() *string
- func (m CreateAwsEbsAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateAwsEbsAssetDetails) GetDisplayName() *string
- func (m CreateAwsEbsAssetDetails) GetExternalAssetKey() *string
- func (m CreateAwsEbsAssetDetails) GetFreeformTags() map[string]string
- func (m CreateAwsEbsAssetDetails) GetInventoryId() *string
- func (m CreateAwsEbsAssetDetails) GetSourceKey() *string
- func (m CreateAwsEbsAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateAwsEbsAssetDetails) String() string
- func (m CreateAwsEbsAssetDetails) ValidateEnumValue() (bool, error)
- type CreateAwsEc2AssetDetails
- func (m CreateAwsEc2AssetDetails) GetAssetSourceIds() []string
- func (m CreateAwsEc2AssetDetails) GetCompartmentId() *string
- func (m CreateAwsEc2AssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateAwsEc2AssetDetails) GetDisplayName() *string
- func (m CreateAwsEc2AssetDetails) GetExternalAssetKey() *string
- func (m CreateAwsEc2AssetDetails) GetFreeformTags() map[string]string
- func (m CreateAwsEc2AssetDetails) GetInventoryId() *string
- func (m CreateAwsEc2AssetDetails) GetSourceKey() *string
- func (m CreateAwsEc2AssetDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateAwsEc2AssetDetails) String() string
- func (m CreateAwsEc2AssetDetails) ValidateEnumValue() (bool, error)
- type CreateDiscoveryScheduleDetails
- type CreateDiscoveryScheduleRequest
- func (request CreateDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDiscoveryScheduleRequest) String() string
- func (request CreateDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
- type CreateDiscoveryScheduleResponse
- type CreateEnvironmentDetails
- type CreateEnvironmentRequest
- func (request CreateEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateEnvironmentRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateEnvironmentRequest) String() string
- func (request CreateEnvironmentRequest) ValidateEnumValue() (bool, error)
- type CreateEnvironmentResponse
- type CreateInventoryAssetDetails
- func (m CreateInventoryAssetDetails) GetAssetSourceIds() []string
- func (m CreateInventoryAssetDetails) GetCompartmentId() *string
- func (m CreateInventoryAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateInventoryAssetDetails) GetDisplayName() *string
- func (m CreateInventoryAssetDetails) GetExternalAssetKey() *string
- func (m CreateInventoryAssetDetails) GetFreeformTags() map[string]string
- func (m CreateInventoryAssetDetails) GetInventoryId() *string
- func (m CreateInventoryAssetDetails) GetSourceKey() *string
- func (m CreateInventoryAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateInventoryAssetDetails) String() string
- func (m CreateInventoryAssetDetails) ValidateEnumValue() (bool, error)
- type CreateInventoryDetails
- type CreateInventoryRequest
- func (request CreateInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateInventoryRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateInventoryRequest) String() string
- func (request CreateInventoryRequest) ValidateEnumValue() (bool, error)
- type CreateInventoryResponse
- type CreateOlvmAssetSourceDetails
- func (m CreateOlvmAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m CreateOlvmAssetSourceDetails) GetCompartmentId() *string
- func (m CreateOlvmAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateOlvmAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m CreateOlvmAssetSourceDetails) GetDisplayName() *string
- func (m CreateOlvmAssetSourceDetails) GetEnvironmentId() *string
- func (m CreateOlvmAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m CreateOlvmAssetSourceDetails) GetFreeformTags() map[string]string
- func (m CreateOlvmAssetSourceDetails) GetInventoryId() *string
- func (m CreateOlvmAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m CreateOlvmAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateOlvmAssetSourceDetails) String() string
- func (m CreateOlvmAssetSourceDetails) ValidateEnumValue() (bool, error)
- type CreateVmWareAssetSourceDetails
- func (m CreateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m CreateVmWareAssetSourceDetails) GetCompartmentId() *string
- func (m CreateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m CreateVmWareAssetSourceDetails) GetDisplayName() *string
- func (m CreateVmWareAssetSourceDetails) GetEnvironmentId() *string
- func (m CreateVmWareAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m CreateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
- func (m CreateVmWareAssetSourceDetails) GetInventoryId() *string
- func (m CreateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m CreateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateVmWareAssetSourceDetails) String() string
- func (m CreateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)
- type CreateVmwareVmAssetDetails
- func (m CreateVmwareVmAssetDetails) GetAssetSourceIds() []string
- func (m CreateVmwareVmAssetDetails) GetCompartmentId() *string
- func (m CreateVmwareVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateVmwareVmAssetDetails) GetDisplayName() *string
- func (m CreateVmwareVmAssetDetails) GetExternalAssetKey() *string
- func (m CreateVmwareVmAssetDetails) GetFreeformTags() map[string]string
- func (m CreateVmwareVmAssetDetails) GetInventoryId() *string
- func (m CreateVmwareVmAssetDetails) GetSourceKey() *string
- func (m CreateVmwareVmAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateVmwareVmAssetDetails) String() string
- func (m CreateVmwareVmAssetDetails) ValidateEnumValue() (bool, error)
- type CustomerTag
- type DeleteAgentDependencyRequest
- func (request DeleteAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteAgentDependencyRequest) String() string
- func (request DeleteAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type DeleteAgentDependencyResponse
- type DeleteAgentRequest
- func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteAgentRequest) String() string
- func (request DeleteAgentRequest) ValidateEnumValue() (bool, error)
- type DeleteAgentResponse
- type DeleteAssetRequest
- func (request DeleteAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteAssetRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteAssetRequest) String() string
- func (request DeleteAssetRequest) ValidateEnumValue() (bool, error)
- type DeleteAssetResponse
- type DeleteAssetSourceRequest
- func (request DeleteAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteAssetSourceRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteAssetSourceRequest) String() string
- func (request DeleteAssetSourceRequest) ValidateEnumValue() (bool, error)
- type DeleteAssetSourceResponse
- type DeleteDiscoveryScheduleRequest
- func (request DeleteDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDiscoveryScheduleRequest) String() string
- func (request DeleteDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
- type DeleteDiscoveryScheduleResponse
- type DeleteEnvironmentRequest
- func (request DeleteEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteEnvironmentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteEnvironmentRequest) String() string
- func (request DeleteEnvironmentRequest) ValidateEnumValue() (bool, error)
- type DeleteEnvironmentResponse
- type DeleteInventoryRequest
- func (request DeleteInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteInventoryRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteInventoryRequest) String() string
- func (request DeleteInventoryRequest) ValidateEnumValue() (bool, error)
- type DeleteInventoryResponse
- type DiscoveryClient
- func (client DiscoveryClient) ChangeAssetSourceCompartment(ctx context.Context, request ChangeAssetSourceCompartmentRequest) (response ChangeAssetSourceCompartmentResponse, err error)
- func (client DiscoveryClient) ChangeDiscoveryScheduleCompartment(ctx context.Context, request ChangeDiscoveryScheduleCompartmentRequest) (response ChangeDiscoveryScheduleCompartmentResponse, err error)
- func (client *DiscoveryClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DiscoveryClient) CreateAssetSource(ctx context.Context, request CreateAssetSourceRequest) (response CreateAssetSourceResponse, err error)
- func (client DiscoveryClient) CreateDiscoverySchedule(ctx context.Context, request CreateDiscoveryScheduleRequest) (response CreateDiscoveryScheduleResponse, err error)
- func (client DiscoveryClient) DeleteAssetSource(ctx context.Context, request DeleteAssetSourceRequest) (response DeleteAssetSourceResponse, err error)
- func (client DiscoveryClient) DeleteDiscoverySchedule(ctx context.Context, request DeleteDiscoveryScheduleRequest) (response DeleteDiscoveryScheduleResponse, err error)
- func (client DiscoveryClient) GetAssetSource(ctx context.Context, request GetAssetSourceRequest) (response GetAssetSourceResponse, err error)
- func (client DiscoveryClient) GetDiscoverySchedule(ctx context.Context, request GetDiscoveryScheduleRequest) (response GetDiscoveryScheduleResponse, err error)
- func (client DiscoveryClient) ListAssetSourceConnections(ctx context.Context, request ListAssetSourceConnectionsRequest) (response ListAssetSourceConnectionsResponse, err error)
- func (client DiscoveryClient) ListAssetSources(ctx context.Context, request ListAssetSourcesRequest) (response ListAssetSourcesResponse, err error)
- func (client DiscoveryClient) ListDiscoverySchedules(ctx context.Context, request ListDiscoverySchedulesRequest) (response ListDiscoverySchedulesResponse, err error)
- func (client DiscoveryClient) ListSupportedCloudRegions(ctx context.Context, request ListSupportedCloudRegionsRequest) (response ListSupportedCloudRegionsResponse, err error)
- func (client DiscoveryClient) RefreshAssetSource(ctx context.Context, request RefreshAssetSourceRequest) (response RefreshAssetSourceResponse, err error)
- func (client *DiscoveryClient) SetRegion(region string)
- func (client DiscoveryClient) UpdateAssetSource(ctx context.Context, request UpdateAssetSourceRequest) (response UpdateAssetSourceResponse, err error)
- func (client DiscoveryClient) UpdateDiscoverySchedule(ctx context.Context, request UpdateDiscoveryScheduleRequest) (response UpdateDiscoveryScheduleResponse, err error)
- type DiscoverySchedule
- type DiscoveryScheduleCollection
- type DiscoveryScheduleLifecycleStateEnum
- type DiscoveryScheduleSummary
- type Disk
- type Environment
- type EnvironmentCollection
- type EnvironmentLifecycleStateEnum
- type EnvironmentSummary
- type EnvironmentTypeEnum
- type GetAgentDependencyRequest
- func (request GetAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAgentDependencyRequest) String() string
- func (request GetAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type GetAgentDependencyResponse
- type GetAgentRequest
- func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAgentRequest) String() string
- func (request GetAgentRequest) ValidateEnumValue() (bool, error)
- type GetAgentResponse
- type GetAssetRequest
- func (request GetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAssetRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAssetRequest) String() string
- func (request GetAssetRequest) ValidateEnumValue() (bool, error)
- type GetAssetResponse
- type GetAssetSourceRequest
- func (request GetAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAssetSourceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAssetSourceRequest) String() string
- func (request GetAssetSourceRequest) ValidateEnumValue() (bool, error)
- type GetAssetSourceResponse
- type GetDiscoveryScheduleRequest
- func (request GetDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDiscoveryScheduleRequest) String() string
- func (request GetDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
- type GetDiscoveryScheduleResponse
- type GetEnvironmentRequest
- func (request GetEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetEnvironmentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetEnvironmentRequest) String() string
- func (request GetEnvironmentRequest) ValidateEnumValue() (bool, error)
- type GetEnvironmentResponse
- type GetInventoryRequest
- func (request GetInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetInventoryRequest) RetryPolicy() *common.RetryPolicy
- func (request GetInventoryRequest) String() string
- func (request GetInventoryRequest) ValidateEnumValue() (bool, error)
- type GetInventoryResponse
- type GetPluginRequest
- func (request GetPluginRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetPluginRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetPluginRequest) RetryPolicy() *common.RetryPolicy
- func (request GetPluginRequest) String() string
- func (request GetPluginRequest) ValidateEnumValue() (bool, error)
- type GetPluginResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type GpuDevice
- type GroupIdentifier
- type HistoricalMetric
- type HistoricalMetricCollection
- type HistoricalMetricSummary
- type ImportInventoryDetails
- type ImportInventoryDetailsResourceTypeEnum
- type ImportInventoryRequest
- func (request ImportInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ImportInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ImportInventoryRequest) RetryPolicy() *common.RetryPolicy
- func (request ImportInventoryRequest) String() string
- func (request ImportInventoryRequest) ValidateEnumValue() (bool, error)
- type ImportInventoryResponse
- type ImportInventoryViaAssetsDetails
- func (m ImportInventoryViaAssetsDetails) GetCompartmentId() *string
- func (m ImportInventoryViaAssetsDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m ImportInventoryViaAssetsDetails) GetFreeformTags() map[string]string
- func (m ImportInventoryViaAssetsDetails) MarshalJSON() (buff []byte, e error)
- func (m ImportInventoryViaAssetsDetails) String() string
- func (m ImportInventoryViaAssetsDetails) ValidateEnumValue() (bool, error)
- type InstanceNetworkInterface
- type InstanceNetworkInterfaceAssociation
- type InstanceNetworkInterfaceAttachment
- type InstancePrivateIpAddress
- type InstanceState
- type Inventory
- type InventoryAsset
- func (m InventoryAsset) GetAssetSourceIds() []string
- func (m InventoryAsset) GetCompartmentId() *string
- func (m InventoryAsset) GetDefinedTags() map[string]map[string]interface{}
- func (m InventoryAsset) GetDisplayName() *string
- func (m InventoryAsset) GetEnvironmentType() EnvironmentTypeEnum
- func (m InventoryAsset) GetExternalAssetKey() *string
- func (m InventoryAsset) GetFreeformTags() map[string]string
- func (m InventoryAsset) GetId() *string
- func (m InventoryAsset) GetInventoryId() *string
- func (m InventoryAsset) GetLifecycleState() AssetLifecycleStateEnum
- func (m InventoryAsset) GetSourceKey() *string
- func (m InventoryAsset) GetSystemTags() map[string]map[string]interface{}
- func (m InventoryAsset) GetTimeCreated() *common.SDKTime
- func (m InventoryAsset) GetTimeUpdated() *common.SDKTime
- func (m InventoryAsset) MarshalJSON() (buff []byte, e error)
- func (m InventoryAsset) String() string
- func (m InventoryAsset) ValidateEnumValue() (bool, error)
- type InventoryClient
- func (client InventoryClient) AnalyzeAssets(ctx context.Context, request AnalyzeAssetsRequest) (response AnalyzeAssetsResponse, err error)
- func (client InventoryClient) ChangeAssetCompartment(ctx context.Context, request ChangeAssetCompartmentRequest) (response ChangeAssetCompartmentResponse, err error)
- func (client InventoryClient) ChangeAssetTags(ctx context.Context, request ChangeAssetTagsRequest) (response ChangeAssetTagsResponse, err error)
- func (client *InventoryClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client InventoryClient) CreateAsset(ctx context.Context, request CreateAssetRequest) (response CreateAssetResponse, err error)
- func (client InventoryClient) CreateInventory(ctx context.Context, request CreateInventoryRequest) (response CreateInventoryResponse, err error)
- func (client InventoryClient) DeleteAsset(ctx context.Context, request DeleteAssetRequest) (response DeleteAssetResponse, err error)
- func (client InventoryClient) DeleteInventory(ctx context.Context, request DeleteInventoryRequest) (response DeleteInventoryResponse, err error)
- func (client InventoryClient) GetAsset(ctx context.Context, request GetAssetRequest) (response GetAssetResponse, err error)
- func (client InventoryClient) GetInventory(ctx context.Context, request GetInventoryRequest) (response GetInventoryResponse, err error)
- func (client InventoryClient) ImportInventory(ctx context.Context, request ImportInventoryRequest) (response ImportInventoryResponse, err error)
- func (client InventoryClient) ListAssets(ctx context.Context, request ListAssetsRequest) (response ListAssetsResponse, err error)
- func (client InventoryClient) ListHistoricalMetrics(ctx context.Context, request ListHistoricalMetricsRequest) (response ListHistoricalMetricsResponse, err error)
- func (client InventoryClient) ListInventories(ctx context.Context, request ListInventoriesRequest) (response ListInventoriesResponse, err error)
- func (client *InventoryClient) SetRegion(region string)
- func (client InventoryClient) SubmitHistoricalMetrics(ctx context.Context, request SubmitHistoricalMetricsRequest) (response SubmitHistoricalMetricsResponse, err error)
- func (client InventoryClient) UpdateAsset(ctx context.Context, request UpdateAssetRequest) (response UpdateAssetResponse, err error)
- func (client InventoryClient) UpdateInventory(ctx context.Context, request UpdateInventoryRequest) (response UpdateInventoryResponse, err error)
- type InventoryCollection
- type InventoryLifecycleStateEnum
- type InventorySummary
- type Ksm
- type ListAgentDependenciesRequest
- func (request ListAgentDependenciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAgentDependenciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAgentDependenciesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAgentDependenciesRequest) String() string
- func (request ListAgentDependenciesRequest) ValidateEnumValue() (bool, error)
- type ListAgentDependenciesResponse
- type ListAgentDependenciesSortByEnum
- type ListAgentDependenciesSortOrderEnum
- type ListAgentsRequest
- func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAgentsRequest) String() string
- func (request ListAgentsRequest) ValidateEnumValue() (bool, error)
- type ListAgentsResponse
- type ListAgentsSortByEnum
- type ListAgentsSortOrderEnum
- type ListApplianceImagesRequest
- func (request ListApplianceImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListApplianceImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListApplianceImagesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListApplianceImagesRequest) String() string
- func (request ListApplianceImagesRequest) ValidateEnumValue() (bool, error)
- type ListApplianceImagesResponse
- type ListApplianceImagesSortByEnum
- type ListApplianceImagesSortOrderEnum
- type ListAssetSourceConnectionsRequest
- func (request ListAssetSourceConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAssetSourceConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAssetSourceConnectionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAssetSourceConnectionsRequest) String() string
- func (request ListAssetSourceConnectionsRequest) ValidateEnumValue() (bool, error)
- type ListAssetSourceConnectionsResponse
- type ListAssetSourcesLifecycleStateEnum
- type ListAssetSourcesRequest
- func (request ListAssetSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAssetSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAssetSourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAssetSourcesRequest) String() string
- func (request ListAssetSourcesRequest) ValidateEnumValue() (bool, error)
- type ListAssetSourcesResponse
- type ListAssetSourcesSortByEnum
- type ListAssetSourcesSortOrderEnum
- type ListAssetsAssetTypeEnum
- type ListAssetsRequest
- func (request ListAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAssetsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAssetsRequest) String() string
- func (request ListAssetsRequest) ValidateEnumValue() (bool, error)
- type ListAssetsResponse
- type ListAssetsSortByEnum
- type ListAssetsSortOrderEnum
- type ListDiscoverySchedulesLifecycleStateEnum
- type ListDiscoverySchedulesRequest
- func (request ListDiscoverySchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDiscoverySchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDiscoverySchedulesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDiscoverySchedulesRequest) String() string
- func (request ListDiscoverySchedulesRequest) ValidateEnumValue() (bool, error)
- type ListDiscoverySchedulesResponse
- type ListDiscoverySchedulesSortByEnum
- type ListDiscoverySchedulesSortOrderEnum
- type ListEnvironmentsRequest
- func (request ListEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListEnvironmentsRequest) String() string
- func (request ListEnvironmentsRequest) ValidateEnumValue() (bool, error)
- type ListEnvironmentsResponse
- type ListEnvironmentsSortByEnum
- type ListEnvironmentsSortOrderEnum
- type ListHistoricalMetricsRequest
- func (request ListHistoricalMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListHistoricalMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListHistoricalMetricsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListHistoricalMetricsRequest) String() string
- func (request ListHistoricalMetricsRequest) ValidateEnumValue() (bool, error)
- type ListHistoricalMetricsResponse
- type ListHistoricalMetricsSortByEnum
- type ListHistoricalMetricsSortOrderEnum
- type ListInventoriesRequest
- func (request ListInventoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListInventoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListInventoriesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListInventoriesRequest) String() string
- func (request ListInventoriesRequest) ValidateEnumValue() (bool, error)
- type ListInventoriesResponse
- type ListInventoriesSortByEnum
- type ListInventoriesSortOrderEnum
- type ListSupportedCloudRegionsAssetSourceTypeEnum
- type ListSupportedCloudRegionsRequest
- func (request ListSupportedCloudRegionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSupportedCloudRegionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSupportedCloudRegionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSupportedCloudRegionsRequest) String() string
- func (request ListSupportedCloudRegionsRequest) ValidateEnumValue() (bool, error)
- type ListSupportedCloudRegionsResponse
- type ListSupportedCloudRegionsSortByEnum
- type ListSupportedCloudRegionsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type LogicalUnit
- type LogicalUnitLunStatusEnum
- type MemoryOverCommit
- type MigrationBandwidth
- type MigrationBandwidthAssignmentMethodEnum
- type MonthlyCostSummary
- type Nic
- type Nvdimm
- type NvdimmController
- type OcbAgentSvcClient
- func (client OcbAgentSvcClient) AddAgentDependency(ctx context.Context, request AddAgentDependencyRequest) (response AddAgentDependencyResponse, err error)
- func (client OcbAgentSvcClient) ChangeAgentCompartment(ctx context.Context, request ChangeAgentCompartmentRequest) (response ChangeAgentCompartmentResponse, err error)
- func (client OcbAgentSvcClient) ChangeAgentDependencyCompartment(ctx context.Context, request ChangeAgentDependencyCompartmentRequest) (response ChangeAgentDependencyCompartmentResponse, err error)
- func (client OcbAgentSvcClient) ChangeEnvironmentCompartment(ctx context.Context, request ChangeEnvironmentCompartmentRequest) (response ChangeEnvironmentCompartmentResponse, err error)
- func (client *OcbAgentSvcClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client OcbAgentSvcClient) CreateAgent(ctx context.Context, request CreateAgentRequest) (response CreateAgentResponse, err error)
- func (client OcbAgentSvcClient) CreateAgentDependency(ctx context.Context, request CreateAgentDependencyRequest) (response CreateAgentDependencyResponse, err error)
- func (client OcbAgentSvcClient) CreateEnvironment(ctx context.Context, request CreateEnvironmentRequest) (response CreateEnvironmentResponse, err error)
- func (client OcbAgentSvcClient) DeleteAgent(ctx context.Context, request DeleteAgentRequest) (response DeleteAgentResponse, err error)
- func (client OcbAgentSvcClient) DeleteAgentDependency(ctx context.Context, request DeleteAgentDependencyRequest) (response DeleteAgentDependencyResponse, err error)
- func (client OcbAgentSvcClient) DeleteEnvironment(ctx context.Context, request DeleteEnvironmentRequest) (response DeleteEnvironmentResponse, err error)
- func (client OcbAgentSvcClient) GetAgent(ctx context.Context, request GetAgentRequest) (response GetAgentResponse, err error)
- func (client OcbAgentSvcClient) GetAgentDependency(ctx context.Context, request GetAgentDependencyRequest) (response GetAgentDependencyResponse, err error)
- func (client OcbAgentSvcClient) GetEnvironment(ctx context.Context, request GetEnvironmentRequest) (response GetEnvironmentResponse, err error)
- func (client OcbAgentSvcClient) GetPlugin(ctx context.Context, request GetPluginRequest) (response GetPluginResponse, err error)
- func (client OcbAgentSvcClient) ListAgentDependencies(ctx context.Context, request ListAgentDependenciesRequest) (response ListAgentDependenciesResponse, err error)
- func (client OcbAgentSvcClient) ListAgents(ctx context.Context, request ListAgentsRequest) (response ListAgentsResponse, err error)
- func (client OcbAgentSvcClient) ListApplianceImages(ctx context.Context, request ListApplianceImagesRequest) (response ListApplianceImagesResponse, err error)
- func (client OcbAgentSvcClient) ListEnvironments(ctx context.Context, request ListEnvironmentsRequest) (response ListEnvironmentsResponse, err error)
- func (client OcbAgentSvcClient) RemoveAgentDependency(ctx context.Context, request RemoveAgentDependencyRequest) (response RemoveAgentDependencyResponse, err error)
- func (client *OcbAgentSvcClient) SetRegion(region string)
- func (client OcbAgentSvcClient) UpdateAgent(ctx context.Context, request UpdateAgentRequest) (response UpdateAgentResponse, err error)
- func (client OcbAgentSvcClient) UpdateAgentDependency(ctx context.Context, request UpdateAgentDependencyRequest) (response UpdateAgentDependencyResponse, err error)
- func (client OcbAgentSvcClient) UpdateEnvironment(ctx context.Context, request UpdateEnvironmentRequest) (response UpdateEnvironmentResponse, err error)
- func (client OcbAgentSvcClient) UpdatePlugin(ctx context.Context, request UpdatePluginRequest) (response UpdatePluginResponse, err error)
- type OlvmAgent
- type OlvmAssetSource
- func (m OlvmAssetSource) GetAssetsCompartmentId() *string
- func (m OlvmAssetSource) GetCompartmentId() *string
- func (m OlvmAssetSource) GetDefinedTags() map[string]map[string]interface{}
- func (m OlvmAssetSource) GetDiscoveryScheduleId() *string
- func (m OlvmAssetSource) GetDisplayName() *string
- func (m OlvmAssetSource) GetEnvironmentId() *string
- func (m OlvmAssetSource) GetEnvironmentType() EnvironmentTypeEnum
- func (m OlvmAssetSource) GetFreeformTags() map[string]string
- func (m OlvmAssetSource) GetId() *string
- func (m OlvmAssetSource) GetInventoryId() *string
- func (m OlvmAssetSource) GetLifecycleDetails() *string
- func (m OlvmAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m OlvmAssetSource) GetSystemTags() map[string]map[string]interface{}
- func (m OlvmAssetSource) GetTimeCreated() *common.SDKTime
- func (m OlvmAssetSource) GetTimeUpdated() *common.SDKTime
- func (m OlvmAssetSource) MarshalJSON() (buff []byte, e error)
- func (m OlvmAssetSource) String() string
- func (m OlvmAssetSource) ValidateEnumValue() (bool, error)
- type OlvmAssetSourceSummary
- func (m OlvmAssetSourceSummary) GetAssetsCompartmentId() *string
- func (m OlvmAssetSourceSummary) GetCompartmentId() *string
- func (m OlvmAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m OlvmAssetSourceSummary) GetDisplayName() *string
- func (m OlvmAssetSourceSummary) GetEnvironmentId() *string
- func (m OlvmAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
- func (m OlvmAssetSourceSummary) GetFreeformTags() map[string]string
- func (m OlvmAssetSourceSummary) GetId() *string
- func (m OlvmAssetSourceSummary) GetInventoryId() *string
- func (m OlvmAssetSourceSummary) GetLifecycleDetails() *string
- func (m OlvmAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m OlvmAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
- func (m OlvmAssetSourceSummary) GetTimeCreated() *common.SDKTime
- func (m OlvmAssetSourceSummary) GetTimeUpdated() *common.SDKTime
- func (m OlvmAssetSourceSummary) MarshalJSON() (buff []byte, e error)
- func (m OlvmAssetSourceSummary) String() string
- func (m OlvmAssetSourceSummary) ValidateEnumValue() (bool, error)
- type OlvmBios
- type OlvmBiosType
- type OlvmBiosTypeTypeEnum
- type OlvmBootDeviceEnum
- type OlvmBootMenu
- type OlvmBootProtocol
- type OlvmBootProtocolProtocolEnum
- type OlvmCertificate
- type OlvmClusterAssetDetails
- type OlvmClusterProperties
- type OlvmClusterPropertiesFipsModeEnum
- type OlvmClusterPropertiesFirewallTypeEnum
- type OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum
- type OlvmClusterPropertiesSwitchTypeEnum
- type OlvmConfiguration
- type OlvmConfigurationConfigurationTypeEnum
- type OlvmConsole
- type OlvmCore
- type OlvmCpu
- type OlvmCpuArchitectureEnum
- type OlvmCpuModeEnum
- type OlvmCpuTopology
- type OlvmCpuTune
- type OlvmCustomProperty
- type OlvmDataCenter
- type OlvmDataCenterDataCenterStatusEnum
- type OlvmDataCenterQuotaModeTypeEnum
- type OlvmDataCenterStorageFormatEnum
- type OlvmDisplay
- type OlvmDisplayDisplayTypeEnum
- type OlvmDomain
- type OlvmErrorHandling
- type OlvmErrorHandlingOnErrorEnum
- type OlvmFencingPolicy
- type OlvmGuestOperatingSystem
- type OlvmHardwareInformation
- type OlvmHighAvailability
- type OlvmHost
- type OlvmHostAutoNumaStatusEnum
- type OlvmHostExternalStatusEnum
- type OlvmHostKdumpStatusEnum
- type OlvmHostStatus
- type OlvmHostStatusStatusEnum
- type OlvmHostType
- type OlvmHostTypeHostTypeEnum
- type OlvmHostVgpuPlacementEnum
- type OlvmHostedEngine
- type OlvmIcon
- type OlvmInitialization
- type OlvmInitializationCloudInitNetworkProtocolEnum
- type OlvmIp
- type OlvmIpIpVersionEnum
- type OlvmIscsiDetails
- type OlvmKernel
- type OlvmMemoryPolicy
- type OlvmMigrationOptions
- type OlvmMigrationOptionsAutoConvergeEnum
- type OlvmMigrationOptionsCompressedEnum
- type OlvmMigrationOptionsEncryptedEnum
- type OlvmMigrationOptionsParallelMigrationsPolicyEnum
- type OlvmNicConfiguration
- type OlvmOperatingSystem
- type OlvmPmProxy
- type OlvmPmProxyTypeEnum
- type OlvmPowerManagement
- type OlvmPowerManagementStatusEnum
- type OlvmProperty
- type OlvmSelinux
- type OlvmSelinuxSeLinuxModeEnum
- type OlvmSerialNumber
- type OlvmSerialNumberPolicyEnum
- type OlvmSpm
- type OlvmSpmSpmStatusEnum
- type OlvmStorageDomainAssetDetails
- type OlvmStorageDomainProperties
- type OlvmStorageDomainPropertiesExternalStatusEnum
- type OlvmStorageDomainPropertiesStorageDomainStatusEnum
- type OlvmStorageDomainPropertiesStorageDomainTypeEnum
- type OlvmStorageDomainPropertiesStorageFormatEnum
- type OlvmTemplateAssetDetails
- type OlvmTemplateProperties
- type OlvmTemplatePropertiesAutoPinningPolicyEnum
- type OlvmTemplatePropertiesCpuPinningPolicyEnum
- type OlvmTemplatePropertiesStatusEnum
- type OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum
- type OlvmTemplateVersion
- type OlvmUsb
- type OlvmUsbUsbTypeEnum
- type OlvmVersion
- type OlvmVirtualMachine
- type OlvmVirtualMachineAutoPinningPolicyEnum
- type OlvmVirtualMachineCpuPinningPolicyEnum
- type OlvmVirtualMachineNumaTuneModeEnum
- type OlvmVirtualMachineStorageErrorResumeBehaviorEnum
- type OlvmVmPlacementPolicy
- type OlvmVmPlacementPolicyVmAffinityEnum
- type OlvmVmStatus
- type OlvmVmStatusStatusEnum
- type OlvmVmSummary
- type OlvmVmType
- type OlvmVmTypeVmTypeEnum
- type OlvmVnicProfileAssetDetails
- type OlvmVnicProfileProperties
- type OlvmVnicProfilePropertiesPassThroughEnum
- type OperationStatusEnum
- type OperationTypeEnum
- type Placement
- type Plugin
- type PluginDesiredStateEnum
- type PluginLifecycleStateEnum
- type PluginSummary
- type RefreshAssetSourceRequest
- func (request RefreshAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RefreshAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RefreshAssetSourceRequest) RetryPolicy() *common.RetryPolicy
- func (request RefreshAssetSourceRequest) String() string
- func (request RefreshAssetSourceRequest) ValidateEnumValue() (bool, error)
- type RefreshAssetSourceResponse
- type RemoveAgentDependencyDetails
- type RemoveAgentDependencyRequest
- func (request RemoveAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RemoveAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RemoveAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request RemoveAgentDependencyRequest) String() string
- func (request RemoveAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type RemoveAgentDependencyResponse
- type RngSourceEnum
- type ScsiController
- type SkipIfConnectivityBroken
- type SkipIfSdActive
- type SortOrdersEnum
- type Storage
- type StorageNfsVersionEnum
- type StorageTypeEnum
- type SubmitHistoricalMetricsDetails
- type SubmitHistoricalMetricsRequest
- func (request SubmitHistoricalMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SubmitHistoricalMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SubmitHistoricalMetricsRequest) RetryPolicy() *common.RetryPolicy
- func (request SubmitHistoricalMetricsRequest) String() string
- func (request SubmitHistoricalMetricsRequest) ValidateEnumValue() (bool, error)
- type SubmitHistoricalMetricsResponse
- type SupportedCloudRegionCollection
- type SupportedCloudRegionLifecycleStateEnum
- type SupportedCloudRegionSummary
- type Tag
- type TransparentHugePages
- type UpdateAgentDependencyDetails
- type UpdateAgentDependencyRequest
- func (request UpdateAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAgentDependencyRequest) String() string
- func (request UpdateAgentDependencyRequest) ValidateEnumValue() (bool, error)
- type UpdateAgentDependencyResponse
- type UpdateAgentDetails
- type UpdateAgentRequest
- func (request UpdateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAgentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAgentRequest) String() string
- func (request UpdateAgentRequest) ValidateEnumValue() (bool, error)
- type UpdateAgentResponse
- type UpdateAssetDetails
- type UpdateAssetRequest
- func (request UpdateAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAssetRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAssetRequest) String() string
- func (request UpdateAssetRequest) ValidateEnumValue() (bool, error)
- type UpdateAssetResponse
- type UpdateAssetSourceDetails
- type UpdateAssetSourceRequest
- func (request UpdateAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateAssetSourceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateAssetSourceRequest) String() string
- func (request UpdateAssetSourceRequest) ValidateEnumValue() (bool, error)
- type UpdateAssetSourceResponse
- type UpdateAwsAssetSourceDetails
- func (m UpdateAwsAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m UpdateAwsAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateAwsAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m UpdateAwsAssetSourceDetails) GetDisplayName() *string
- func (m UpdateAwsAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m UpdateAwsAssetSourceDetails) GetFreeformTags() map[string]string
- func (m UpdateAwsAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m UpdateAwsAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateAwsAssetSourceDetails) String() string
- func (m UpdateAwsAssetSourceDetails) ValidateEnumValue() (bool, error)
- type UpdateAwsEbsAssetDetails
- func (m UpdateAwsEbsAssetDetails) GetAssetSourceIds() []string
- func (m UpdateAwsEbsAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateAwsEbsAssetDetails) GetDisplayName() *string
- func (m UpdateAwsEbsAssetDetails) GetFreeformTags() map[string]string
- func (m UpdateAwsEbsAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateAwsEbsAssetDetails) String() string
- func (m UpdateAwsEbsAssetDetails) ValidateEnumValue() (bool, error)
- type UpdateAwsEc2AssetDetails
- func (m UpdateAwsEc2AssetDetails) GetAssetSourceIds() []string
- func (m UpdateAwsEc2AssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateAwsEc2AssetDetails) GetDisplayName() *string
- func (m UpdateAwsEc2AssetDetails) GetFreeformTags() map[string]string
- func (m UpdateAwsEc2AssetDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateAwsEc2AssetDetails) String() string
- func (m UpdateAwsEc2AssetDetails) ValidateEnumValue() (bool, error)
- type UpdateDiscoveryScheduleDetails
- type UpdateDiscoveryScheduleRequest
- func (request UpdateDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDiscoveryScheduleRequest) String() string
- func (request UpdateDiscoveryScheduleRequest) ValidateEnumValue() (bool, error)
- type UpdateDiscoveryScheduleResponse
- type UpdateEnvironmentDetails
- type UpdateEnvironmentRequest
- func (request UpdateEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateEnvironmentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateEnvironmentRequest) String() string
- func (request UpdateEnvironmentRequest) ValidateEnumValue() (bool, error)
- type UpdateEnvironmentResponse
- type UpdateInventoryAssetDetails
- func (m UpdateInventoryAssetDetails) GetAssetSourceIds() []string
- func (m UpdateInventoryAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateInventoryAssetDetails) GetDisplayName() *string
- func (m UpdateInventoryAssetDetails) GetFreeformTags() map[string]string
- func (m UpdateInventoryAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateInventoryAssetDetails) String() string
- func (m UpdateInventoryAssetDetails) ValidateEnumValue() (bool, error)
- type UpdateInventoryDetails
- type UpdateInventoryRequest
- func (request UpdateInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateInventoryRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateInventoryRequest) String() string
- func (request UpdateInventoryRequest) ValidateEnumValue() (bool, error)
- type UpdateInventoryResponse
- type UpdateOlvmAssetSourceDetails
- func (m UpdateOlvmAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m UpdateOlvmAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateOlvmAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m UpdateOlvmAssetSourceDetails) GetDisplayName() *string
- func (m UpdateOlvmAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m UpdateOlvmAssetSourceDetails) GetFreeformTags() map[string]string
- func (m UpdateOlvmAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m UpdateOlvmAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateOlvmAssetSourceDetails) String() string
- func (m UpdateOlvmAssetSourceDetails) ValidateEnumValue() (bool, error)
- type UpdatePluginDetails
- type UpdatePluginRequest
- func (request UpdatePluginRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdatePluginRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdatePluginRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdatePluginRequest) String() string
- func (request UpdatePluginRequest) ValidateEnumValue() (bool, error)
- type UpdatePluginResponse
- type UpdateVmAssetDetails
- func (m UpdateVmAssetDetails) GetAssetSourceIds() []string
- func (m UpdateVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateVmAssetDetails) GetDisplayName() *string
- func (m UpdateVmAssetDetails) GetFreeformTags() map[string]string
- func (m UpdateVmAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateVmAssetDetails) String() string
- func (m UpdateVmAssetDetails) ValidateEnumValue() (bool, error)
- type UpdateVmWareAssetSourceDetails
- func (m UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
- func (m UpdateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
- func (m UpdateVmWareAssetSourceDetails) GetDisplayName() *string
- func (m UpdateVmWareAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
- func (m UpdateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
- func (m UpdateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
- func (m UpdateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateVmWareAssetSourceDetails) String() string
- func (m UpdateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)
- type UpdateVmwareVmAssetDetails
- func (m UpdateVmwareVmAssetDetails) GetAssetSourceIds() []string
- func (m UpdateVmwareVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateVmwareVmAssetDetails) GetDisplayName() *string
- func (m UpdateVmwareVmAssetDetails) GetFreeformTags() map[string]string
- func (m UpdateVmwareVmAssetDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateVmwareVmAssetDetails) String() string
- func (m UpdateVmwareVmAssetDetails) ValidateEnumValue() (bool, error)
- type VcpuPin
- type VmAsset
- func (m VmAsset) GetAssetSourceIds() []string
- func (m VmAsset) GetCompartmentId() *string
- func (m VmAsset) GetDefinedTags() map[string]map[string]interface{}
- func (m VmAsset) GetDisplayName() *string
- func (m VmAsset) GetEnvironmentType() EnvironmentTypeEnum
- func (m VmAsset) GetExternalAssetKey() *string
- func (m VmAsset) GetFreeformTags() map[string]string
- func (m VmAsset) GetId() *string
- func (m VmAsset) GetInventoryId() *string
- func (m VmAsset) GetLifecycleState() AssetLifecycleStateEnum
- func (m VmAsset) GetSourceKey() *string
- func (m VmAsset) GetSystemTags() map[string]map[string]interface{}
- func (m VmAsset) GetTimeCreated() *common.SDKTime
- func (m VmAsset) GetTimeUpdated() *common.SDKTime
- func (m VmAsset) MarshalJSON() (buff []byte, e error)
- func (m VmAsset) String() string
- func (m VmAsset) ValidateEnumValue() (bool, error)
- type VmProperties
- type VmWareAssetSource
- func (m VmWareAssetSource) GetAssetsCompartmentId() *string
- func (m VmWareAssetSource) GetCompartmentId() *string
- func (m VmWareAssetSource) GetDefinedTags() map[string]map[string]interface{}
- func (m VmWareAssetSource) GetDiscoveryScheduleId() *string
- func (m VmWareAssetSource) GetDisplayName() *string
- func (m VmWareAssetSource) GetEnvironmentId() *string
- func (m VmWareAssetSource) GetEnvironmentType() EnvironmentTypeEnum
- func (m VmWareAssetSource) GetFreeformTags() map[string]string
- func (m VmWareAssetSource) GetId() *string
- func (m VmWareAssetSource) GetInventoryId() *string
- func (m VmWareAssetSource) GetLifecycleDetails() *string
- func (m VmWareAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m VmWareAssetSource) GetSystemTags() map[string]map[string]interface{}
- func (m VmWareAssetSource) GetTimeCreated() *common.SDKTime
- func (m VmWareAssetSource) GetTimeUpdated() *common.SDKTime
- func (m VmWareAssetSource) MarshalJSON() (buff []byte, e error)
- func (m VmWareAssetSource) String() string
- func (m VmWareAssetSource) ValidateEnumValue() (bool, error)
- type VmWareAssetSourceSummary
- func (m VmWareAssetSourceSummary) GetAssetsCompartmentId() *string
- func (m VmWareAssetSourceSummary) GetCompartmentId() *string
- func (m VmWareAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m VmWareAssetSourceSummary) GetDisplayName() *string
- func (m VmWareAssetSourceSummary) GetEnvironmentId() *string
- func (m VmWareAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
- func (m VmWareAssetSourceSummary) GetFreeformTags() map[string]string
- func (m VmWareAssetSourceSummary) GetId() *string
- func (m VmWareAssetSourceSummary) GetInventoryId() *string
- func (m VmWareAssetSourceSummary) GetLifecycleDetails() *string
- func (m VmWareAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
- func (m VmWareAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
- func (m VmWareAssetSourceSummary) GetTimeCreated() *common.SDKTime
- func (m VmWareAssetSourceSummary) GetTimeUpdated() *common.SDKTime
- func (m VmWareAssetSourceSummary) MarshalJSON() (buff []byte, e error)
- func (m VmWareAssetSourceSummary) String() string
- func (m VmWareAssetSourceSummary) ValidateEnumValue() (bool, error)
- type VmwareVCenterProperties
- type VmwareVmAsset
- func (m VmwareVmAsset) GetAssetSourceIds() []string
- func (m VmwareVmAsset) GetCompartmentId() *string
- func (m VmwareVmAsset) GetDefinedTags() map[string]map[string]interface{}
- func (m VmwareVmAsset) GetDisplayName() *string
- func (m VmwareVmAsset) GetEnvironmentType() EnvironmentTypeEnum
- func (m VmwareVmAsset) GetExternalAssetKey() *string
- func (m VmwareVmAsset) GetFreeformTags() map[string]string
- func (m VmwareVmAsset) GetId() *string
- func (m VmwareVmAsset) GetInventoryId() *string
- func (m VmwareVmAsset) GetLifecycleState() AssetLifecycleStateEnum
- func (m VmwareVmAsset) GetSourceKey() *string
- func (m VmwareVmAsset) GetSystemTags() map[string]map[string]interface{}
- func (m VmwareVmAsset) GetTimeCreated() *common.SDKTime
- func (m VmwareVmAsset) GetTimeUpdated() *common.SDKTime
- func (m VmwareVmAsset) MarshalJSON() (buff []byte, e error)
- func (m VmwareVmAsset) String() string
- func (m VmwareVmAsset) ValidateEnumValue() (bool, error)
- type VmwareVmProperties
- type VolumeAttachment
- type VolumeGroup
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAgentAgentTypeEnumStringValues ¶
func GetAgentAgentTypeEnumStringValues() []string
GetAgentAgentTypeEnumStringValues Enumerates the set of values in String for AgentAgentTypeEnum
func GetAgentDependencyLifecycleStateEnumStringValues ¶
func GetAgentDependencyLifecycleStateEnumStringValues() []string
GetAgentDependencyLifecycleStateEnumStringValues Enumerates the set of values in String for AgentDependencyLifecycleStateEnum
func GetAgentHeartBeatStatusEnumStringValues ¶
func GetAgentHeartBeatStatusEnumStringValues() []string
GetAgentHeartBeatStatusEnumStringValues Enumerates the set of values in String for AgentHeartBeatStatusEnum
func GetAgentLifecycleStateEnumStringValues ¶
func GetAgentLifecycleStateEnumStringValues() []string
GetAgentLifecycleStateEnumStringValues Enumerates the set of values in String for AgentLifecycleStateEnum
func GetAnalyzeAssetsAssetTypeEnumStringValues ¶
func GetAnalyzeAssetsAssetTypeEnumStringValues() []string
GetAnalyzeAssetsAssetTypeEnumStringValues Enumerates the set of values in String for AnalyzeAssetsAssetTypeEnum
func GetAnalyzeAssetsSortOrderEnumStringValues ¶
func GetAnalyzeAssetsSortOrderEnumStringValues() []string
GetAnalyzeAssetsSortOrderEnumStringValues Enumerates the set of values in String for AnalyzeAssetsSortOrderEnum
func GetApplianceImageSummaryLifecycleStateEnumStringValues ¶
func GetApplianceImageSummaryLifecycleStateEnumStringValues() []string
GetApplianceImageSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ApplianceImageSummaryLifecycleStateEnum
func GetAssetLifecycleStateEnumStringValues ¶
func GetAssetLifecycleStateEnumStringValues() []string
GetAssetLifecycleStateEnumStringValues Enumerates the set of values in String for AssetLifecycleStateEnum
func GetAssetSourceConnectionLifecycleStateEnumStringValues ¶
func GetAssetSourceConnectionLifecycleStateEnumStringValues() []string
GetAssetSourceConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceConnectionLifecycleStateEnum
func GetAssetSourceConnectionTypeEnumStringValues ¶
func GetAssetSourceConnectionTypeEnumStringValues() []string
GetAssetSourceConnectionTypeEnumStringValues Enumerates the set of values in String for AssetSourceConnectionTypeEnum
func GetAssetSourceCredentialsTypeEnumStringValues ¶
func GetAssetSourceCredentialsTypeEnumStringValues() []string
GetAssetSourceCredentialsTypeEnumStringValues Enumerates the set of values in String for AssetSourceCredentialsTypeEnum
func GetAssetSourceLifecycleStateEnumStringValues ¶
func GetAssetSourceLifecycleStateEnumStringValues() []string
GetAssetSourceLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceLifecycleStateEnum
func GetAssetSourceTypeEnumStringValues ¶
func GetAssetSourceTypeEnumStringValues() []string
GetAssetSourceTypeEnumStringValues Enumerates the set of values in String for AssetSourceTypeEnum
func GetAssetTypeEnumStringValues ¶
func GetAssetTypeEnumStringValues() []string
GetAssetTypeEnumStringValues Enumerates the set of values in String for AssetTypeEnum
func GetDiscoveryScheduleLifecycleStateEnumStringValues ¶
func GetDiscoveryScheduleLifecycleStateEnumStringValues() []string
GetDiscoveryScheduleLifecycleStateEnumStringValues Enumerates the set of values in String for DiscoveryScheduleLifecycleStateEnum
func GetEnvironmentLifecycleStateEnumStringValues ¶
func GetEnvironmentLifecycleStateEnumStringValues() []string
GetEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for EnvironmentLifecycleStateEnum
func GetEnvironmentTypeEnumStringValues ¶ added in v65.111.0
func GetEnvironmentTypeEnumStringValues() []string
GetEnvironmentTypeEnumStringValues Enumerates the set of values in String for EnvironmentTypeEnum
func GetImportInventoryDetailsResourceTypeEnumStringValues ¶
func GetImportInventoryDetailsResourceTypeEnumStringValues() []string
GetImportInventoryDetailsResourceTypeEnumStringValues Enumerates the set of values in String for ImportInventoryDetailsResourceTypeEnum
func GetInventoryLifecycleStateEnumStringValues ¶
func GetInventoryLifecycleStateEnumStringValues() []string
GetInventoryLifecycleStateEnumStringValues Enumerates the set of values in String for InventoryLifecycleStateEnum
func GetListAgentDependenciesSortByEnumStringValues ¶
func GetListAgentDependenciesSortByEnumStringValues() []string
GetListAgentDependenciesSortByEnumStringValues Enumerates the set of values in String for ListAgentDependenciesSortByEnum
func GetListAgentDependenciesSortOrderEnumStringValues ¶
func GetListAgentDependenciesSortOrderEnumStringValues() []string
GetListAgentDependenciesSortOrderEnumStringValues Enumerates the set of values in String for ListAgentDependenciesSortOrderEnum
func GetListAgentsSortByEnumStringValues ¶
func GetListAgentsSortByEnumStringValues() []string
GetListAgentsSortByEnumStringValues Enumerates the set of values in String for ListAgentsSortByEnum
func GetListAgentsSortOrderEnumStringValues ¶
func GetListAgentsSortOrderEnumStringValues() []string
GetListAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListAgentsSortOrderEnum
func GetListApplianceImagesSortByEnumStringValues ¶
func GetListApplianceImagesSortByEnumStringValues() []string
GetListApplianceImagesSortByEnumStringValues Enumerates the set of values in String for ListApplianceImagesSortByEnum
func GetListApplianceImagesSortOrderEnumStringValues ¶
func GetListApplianceImagesSortOrderEnumStringValues() []string
GetListApplianceImagesSortOrderEnumStringValues Enumerates the set of values in String for ListApplianceImagesSortOrderEnum
func GetListAssetSourcesLifecycleStateEnumStringValues ¶
func GetListAssetSourcesLifecycleStateEnumStringValues() []string
GetListAssetSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAssetSourcesLifecycleStateEnum
func GetListAssetSourcesSortByEnumStringValues ¶
func GetListAssetSourcesSortByEnumStringValues() []string
GetListAssetSourcesSortByEnumStringValues Enumerates the set of values in String for ListAssetSourcesSortByEnum
func GetListAssetSourcesSortOrderEnumStringValues ¶
func GetListAssetSourcesSortOrderEnumStringValues() []string
GetListAssetSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListAssetSourcesSortOrderEnum
func GetListAssetsAssetTypeEnumStringValues ¶
func GetListAssetsAssetTypeEnumStringValues() []string
GetListAssetsAssetTypeEnumStringValues Enumerates the set of values in String for ListAssetsAssetTypeEnum
func GetListAssetsSortByEnumStringValues ¶
func GetListAssetsSortByEnumStringValues() []string
GetListAssetsSortByEnumStringValues Enumerates the set of values in String for ListAssetsSortByEnum
func GetListAssetsSortOrderEnumStringValues ¶
func GetListAssetsSortOrderEnumStringValues() []string
GetListAssetsSortOrderEnumStringValues Enumerates the set of values in String for ListAssetsSortOrderEnum
func GetListDiscoverySchedulesLifecycleStateEnumStringValues ¶
func GetListDiscoverySchedulesLifecycleStateEnumStringValues() []string
GetListDiscoverySchedulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesLifecycleStateEnum
func GetListDiscoverySchedulesSortByEnumStringValues ¶
func GetListDiscoverySchedulesSortByEnumStringValues() []string
GetListDiscoverySchedulesSortByEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesSortByEnum
func GetListDiscoverySchedulesSortOrderEnumStringValues ¶
func GetListDiscoverySchedulesSortOrderEnumStringValues() []string
GetListDiscoverySchedulesSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoverySchedulesSortOrderEnum
func GetListEnvironmentsSortByEnumStringValues ¶
func GetListEnvironmentsSortByEnumStringValues() []string
GetListEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListEnvironmentsSortByEnum
func GetListEnvironmentsSortOrderEnumStringValues ¶
func GetListEnvironmentsSortOrderEnumStringValues() []string
GetListEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListEnvironmentsSortOrderEnum
func GetListHistoricalMetricsSortByEnumStringValues ¶
func GetListHistoricalMetricsSortByEnumStringValues() []string
GetListHistoricalMetricsSortByEnumStringValues Enumerates the set of values in String for ListHistoricalMetricsSortByEnum
func GetListHistoricalMetricsSortOrderEnumStringValues ¶
func GetListHistoricalMetricsSortOrderEnumStringValues() []string
GetListHistoricalMetricsSortOrderEnumStringValues Enumerates the set of values in String for ListHistoricalMetricsSortOrderEnum
func GetListInventoriesSortByEnumStringValues ¶
func GetListInventoriesSortByEnumStringValues() []string
GetListInventoriesSortByEnumStringValues Enumerates the set of values in String for ListInventoriesSortByEnum
func GetListInventoriesSortOrderEnumStringValues ¶
func GetListInventoriesSortOrderEnumStringValues() []string
GetListInventoriesSortOrderEnumStringValues Enumerates the set of values in String for ListInventoriesSortOrderEnum
func GetListSupportedCloudRegionsAssetSourceTypeEnumStringValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsAssetSourceTypeEnumStringValues() []string
GetListSupportedCloudRegionsAssetSourceTypeEnumStringValues Enumerates the set of values in String for ListSupportedCloudRegionsAssetSourceTypeEnum
func GetListSupportedCloudRegionsSortByEnumStringValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsSortByEnumStringValues() []string
GetListSupportedCloudRegionsSortByEnumStringValues Enumerates the set of values in String for ListSupportedCloudRegionsSortByEnum
func GetListSupportedCloudRegionsSortOrderEnumStringValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsSortOrderEnumStringValues() []string
GetListSupportedCloudRegionsSortOrderEnumStringValues Enumerates the set of values in String for ListSupportedCloudRegionsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetLogicalUnitLunStatusEnumStringValues ¶ added in v65.111.0
func GetLogicalUnitLunStatusEnumStringValues() []string
GetLogicalUnitLunStatusEnumStringValues Enumerates the set of values in String for LogicalUnitLunStatusEnum
func GetMigrationBandwidthAssignmentMethodEnumStringValues ¶ added in v65.111.0
func GetMigrationBandwidthAssignmentMethodEnumStringValues() []string
GetMigrationBandwidthAssignmentMethodEnumStringValues Enumerates the set of values in String for MigrationBandwidthAssignmentMethodEnum
func GetOlvmBiosTypeTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmBiosTypeTypeEnumStringValues() []string
GetOlvmBiosTypeTypeEnumStringValues Enumerates the set of values in String for OlvmBiosTypeTypeEnum
func GetOlvmBootDeviceEnumStringValues ¶ added in v65.111.0
func GetOlvmBootDeviceEnumStringValues() []string
GetOlvmBootDeviceEnumStringValues Enumerates the set of values in String for OlvmBootDeviceEnum
func GetOlvmBootProtocolProtocolEnumStringValues ¶ added in v65.111.0
func GetOlvmBootProtocolProtocolEnumStringValues() []string
GetOlvmBootProtocolProtocolEnumStringValues Enumerates the set of values in String for OlvmBootProtocolProtocolEnum
func GetOlvmClusterPropertiesFipsModeEnumStringValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesFipsModeEnumStringValues() []string
GetOlvmClusterPropertiesFipsModeEnumStringValues Enumerates the set of values in String for OlvmClusterPropertiesFipsModeEnum
func GetOlvmClusterPropertiesFirewallTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesFirewallTypeEnumStringValues() []string
GetOlvmClusterPropertiesFirewallTypeEnumStringValues Enumerates the set of values in String for OlvmClusterPropertiesFirewallTypeEnum
func GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumStringValues() []string
GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumStringValues Enumerates the set of values in String for OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum
func GetOlvmClusterPropertiesSwitchTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesSwitchTypeEnumStringValues() []string
GetOlvmClusterPropertiesSwitchTypeEnumStringValues Enumerates the set of values in String for OlvmClusterPropertiesSwitchTypeEnum
func GetOlvmConfigurationConfigurationTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmConfigurationConfigurationTypeEnumStringValues() []string
GetOlvmConfigurationConfigurationTypeEnumStringValues Enumerates the set of values in String for OlvmConfigurationConfigurationTypeEnum
func GetOlvmCpuArchitectureEnumStringValues ¶ added in v65.111.0
func GetOlvmCpuArchitectureEnumStringValues() []string
GetOlvmCpuArchitectureEnumStringValues Enumerates the set of values in String for OlvmCpuArchitectureEnum
func GetOlvmCpuModeEnumStringValues ¶ added in v65.111.0
func GetOlvmCpuModeEnumStringValues() []string
GetOlvmCpuModeEnumStringValues Enumerates the set of values in String for OlvmCpuModeEnum
func GetOlvmDataCenterDataCenterStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmDataCenterDataCenterStatusEnumStringValues() []string
GetOlvmDataCenterDataCenterStatusEnumStringValues Enumerates the set of values in String for OlvmDataCenterDataCenterStatusEnum
func GetOlvmDataCenterQuotaModeTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmDataCenterQuotaModeTypeEnumStringValues() []string
GetOlvmDataCenterQuotaModeTypeEnumStringValues Enumerates the set of values in String for OlvmDataCenterQuotaModeTypeEnum
func GetOlvmDataCenterStorageFormatEnumStringValues ¶ added in v65.111.0
func GetOlvmDataCenterStorageFormatEnumStringValues() []string
GetOlvmDataCenterStorageFormatEnumStringValues Enumerates the set of values in String for OlvmDataCenterStorageFormatEnum
func GetOlvmDisplayDisplayTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmDisplayDisplayTypeEnumStringValues() []string
GetOlvmDisplayDisplayTypeEnumStringValues Enumerates the set of values in String for OlvmDisplayDisplayTypeEnum
func GetOlvmErrorHandlingOnErrorEnumStringValues ¶ added in v65.111.0
func GetOlvmErrorHandlingOnErrorEnumStringValues() []string
GetOlvmErrorHandlingOnErrorEnumStringValues Enumerates the set of values in String for OlvmErrorHandlingOnErrorEnum
func GetOlvmHostAutoNumaStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmHostAutoNumaStatusEnumStringValues() []string
GetOlvmHostAutoNumaStatusEnumStringValues Enumerates the set of values in String for OlvmHostAutoNumaStatusEnum
func GetOlvmHostExternalStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmHostExternalStatusEnumStringValues() []string
GetOlvmHostExternalStatusEnumStringValues Enumerates the set of values in String for OlvmHostExternalStatusEnum
func GetOlvmHostKdumpStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmHostKdumpStatusEnumStringValues() []string
GetOlvmHostKdumpStatusEnumStringValues Enumerates the set of values in String for OlvmHostKdumpStatusEnum
func GetOlvmHostStatusStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmHostStatusStatusEnumStringValues() []string
GetOlvmHostStatusStatusEnumStringValues Enumerates the set of values in String for OlvmHostStatusStatusEnum
func GetOlvmHostTypeHostTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmHostTypeHostTypeEnumStringValues() []string
GetOlvmHostTypeHostTypeEnumStringValues Enumerates the set of values in String for OlvmHostTypeHostTypeEnum
func GetOlvmHostVgpuPlacementEnumStringValues ¶ added in v65.111.0
func GetOlvmHostVgpuPlacementEnumStringValues() []string
GetOlvmHostVgpuPlacementEnumStringValues Enumerates the set of values in String for OlvmHostVgpuPlacementEnum
func GetOlvmInitializationCloudInitNetworkProtocolEnumStringValues ¶ added in v65.111.0
func GetOlvmInitializationCloudInitNetworkProtocolEnumStringValues() []string
GetOlvmInitializationCloudInitNetworkProtocolEnumStringValues Enumerates the set of values in String for OlvmInitializationCloudInitNetworkProtocolEnum
func GetOlvmIpIpVersionEnumStringValues ¶ added in v65.111.0
func GetOlvmIpIpVersionEnumStringValues() []string
GetOlvmIpIpVersionEnumStringValues Enumerates the set of values in String for OlvmIpIpVersionEnum
func GetOlvmMigrationOptionsAutoConvergeEnumStringValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsAutoConvergeEnumStringValues() []string
GetOlvmMigrationOptionsAutoConvergeEnumStringValues Enumerates the set of values in String for OlvmMigrationOptionsAutoConvergeEnum
func GetOlvmMigrationOptionsCompressedEnumStringValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsCompressedEnumStringValues() []string
GetOlvmMigrationOptionsCompressedEnumStringValues Enumerates the set of values in String for OlvmMigrationOptionsCompressedEnum
func GetOlvmMigrationOptionsEncryptedEnumStringValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsEncryptedEnumStringValues() []string
GetOlvmMigrationOptionsEncryptedEnumStringValues Enumerates the set of values in String for OlvmMigrationOptionsEncryptedEnum
func GetOlvmMigrationOptionsParallelMigrationsPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsParallelMigrationsPolicyEnumStringValues() []string
GetOlvmMigrationOptionsParallelMigrationsPolicyEnumStringValues Enumerates the set of values in String for OlvmMigrationOptionsParallelMigrationsPolicyEnum
func GetOlvmPmProxyTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmPmProxyTypeEnumStringValues() []string
GetOlvmPmProxyTypeEnumStringValues Enumerates the set of values in String for OlvmPmProxyTypeEnum
func GetOlvmPowerManagementStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmPowerManagementStatusEnumStringValues() []string
GetOlvmPowerManagementStatusEnumStringValues Enumerates the set of values in String for OlvmPowerManagementStatusEnum
func GetOlvmSelinuxSeLinuxModeEnumStringValues ¶ added in v65.111.0
func GetOlvmSelinuxSeLinuxModeEnumStringValues() []string
GetOlvmSelinuxSeLinuxModeEnumStringValues Enumerates the set of values in String for OlvmSelinuxSeLinuxModeEnum
func GetOlvmSerialNumberPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmSerialNumberPolicyEnumStringValues() []string
GetOlvmSerialNumberPolicyEnumStringValues Enumerates the set of values in String for OlvmSerialNumberPolicyEnum
func GetOlvmSpmSpmStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmSpmSpmStatusEnumStringValues() []string
GetOlvmSpmSpmStatusEnumStringValues Enumerates the set of values in String for OlvmSpmSpmStatusEnum
func GetOlvmStorageDomainPropertiesExternalStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesExternalStatusEnumStringValues() []string
GetOlvmStorageDomainPropertiesExternalStatusEnumStringValues Enumerates the set of values in String for OlvmStorageDomainPropertiesExternalStatusEnum
func GetOlvmStorageDomainPropertiesStorageDomainStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageDomainStatusEnumStringValues() []string
GetOlvmStorageDomainPropertiesStorageDomainStatusEnumStringValues Enumerates the set of values in String for OlvmStorageDomainPropertiesStorageDomainStatusEnum
func GetOlvmStorageDomainPropertiesStorageDomainTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageDomainTypeEnumStringValues() []string
GetOlvmStorageDomainPropertiesStorageDomainTypeEnumStringValues Enumerates the set of values in String for OlvmStorageDomainPropertiesStorageDomainTypeEnum
func GetOlvmStorageDomainPropertiesStorageFormatEnumStringValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageFormatEnumStringValues() []string
GetOlvmStorageDomainPropertiesStorageFormatEnumStringValues Enumerates the set of values in String for OlvmStorageDomainPropertiesStorageFormatEnum
func GetOlvmTemplatePropertiesAutoPinningPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesAutoPinningPolicyEnumStringValues() []string
GetOlvmTemplatePropertiesAutoPinningPolicyEnumStringValues Enumerates the set of values in String for OlvmTemplatePropertiesAutoPinningPolicyEnum
func GetOlvmTemplatePropertiesCpuPinningPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesCpuPinningPolicyEnumStringValues() []string
GetOlvmTemplatePropertiesCpuPinningPolicyEnumStringValues Enumerates the set of values in String for OlvmTemplatePropertiesCpuPinningPolicyEnum
func GetOlvmTemplatePropertiesStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesStatusEnumStringValues() []string
GetOlvmTemplatePropertiesStatusEnumStringValues Enumerates the set of values in String for OlvmTemplatePropertiesStatusEnum
func GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumStringValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumStringValues() []string
GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumStringValues Enumerates the set of values in String for OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum
func GetOlvmUsbUsbTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmUsbUsbTypeEnumStringValues() []string
GetOlvmUsbUsbTypeEnumStringValues Enumerates the set of values in String for OlvmUsbUsbTypeEnum
func GetOlvmVirtualMachineAutoPinningPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmVirtualMachineAutoPinningPolicyEnumStringValues() []string
GetOlvmVirtualMachineAutoPinningPolicyEnumStringValues Enumerates the set of values in String for OlvmVirtualMachineAutoPinningPolicyEnum
func GetOlvmVirtualMachineCpuPinningPolicyEnumStringValues ¶ added in v65.111.0
func GetOlvmVirtualMachineCpuPinningPolicyEnumStringValues() []string
GetOlvmVirtualMachineCpuPinningPolicyEnumStringValues Enumerates the set of values in String for OlvmVirtualMachineCpuPinningPolicyEnum
func GetOlvmVirtualMachineNumaTuneModeEnumStringValues ¶ added in v65.111.0
func GetOlvmVirtualMachineNumaTuneModeEnumStringValues() []string
GetOlvmVirtualMachineNumaTuneModeEnumStringValues Enumerates the set of values in String for OlvmVirtualMachineNumaTuneModeEnum
func GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumStringValues ¶ added in v65.111.0
func GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumStringValues() []string
GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumStringValues Enumerates the set of values in String for OlvmVirtualMachineStorageErrorResumeBehaviorEnum
func GetOlvmVmPlacementPolicyVmAffinityEnumStringValues ¶ added in v65.111.0
func GetOlvmVmPlacementPolicyVmAffinityEnumStringValues() []string
GetOlvmVmPlacementPolicyVmAffinityEnumStringValues Enumerates the set of values in String for OlvmVmPlacementPolicyVmAffinityEnum
func GetOlvmVmStatusStatusEnumStringValues ¶ added in v65.111.0
func GetOlvmVmStatusStatusEnumStringValues() []string
GetOlvmVmStatusStatusEnumStringValues Enumerates the set of values in String for OlvmVmStatusStatusEnum
func GetOlvmVmTypeVmTypeEnumStringValues ¶ added in v65.111.0
func GetOlvmVmTypeVmTypeEnumStringValues() []string
GetOlvmVmTypeVmTypeEnumStringValues Enumerates the set of values in String for OlvmVmTypeVmTypeEnum
func GetOlvmVnicProfilePropertiesPassThroughEnumStringValues ¶ added in v65.111.0
func GetOlvmVnicProfilePropertiesPassThroughEnumStringValues() []string
GetOlvmVnicProfilePropertiesPassThroughEnumStringValues Enumerates the set of values in String for OlvmVnicProfilePropertiesPassThroughEnum
func GetOperationStatusEnumStringValues ¶
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPluginDesiredStateEnumStringValues ¶
func GetPluginDesiredStateEnumStringValues() []string
GetPluginDesiredStateEnumStringValues Enumerates the set of values in String for PluginDesiredStateEnum
func GetPluginLifecycleStateEnumStringValues ¶
func GetPluginLifecycleStateEnumStringValues() []string
GetPluginLifecycleStateEnumStringValues Enumerates the set of values in String for PluginLifecycleStateEnum
func GetRngSourceEnumStringValues ¶ added in v65.111.0
func GetRngSourceEnumStringValues() []string
GetRngSourceEnumStringValues Enumerates the set of values in String for RngSourceEnum
func GetSortOrdersEnumStringValues ¶
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetStorageNfsVersionEnumStringValues ¶ added in v65.111.0
func GetStorageNfsVersionEnumStringValues() []string
GetStorageNfsVersionEnumStringValues Enumerates the set of values in String for StorageNfsVersionEnum
func GetStorageTypeEnumStringValues ¶ added in v65.111.0
func GetStorageTypeEnumStringValues() []string
GetStorageTypeEnumStringValues Enumerates the set of values in String for StorageTypeEnum
func GetSupportedCloudRegionLifecycleStateEnumStringValues ¶ added in v65.77.0
func GetSupportedCloudRegionLifecycleStateEnumStringValues() []string
GetSupportedCloudRegionLifecycleStateEnumStringValues Enumerates the set of values in String for SupportedCloudRegionLifecycleStateEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues ¶
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AddAgentDependencyDetails ¶
type AddAgentDependencyDetails struct {
// The OCID of the agentDependency, which is added to the source environment.
AgentDependencyId *string `mandatory:"true" json:"agentDependencyId"`
}
AddAgentDependencyDetails The information to be updated.
func (AddAgentDependencyDetails) String ¶
func (m AddAgentDependencyDetails) String() string
func (AddAgentDependencyDetails) ValidateEnumValue ¶
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
type 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
}
AddAgentDependencyRequest wrapper for the AddAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/AddAgentDependency.go.html to see an example of how to use AddAgentDependencyRequest.
func (AddAgentDependencyRequest) BinaryRequestBody ¶
func (request AddAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (AddAgentDependencyRequest) HTTPRequest ¶
func (request AddAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AddAgentDependencyRequest) RetryPolicy ¶
func (request AddAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AddAgentDependencyRequest) String ¶
func (request AddAgentDependencyRequest) String() string
func (AddAgentDependencyRequest) ValidateEnumValue ¶
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
type AddAgentDependencyResponse ¶
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"`
}
AddAgentDependencyResponse wrapper for the AddAgentDependency operation
func (AddAgentDependencyResponse) HTTPResponse ¶
func (response AddAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AddAgentDependencyResponse) String ¶
func (response AddAgentDependencyResponse) String() string
type 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.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.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.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"`
}
Agent Description of Agent.
func (Agent) ValidateEnumValue ¶
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
type AgentAgentTypeEnum ¶
type AgentAgentTypeEnum string
AgentAgentTypeEnum Enum with underlying type: string
const (
AgentAgentTypeAppliance AgentAgentTypeEnum = "APPLIANCE"
)
Set of constants representing the allowable values for AgentAgentTypeEnum
func GetAgentAgentTypeEnumValues ¶
func GetAgentAgentTypeEnumValues() []AgentAgentTypeEnum
GetAgentAgentTypeEnumValues Enumerates the set of values for AgentAgentTypeEnum
func GetMappingAgentAgentTypeEnum ¶
func GetMappingAgentAgentTypeEnum(val string) (AgentAgentTypeEnum, bool)
GetMappingAgentAgentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AgentCollection ¶
type AgentCollection struct {
// List of Agents.
Items []AgentSummary `mandatory:"true" json:"items"`
}
AgentCollection Displays results of an Agent search. Contains both AgentSummary items and other information, such as metadata.
func (AgentCollection) String ¶
func (m AgentCollection) String() string
func (AgentCollection) ValidateEnumValue ¶
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
type AgentDependency ¶
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.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.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.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"`
}
AgentDependency Description of the AgentDependency, which is a sub-resource of the external environment.
func (AgentDependency) String ¶
func (m AgentDependency) String() string
func (AgentDependency) ValidateEnumValue ¶
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
type AgentDependencyCollection ¶
type AgentDependencyCollection struct {
// List of EnvironmentDependencies.
Items []AgentDependencySummary `mandatory:"true" json:"items"`
}
AgentDependencyCollection Results of an AgentDependency list. Contains both AgentDependency items and other information, such as metadata.
func (AgentDependencyCollection) String ¶
func (m AgentDependencyCollection) String() string
func (AgentDependencyCollection) ValidateEnumValue ¶
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
type AgentDependencyLifecycleStateEnum ¶
type AgentDependencyLifecycleStateEnum string
AgentDependencyLifecycleStateEnum Enum with underlying type: string
const ( AgentDependencyLifecycleStateCreating AgentDependencyLifecycleStateEnum = "CREATING" AgentDependencyLifecycleStateUpdating AgentDependencyLifecycleStateEnum = "UPDATING" AgentDependencyLifecycleStateActive AgentDependencyLifecycleStateEnum = "ACTIVE" AgentDependencyLifecycleStateDeleting AgentDependencyLifecycleStateEnum = "DELETING" AgentDependencyLifecycleStateDeleted AgentDependencyLifecycleStateEnum = "DELETED" AgentDependencyLifecycleStateFailed AgentDependencyLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for AgentDependencyLifecycleStateEnum
func GetAgentDependencyLifecycleStateEnumValues ¶
func GetAgentDependencyLifecycleStateEnumValues() []AgentDependencyLifecycleStateEnum
GetAgentDependencyLifecycleStateEnumValues Enumerates the set of values for AgentDependencyLifecycleStateEnum
func GetMappingAgentDependencyLifecycleStateEnum ¶
func GetMappingAgentDependencyLifecycleStateEnum(val string) (AgentDependencyLifecycleStateEnum, bool)
GetMappingAgentDependencyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AgentDependencySummary ¶
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.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.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.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"`
}
AgentDependencySummary Description of the AgentDependency, which is a sub-resource of the external environment.
func (AgentDependencySummary) String ¶
func (m AgentDependencySummary) String() string
func (AgentDependencySummary) ValidateEnumValue ¶
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
type AgentHeartBeatStatusEnum ¶
type AgentHeartBeatStatusEnum string
AgentHeartBeatStatusEnum Enum with underlying type: string
const ( AgentHeartBeatStatusHealthy AgentHeartBeatStatusEnum = "HEALTHY" AgentHeartBeatStatusUnhealthy AgentHeartBeatStatusEnum = "UNHEALTHY" AgentHeartBeatStatusFailed AgentHeartBeatStatusEnum = "FAILED" AgentHeartBeatStatusInactive AgentHeartBeatStatusEnum = "INACTIVE" )
Set of constants representing the allowable values for AgentHeartBeatStatusEnum
func GetAgentHeartBeatStatusEnumValues ¶
func GetAgentHeartBeatStatusEnumValues() []AgentHeartBeatStatusEnum
GetAgentHeartBeatStatusEnumValues Enumerates the set of values for AgentHeartBeatStatusEnum
func GetMappingAgentHeartBeatStatusEnum ¶
func GetMappingAgentHeartBeatStatusEnum(val string) (AgentHeartBeatStatusEnum, bool)
GetMappingAgentHeartBeatStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type AgentLifecycleStateEnum ¶
type AgentLifecycleStateEnum string
AgentLifecycleStateEnum Enum with underlying type: string
const ( AgentLifecycleStateCreating AgentLifecycleStateEnum = "CREATING" AgentLifecycleStateActive AgentLifecycleStateEnum = "ACTIVE" AgentLifecycleStateInactive AgentLifecycleStateEnum = "INACTIVE" AgentLifecycleStateDeleted AgentLifecycleStateEnum = "DELETED" AgentLifecycleStateFailed AgentLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for AgentLifecycleStateEnum
func GetAgentLifecycleStateEnumValues ¶
func GetAgentLifecycleStateEnumValues() []AgentLifecycleStateEnum
GetAgentLifecycleStateEnumValues Enumerates the set of values for AgentLifecycleStateEnum
func GetMappingAgentLifecycleStateEnum ¶
func GetMappingAgentLifecycleStateEnum(val string) (AgentLifecycleStateEnum, bool)
GetMappingAgentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AgentSummary ¶
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.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.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.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"`
}
AgentSummary Summary of the Agent.
func (AgentSummary) String ¶
func (m AgentSummary) String() string
func (AgentSummary) ValidateEnumValue ¶
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
type AnalyzeAssetsAssetTypeEnum ¶
type AnalyzeAssetsAssetTypeEnum string
AnalyzeAssetsAssetTypeEnum Enum with underlying type: string
const ( AnalyzeAssetsAssetTypeVmwareVm AnalyzeAssetsAssetTypeEnum = "VMWARE_VM" AnalyzeAssetsAssetTypeVm AnalyzeAssetsAssetTypeEnum = "VM" AnalyzeAssetsAssetTypeInventoryAsset AnalyzeAssetsAssetTypeEnum = "INVENTORY_ASSET" AnalyzeAssetsAssetTypeAwsEc2 AnalyzeAssetsAssetTypeEnum = "AWS_EC2" AnalyzeAssetsAssetTypeAwsEbs AnalyzeAssetsAssetTypeEnum = "AWS_EBS" )
Set of constants representing the allowable values for AnalyzeAssetsAssetTypeEnum
func GetAnalyzeAssetsAssetTypeEnumValues ¶
func GetAnalyzeAssetsAssetTypeEnumValues() []AnalyzeAssetsAssetTypeEnum
GetAnalyzeAssetsAssetTypeEnumValues Enumerates the set of values for AnalyzeAssetsAssetTypeEnum
func GetMappingAnalyzeAssetsAssetTypeEnum ¶
func GetMappingAnalyzeAssetsAssetTypeEnum(val string) (AnalyzeAssetsAssetTypeEnum, bool)
GetMappingAnalyzeAssetsAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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"`
// The name of the asset class.
AssetClassName *string `mandatory:"false" contributesTo:"query" name:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"false" contributesTo:"query" name:"assetClassVersion"`
// 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
}
AnalyzeAssetsRequest wrapper for the AnalyzeAssets operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/AnalyzeAssets.go.html to see an example of how to use AnalyzeAssetsRequest.
func (AnalyzeAssetsRequest) BinaryRequestBody ¶
func (request AnalyzeAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (AnalyzeAssetsRequest) HTTPRequest ¶
func (request AnalyzeAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AnalyzeAssetsRequest) RetryPolicy ¶
func (request AnalyzeAssetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AnalyzeAssetsRequest) String ¶
func (request AnalyzeAssetsRequest) String() string
func (AnalyzeAssetsRequest) ValidateEnumValue ¶
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
type AnalyzeAssetsResponse ¶
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"`
}
AnalyzeAssetsResponse wrapper for the AnalyzeAssets operation
func (AnalyzeAssetsResponse) HTTPResponse ¶
func (response AnalyzeAssetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AnalyzeAssetsResponse) String ¶
func (response AnalyzeAssetsResponse) String() string
type AnalyzeAssetsSortOrderEnum ¶
type AnalyzeAssetsSortOrderEnum string
AnalyzeAssetsSortOrderEnum Enum with underlying type: string
const ( AnalyzeAssetsSortOrderAsc AnalyzeAssetsSortOrderEnum = "ASC" AnalyzeAssetsSortOrderDesc AnalyzeAssetsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for AnalyzeAssetsSortOrderEnum
func GetAnalyzeAssetsSortOrderEnumValues ¶
func GetAnalyzeAssetsSortOrderEnumValues() []AnalyzeAssetsSortOrderEnum
GetAnalyzeAssetsSortOrderEnumValues Enumerates the set of values for AnalyzeAssetsSortOrderEnum
func GetMappingAnalyzeAssetsSortOrderEnum ¶
func GetMappingAnalyzeAssetsSortOrderEnum(val string) (AnalyzeAssetsSortOrderEnum, bool)
GetMappingAnalyzeAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ApplianceImageCollection ¶
type ApplianceImageCollection struct {
// List of appliance images.
Items []ApplianceImageSummary `mandatory:"true" json:"items"`
}
ApplianceImageCollection Results of an ApplianceImage search.
func (ApplianceImageCollection) String ¶
func (m ApplianceImageCollection) String() string
func (ApplianceImageCollection) ValidateEnumValue ¶
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
type ApplianceImageSummary ¶
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"`
}
ApplianceImageSummary Description of the ApplianceImage.
func (ApplianceImageSummary) String ¶
func (m ApplianceImageSummary) String() string
func (ApplianceImageSummary) ValidateEnumValue ¶
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
type ApplianceImageSummaryLifecycleStateEnum ¶
type ApplianceImageSummaryLifecycleStateEnum string
ApplianceImageSummaryLifecycleStateEnum Enum with underlying type: string
const ( ApplianceImageSummaryLifecycleStateCreating ApplianceImageSummaryLifecycleStateEnum = "CREATING" ApplianceImageSummaryLifecycleStateUpdating ApplianceImageSummaryLifecycleStateEnum = "UPDATING" ApplianceImageSummaryLifecycleStateActive ApplianceImageSummaryLifecycleStateEnum = "ACTIVE" ApplianceImageSummaryLifecycleStateDeleting ApplianceImageSummaryLifecycleStateEnum = "DELETING" ApplianceImageSummaryLifecycleStateDeleted ApplianceImageSummaryLifecycleStateEnum = "DELETED" ApplianceImageSummaryLifecycleStateFailed ApplianceImageSummaryLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ApplianceImageSummaryLifecycleStateEnum
func GetApplianceImageSummaryLifecycleStateEnumValues ¶
func GetApplianceImageSummaryLifecycleStateEnumValues() []ApplianceImageSummaryLifecycleStateEnum
GetApplianceImageSummaryLifecycleStateEnumValues Enumerates the set of values for ApplianceImageSummaryLifecycleStateEnum
func GetMappingApplianceImageSummaryLifecycleStateEnum ¶
func GetMappingApplianceImageSummaryLifecycleStateEnum(val string) (ApplianceImageSummaryLifecycleStateEnum, bool)
GetMappingApplianceImageSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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.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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{orcl-cloud: {free-tier-retain: true}}`
GetSystemTags() map[string]map[string]interface{}
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
GetEnvironmentType() EnvironmentTypeEnum
}
Asset Description of an asset.
type AssetAggregation ¶
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"`
}
AssetAggregation The result of an analytics aggregation on a set of assets.
func (AssetAggregation) String ¶
func (m AssetAggregation) String() string
func (AssetAggregation) ValidateEnumValue ¶
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
type AssetAggregationCollection ¶
type AssetAggregationCollection struct {
// List of asset aggregations.
Items []AssetAggregation `mandatory:"true" json:"items"`
}
AssetAggregationCollection The result of an analytics aggregation on a set of assets.
func (AssetAggregationCollection) String ¶
func (m AssetAggregationCollection) String() string
func (AssetAggregationCollection) ValidateEnumValue ¶
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
type AssetCollection ¶
type AssetCollection struct {
// List of assets.
Items []AssetSummary `mandatory:"true" json:"items"`
}
AssetCollection Results of a set of asset summary.
func (AssetCollection) String ¶
func (m AssetCollection) String() string
func (AssetCollection) ValidateEnumValue ¶
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
type AssetLifecycleStateEnum ¶
type AssetLifecycleStateEnum string
AssetLifecycleStateEnum Enum with underlying type: string
const ( AssetLifecycleStateActive AssetLifecycleStateEnum = "ACTIVE" AssetLifecycleStateDeleted AssetLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for AssetLifecycleStateEnum
func GetAssetLifecycleStateEnumValues ¶
func GetAssetLifecycleStateEnumValues() []AssetLifecycleStateEnum
GetAssetLifecycleStateEnumValues Enumerates the set of values for AssetLifecycleStateEnum
func GetMappingAssetLifecycleStateEnum ¶
func GetMappingAssetLifecycleStateEnum(val string) (AssetLifecycleStateEnum, bool)
GetMappingAssetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSource ¶
type AssetSource interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
GetEnvironmentId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
GetInventoryId() *string
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/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.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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{orcl-cloud: {free-tier-retain: true}}`
GetSystemTags() map[string]map[string]interface{}
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
GetEnvironmentType() EnvironmentTypeEnum
}
AssetSource Asset source.
type AssetSourceCollection ¶
type AssetSourceCollection struct {
// List of asset sources.
Items []AssetSourceSummary `mandatory:"true" json:"items"`
}
AssetSourceCollection Results of an asset source search. Contains asset source items.
func (AssetSourceCollection) String ¶
func (m AssetSourceCollection) String() string
func (*AssetSourceCollection) UnmarshalJSON ¶
func (m *AssetSourceCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (AssetSourceCollection) ValidateEnumValue ¶
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
type AssetSourceConnection ¶
type AssetSourceConnection struct {
// The type of connection for an asset source.
ConnectionType AssetSourceConnectionTypeEnum `mandatory:"true" json:"connectionType"`
// The OCID (https://docs.oracle.com/iaas/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"`
}
AssetSourceConnection Descriptor of a connection to an asset source.
func (AssetSourceConnection) String ¶
func (m AssetSourceConnection) String() string
func (AssetSourceConnection) ValidateEnumValue ¶
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
type AssetSourceConnectionCollection ¶
type AssetSourceConnectionCollection struct {
// List of connections.
Items []AssetSourceConnection `mandatory:"true" json:"items"`
}
AssetSourceConnectionCollection List of connections for an asset source.
func (AssetSourceConnectionCollection) String ¶
func (m AssetSourceConnectionCollection) String() string
func (AssetSourceConnectionCollection) ValidateEnumValue ¶
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
type AssetSourceConnectionLifecycleStateEnum ¶
type AssetSourceConnectionLifecycleStateEnum string
AssetSourceConnectionLifecycleStateEnum Enum with underlying type: string
const ( AssetSourceConnectionLifecycleStateActive AssetSourceConnectionLifecycleStateEnum = "ACTIVE" AssetSourceConnectionLifecycleStateUpdating AssetSourceConnectionLifecycleStateEnum = "UPDATING" AssetSourceConnectionLifecycleStateNeedsAttention AssetSourceConnectionLifecycleStateEnum = "NEEDS_ATTENTION" AssetSourceConnectionLifecycleStateDeleted AssetSourceConnectionLifecycleStateEnum = "DELETED" AssetSourceConnectionLifecycleStateCreating AssetSourceConnectionLifecycleStateEnum = "CREATING" )
Set of constants representing the allowable values for AssetSourceConnectionLifecycleStateEnum
func GetAssetSourceConnectionLifecycleStateEnumValues ¶
func GetAssetSourceConnectionLifecycleStateEnumValues() []AssetSourceConnectionLifecycleStateEnum
GetAssetSourceConnectionLifecycleStateEnumValues Enumerates the set of values for AssetSourceConnectionLifecycleStateEnum
func GetMappingAssetSourceConnectionLifecycleStateEnum ¶
func GetMappingAssetSourceConnectionLifecycleStateEnum(val string) (AssetSourceConnectionLifecycleStateEnum, bool)
GetMappingAssetSourceConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSourceConnectionTypeEnum ¶
type AssetSourceConnectionTypeEnum string
AssetSourceConnectionTypeEnum Enum with underlying type: string
const ( AssetSourceConnectionTypeDiscovery AssetSourceConnectionTypeEnum = "DISCOVERY" AssetSourceConnectionTypeReplication AssetSourceConnectionTypeEnum = "REPLICATION" )
Set of constants representing the allowable values for AssetSourceConnectionTypeEnum
func GetAssetSourceConnectionTypeEnumValues ¶
func GetAssetSourceConnectionTypeEnumValues() []AssetSourceConnectionTypeEnum
GetAssetSourceConnectionTypeEnumValues Enumerates the set of values for AssetSourceConnectionTypeEnum
func GetMappingAssetSourceConnectionTypeEnum ¶
func GetMappingAssetSourceConnectionTypeEnum(val string) (AssetSourceConnectionTypeEnum, bool)
GetMappingAssetSourceConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSourceCredentials ¶
type AssetSourceCredentials struct {
// Authentication type
Type AssetSourceCredentialsTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault.
// If 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": "<User>", "password": "example-password" }`.
// If the type of the credentials is `API_KEY`, the secret must contain the accessKeyId and
// secretAccessKey in JSON format,
// which is in the form of `{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }`.
SecretId *string `mandatory:"true" json:"secretId"`
}
AssetSourceCredentials Credentials for an asset source.
func (AssetSourceCredentials) String ¶
func (m AssetSourceCredentials) String() string
func (AssetSourceCredentials) ValidateEnumValue ¶
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
type AssetSourceCredentialsTypeEnum ¶
type AssetSourceCredentialsTypeEnum string
AssetSourceCredentialsTypeEnum Enum with underlying type: string
const ( AssetSourceCredentialsTypeBasic AssetSourceCredentialsTypeEnum = "BASIC" AssetSourceCredentialsTypeApiKey AssetSourceCredentialsTypeEnum = "API_KEY" )
Set of constants representing the allowable values for AssetSourceCredentialsTypeEnum
func GetAssetSourceCredentialsTypeEnumValues ¶
func GetAssetSourceCredentialsTypeEnumValues() []AssetSourceCredentialsTypeEnum
GetAssetSourceCredentialsTypeEnumValues Enumerates the set of values for AssetSourceCredentialsTypeEnum
func GetMappingAssetSourceCredentialsTypeEnum ¶
func GetMappingAssetSourceCredentialsTypeEnum(val string) (AssetSourceCredentialsTypeEnum, bool)
GetMappingAssetSourceCredentialsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSourceLifecycleStateEnum ¶
type AssetSourceLifecycleStateEnum string
AssetSourceLifecycleStateEnum Enum with underlying type: string
const ( AssetSourceLifecycleStateCreating AssetSourceLifecycleStateEnum = "CREATING" AssetSourceLifecycleStateActive AssetSourceLifecycleStateEnum = "ACTIVE" AssetSourceLifecycleStateDeleting AssetSourceLifecycleStateEnum = "DELETING" AssetSourceLifecycleStateDeleted AssetSourceLifecycleStateEnum = "DELETED" AssetSourceLifecycleStateFailed AssetSourceLifecycleStateEnum = "FAILED" AssetSourceLifecycleStateUpdating AssetSourceLifecycleStateEnum = "UPDATING" AssetSourceLifecycleStateNeedsAttention AssetSourceLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for AssetSourceLifecycleStateEnum
func GetAssetSourceLifecycleStateEnumValues ¶
func GetAssetSourceLifecycleStateEnumValues() []AssetSourceLifecycleStateEnum
GetAssetSourceLifecycleStateEnumValues Enumerates the set of values for AssetSourceLifecycleStateEnum
func GetMappingAssetSourceLifecycleStateEnum ¶
func GetMappingAssetSourceLifecycleStateEnum(val string) (AssetSourceLifecycleStateEnum, bool)
GetMappingAssetSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSourceSummary ¶
type AssetSourceSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
GetCompartmentId() *string
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
GetInventoryId() *string
// The OCID (https://docs.oracle.com/iaas/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.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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{orcl-cloud: {free-tier-retain: true}}`
GetSystemTags() map[string]map[string]interface{}
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
GetEnvironmentType() EnvironmentTypeEnum
}
AssetSourceSummary Summary of an asset source provided in the list.
type AssetSourceTypeEnum ¶
type AssetSourceTypeEnum string
AssetSourceTypeEnum Enum with underlying type: string
const ( AssetSourceTypeVmware AssetSourceTypeEnum = "VMWARE" AssetSourceTypeAws AssetSourceTypeEnum = "AWS" AssetSourceTypeOlvm AssetSourceTypeEnum = "OLVM" )
Set of constants representing the allowable values for AssetSourceTypeEnum
func GetAssetSourceTypeEnumValues ¶
func GetAssetSourceTypeEnumValues() []AssetSourceTypeEnum
GetAssetSourceTypeEnumValues Enumerates the set of values for AssetSourceTypeEnum
func GetMappingAssetSourceTypeEnum ¶
func GetMappingAssetSourceTypeEnum(val string) (AssetSourceTypeEnum, bool)
GetMappingAssetSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AssetSummary ¶
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.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.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.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"`
// The name of the asset class.
AssetClassName *string `mandatory:"false" json:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"false" json:"assetClassVersion"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
AssetSummary Summary of the asset.
func (AssetSummary) String ¶
func (m AssetSummary) String() string
func (AssetSummary) ValidateEnumValue ¶
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
type AssetTypeEnum ¶
type AssetTypeEnum string
AssetTypeEnum Enum with underlying type: string
const ( AssetTypeVmwareVm AssetTypeEnum = "VMWARE_VM" AssetTypeVm AssetTypeEnum = "VM" AssetTypeInventoryAsset AssetTypeEnum = "INVENTORY_ASSET" AssetTypeAwsEc2 AssetTypeEnum = "AWS_EC2" AssetTypeAwsEbs AssetTypeEnum = "AWS_EBS" )
Set of constants representing the allowable values for AssetTypeEnum
func GetAssetTypeEnumValues ¶
func GetAssetTypeEnumValues() []AssetTypeEnum
GetAssetTypeEnumValues Enumerates the set of values for AssetTypeEnum
func GetMappingAssetTypeEnum ¶
func GetMappingAssetTypeEnum(val string) (AssetTypeEnum, bool)
GetMappingAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AwsAssetSource ¶ added in v65.77.0
type AwsAssetSource struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The time when the asset source was created in the RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The point in time that the asset source was last updated in the RFC3339 format.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"`
// AWS region information, from where the resources are discovered.
AwsRegion *string `mandatory:"true" json:"awsRegion"`
// The key of customer's aws account to be discovered/migrated.
AwsAccountKey *string `mandatory:"true" json:"awsAccountKey"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an attached discovery schedule.
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.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.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.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"`
// Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
IsCostInformationCollected *bool `mandatory:"false" json:"isCostInformationCollected"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
AwsAssetSource AWS asset source. Used for discovery of EC2 instances and EBS volumes registered for the AWS account.
func (AwsAssetSource) GetAssetsCompartmentId ¶ added in v65.77.0
func (m AwsAssetSource) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (AwsAssetSource) GetCompartmentId ¶ added in v65.77.0
func (m AwsAssetSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AwsAssetSource) GetDefinedTags ¶ added in v65.77.0
func (m AwsAssetSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AwsAssetSource) GetDiscoveryScheduleId ¶ added in v65.77.0
func (m AwsAssetSource) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (AwsAssetSource) GetDisplayName ¶ added in v65.77.0
func (m AwsAssetSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (AwsAssetSource) GetEnvironmentId ¶ added in v65.77.0
func (m AwsAssetSource) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (AwsAssetSource) GetEnvironmentType ¶ added in v65.111.0
func (m AwsAssetSource) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (AwsAssetSource) GetFreeformTags ¶ added in v65.77.0
func (m AwsAssetSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AwsAssetSource) GetId ¶ added in v65.77.0
func (m AwsAssetSource) GetId() *string
GetId returns Id
func (AwsAssetSource) GetInventoryId ¶ added in v65.77.0
func (m AwsAssetSource) GetInventoryId() *string
GetInventoryId returns InventoryId
func (AwsAssetSource) GetLifecycleDetails ¶ added in v65.77.0
func (m AwsAssetSource) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (AwsAssetSource) GetLifecycleState ¶ added in v65.77.0
func (m AwsAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AwsAssetSource) GetSystemTags ¶ added in v65.77.0
func (m AwsAssetSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AwsAssetSource) GetTimeCreated ¶ added in v65.77.0
func (m AwsAssetSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AwsAssetSource) GetTimeUpdated ¶ added in v65.77.0
func (m AwsAssetSource) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AwsAssetSource) MarshalJSON ¶ added in v65.77.0
func (m AwsAssetSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AwsAssetSource) String ¶ added in v65.77.0
func (m AwsAssetSource) String() string
func (AwsAssetSource) ValidateEnumValue ¶ added in v65.77.0
func (m AwsAssetSource) 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
type AwsAssetSourceSummary ¶ added in v65.77.0
type AwsAssetSourceSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
// AWS region information, from where the resources are discovered.
AwsRegion *string `mandatory:"true" json:"awsRegion"`
// The key of customer's aws account to be discovered/migrated.
AwsAccountKey *string `mandatory:"true" json:"awsAccountKey"`
// The time when the asset source was created in RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The point in time that the asset source was last updated in RFC3339 format.
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.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.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.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"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
AwsAssetSourceSummary Summary of an AWS asset source provided in the list.
func (AwsAssetSourceSummary) GetAssetsCompartmentId ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (AwsAssetSourceSummary) GetCompartmentId ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AwsAssetSourceSummary) GetDefinedTags ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AwsAssetSourceSummary) GetDisplayName ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (AwsAssetSourceSummary) GetEnvironmentId ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (AwsAssetSourceSummary) GetEnvironmentType ¶ added in v65.111.0
func (m AwsAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (AwsAssetSourceSummary) GetFreeformTags ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AwsAssetSourceSummary) GetId ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetId() *string
GetId returns Id
func (AwsAssetSourceSummary) GetInventoryId ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetInventoryId() *string
GetInventoryId returns InventoryId
func (AwsAssetSourceSummary) GetLifecycleDetails ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (AwsAssetSourceSummary) GetLifecycleState ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AwsAssetSourceSummary) GetSystemTags ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AwsAssetSourceSummary) GetTimeCreated ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AwsAssetSourceSummary) GetTimeUpdated ¶ added in v65.77.0
func (m AwsAssetSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AwsAssetSourceSummary) MarshalJSON ¶ added in v65.77.0
func (m AwsAssetSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AwsAssetSourceSummary) String ¶ added in v65.77.0
func (m AwsAssetSourceSummary) String() string
func (AwsAssetSourceSummary) ValidateEnumValue ¶ added in v65.77.0
func (m AwsAssetSourceSummary) 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
type AwsEbsAsset ¶ added in v65.77.0
type AwsEbsAsset struct {
// Inventory ID to which an 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 to which an asset belongs to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The source key that the asset belongs to.
SourceKey *string `mandatory:"true" json:"sourceKey"`
// The key of the asset from the external environment.
ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
// 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"`
AwsEbs *AwsEbsProperties `mandatory:"true" json:"awsEbs"`
// 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.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.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.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"`
// The current state of the asset.
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
AwsEbsAsset AWS EBS type of asset.
func (AwsEbsAsset) GetAssetSourceIds ¶ added in v65.77.0
func (m AwsEbsAsset) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (AwsEbsAsset) GetCompartmentId ¶ added in v65.77.0
func (m AwsEbsAsset) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AwsEbsAsset) GetDefinedTags ¶ added in v65.77.0
func (m AwsEbsAsset) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AwsEbsAsset) GetDisplayName ¶ added in v65.77.0
func (m AwsEbsAsset) GetDisplayName() *string
GetDisplayName returns DisplayName
func (AwsEbsAsset) GetEnvironmentType ¶ added in v65.111.0
func (m AwsEbsAsset) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (AwsEbsAsset) GetExternalAssetKey ¶ added in v65.77.0
func (m AwsEbsAsset) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (AwsEbsAsset) GetFreeformTags ¶ added in v65.77.0
func (m AwsEbsAsset) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AwsEbsAsset) GetInventoryId ¶ added in v65.77.0
func (m AwsEbsAsset) GetInventoryId() *string
GetInventoryId returns InventoryId
func (AwsEbsAsset) GetLifecycleState ¶ added in v65.77.0
func (m AwsEbsAsset) GetLifecycleState() AssetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AwsEbsAsset) GetSourceKey ¶ added in v65.77.0
func (m AwsEbsAsset) GetSourceKey() *string
GetSourceKey returns SourceKey
func (AwsEbsAsset) GetSystemTags ¶ added in v65.77.0
func (m AwsEbsAsset) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AwsEbsAsset) GetTimeCreated ¶ added in v65.77.0
func (m AwsEbsAsset) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AwsEbsAsset) GetTimeUpdated ¶ added in v65.77.0
func (m AwsEbsAsset) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AwsEbsAsset) MarshalJSON ¶ added in v65.77.0
func (m AwsEbsAsset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AwsEbsAsset) String ¶ added in v65.77.0
func (m AwsEbsAsset) String() string
func (AwsEbsAsset) ValidateEnumValue ¶ added in v65.77.0
func (m AwsEbsAsset) 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
type AwsEbsAssetDetails ¶ added in v65.81.0
type AwsEbsAssetDetails struct {
AwsEbs *AwsEbsProperties `mandatory:"true" json:"awsEbs"`
}
AwsEbsAssetDetails AWS EBS type of asset.
func (AwsEbsAssetDetails) String ¶ added in v65.81.0
func (m AwsEbsAssetDetails) String() string
func (AwsEbsAssetDetails) ValidateEnumValue ¶ added in v65.81.0
func (m AwsEbsAssetDetails) 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
type AwsEbsProperties ¶ added in v65.77.0
type AwsEbsProperties struct {
// Indicates whether the volume is encrypted.
IsEncrypted *bool `mandatory:"true" json:"isEncrypted"`
// Indicates whether Amazon EBS Multi-Attach is enabled.
IsMultiAttachEnabled *bool `mandatory:"true" json:"isMultiAttachEnabled"`
// The size of the volume, in GiBs.
SizeInGiBs *int `mandatory:"true" json:"sizeInGiBs"`
// The ID of the volume.
VolumeKey *string `mandatory:"true" json:"volumeKey"`
// The volume type.
VolumeType *string `mandatory:"true" json:"volumeType"`
// Information about the volume attachments.
Attachments []VolumeAttachment `mandatory:"false" json:"attachments"`
// The Availability Zone for the volume.
AvailabilityZone *string `mandatory:"false" json:"availabilityZone"`
// The number of I/O operations per second.
Iops *int `mandatory:"false" json:"iops"`
// The volume state.
Status *string `mandatory:"false" json:"status"`
// Any tags assigned to the volume.
Tags []Tag `mandatory:"false" json:"tags"`
// The throughput that the volume supports, in MiB/s.
Throughput *int `mandatory:"false" json:"throughput"`
}
AwsEbsProperties AWS EBS volume related properties.
func (AwsEbsProperties) String ¶ added in v65.77.0
func (m AwsEbsProperties) String() string
func (AwsEbsProperties) ValidateEnumValue ¶ added in v65.77.0
func (m AwsEbsProperties) 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
type AwsEc2Asset ¶ added in v65.77.0
type AwsEc2Asset struct {
// Inventory ID to which an 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 to which an asset belongs to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The source key that the asset belongs to.
SourceKey *string `mandatory:"true" json:"sourceKey"`
// The key of the asset from the external environment.
ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
// 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"`
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
AwsEc2 *AwsEc2Properties `mandatory:"true" json:"awsEc2"`
// 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.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.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.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"`
AwsEc2Cost *MonthlyCostSummary `mandatory:"false" json:"awsEc2Cost"`
AttachedEbsVolumesCost *MonthlyCostSummary `mandatory:"false" json:"attachedEbsVolumesCost"`
// The current state of the asset.
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
AwsEc2Asset AWS EC2 type of asset.
func (AwsEc2Asset) GetAssetSourceIds ¶ added in v65.77.0
func (m AwsEc2Asset) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (AwsEc2Asset) GetCompartmentId ¶ added in v65.77.0
func (m AwsEc2Asset) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AwsEc2Asset) GetDefinedTags ¶ added in v65.77.0
func (m AwsEc2Asset) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AwsEc2Asset) GetDisplayName ¶ added in v65.77.0
func (m AwsEc2Asset) GetDisplayName() *string
GetDisplayName returns DisplayName
func (AwsEc2Asset) GetEnvironmentType ¶ added in v65.111.0
func (m AwsEc2Asset) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (AwsEc2Asset) GetExternalAssetKey ¶ added in v65.77.0
func (m AwsEc2Asset) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (AwsEc2Asset) GetFreeformTags ¶ added in v65.77.0
func (m AwsEc2Asset) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AwsEc2Asset) GetInventoryId ¶ added in v65.77.0
func (m AwsEc2Asset) GetInventoryId() *string
GetInventoryId returns InventoryId
func (AwsEc2Asset) GetLifecycleState ¶ added in v65.77.0
func (m AwsEc2Asset) GetLifecycleState() AssetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AwsEc2Asset) GetSourceKey ¶ added in v65.77.0
func (m AwsEc2Asset) GetSourceKey() *string
GetSourceKey returns SourceKey
func (AwsEc2Asset) GetSystemTags ¶ added in v65.77.0
func (m AwsEc2Asset) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AwsEc2Asset) GetTimeCreated ¶ added in v65.77.0
func (m AwsEc2Asset) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AwsEc2Asset) GetTimeUpdated ¶ added in v65.77.0
func (m AwsEc2Asset) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AwsEc2Asset) MarshalJSON ¶ added in v65.77.0
func (m AwsEc2Asset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AwsEc2Asset) String ¶ added in v65.77.0
func (m AwsEc2Asset) String() string
func (AwsEc2Asset) ValidateEnumValue ¶ added in v65.77.0
func (m AwsEc2Asset) 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
type AwsEc2AssetDetails ¶ added in v65.81.0
type AwsEc2AssetDetails struct {
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
AwsEc2 *AwsEc2Properties `mandatory:"true" json:"awsEc2"`
AwsEc2Cost *MonthlyCostSummary `mandatory:"false" json:"awsEc2Cost"`
AttachedEbsVolumesCost *MonthlyCostSummary `mandatory:"false" json:"attachedEbsVolumesCost"`
}
AwsEc2AssetDetails AWS EC2 type of asset.
func (AwsEc2AssetDetails) String ¶ added in v65.81.0
func (m AwsEc2AssetDetails) String() string
func (AwsEc2AssetDetails) ValidateEnumValue ¶ added in v65.81.0
func (m AwsEc2AssetDetails) 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
type AwsEc2Properties ¶ added in v65.77.0
type AwsEc2Properties struct {
// The architecture of the image.
Architecture *string `mandatory:"true" json:"architecture"`
// The ID of the instance.
InstanceKey *string `mandatory:"true" json:"instanceKey"`
// The instance type.
InstanceType *string `mandatory:"true" json:"instanceType"`
// The device name of the root device volume.
RootDeviceName *string `mandatory:"true" json:"rootDeviceName"`
State *InstanceState `mandatory:"true" json:"state"`
// The boot mode of the instance.
BootMode *string `mandatory:"false" json:"bootMode"`
// The ID of the Capacity Reservation.
CapacityReservationKey *string `mandatory:"false" json:"capacityReservationKey"`
// Indicates if the elastic inference accelerators attached to an instance
AreElasticInferenceAcceleratorsPresent *bool `mandatory:"false" json:"areElasticInferenceAcceleratorsPresent"`
// Indicates whether the instance is enabled for AWS Nitro Enclaves.
IsEnclaveOptions *bool `mandatory:"false" json:"isEnclaveOptions"`
// Indicates whether the instance is enabled for hibernation.
IsHibernationOptions *bool `mandatory:"false" json:"isHibernationOptions"`
// The ID of the AMI used to launch the instance.
ImageKey *string `mandatory:"false" json:"imageKey"`
// Indicates whether this is a Spot Instance or a Scheduled Instance.
InstanceLifecycle *string `mandatory:"false" json:"instanceLifecycle"`
// The public IPv4 address, or the Carrier IP address assigned to the instance.
IpAddress *string `mandatory:"false" json:"ipAddress"`
// The IPv6 address assigned to the instance.
Ipv6Address *string `mandatory:"false" json:"ipv6Address"`
// The kernel associated with this instance, if applicable.
KernelKey *string `mandatory:"false" json:"kernelKey"`
// The time the instance was launched.
TimeLaunch *common.SDKTime `mandatory:"false" json:"timeLaunch"`
// The license configurations for the instance.
Licenses []string `mandatory:"false" json:"licenses"`
// Provides information on the recovery and maintenance options of your instance.
MaintenanceOptions *string `mandatory:"false" json:"maintenanceOptions"`
// The monitoring for the instance.
Monitoring *string `mandatory:"false" json:"monitoring"`
// The network interfaces for the instance.
NetworkInterfaces []InstanceNetworkInterface `mandatory:"false" json:"networkInterfaces"`
Placement *Placement `mandatory:"false" json:"placement"`
// (IPv4 only) The private DNS hostname name assigned to the instance.
PrivateDnsName *string `mandatory:"false" json:"privateDnsName"`
// The private IPv4 address assigned to the instance.
PrivateIpAddress *string `mandatory:"false" json:"privateIpAddress"`
// The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
RootDeviceType *string `mandatory:"false" json:"rootDeviceType"`
// The security groups for the instance.
SecurityGroups []GroupIdentifier `mandatory:"false" json:"securityGroups"`
// Indicates whether source/destination checking is enabled.
IsSourceDestCheck *bool `mandatory:"false" json:"isSourceDestCheck"`
// If the request is a Spot Instance request, this value will be true.
IsSpotInstance *bool `mandatory:"false" json:"isSpotInstance"`
// Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
SriovNetSupport *string `mandatory:"false" json:"sriovNetSupport"`
// EC2-VPC The ID of the subnet in which the instance is running.
SubnetKey *string `mandatory:"false" json:"subnetKey"`
// Any tags assigned to the instance.
Tags []Tag `mandatory:"false" json:"tags"`
// If the instance is configured for NitroTPM support, the value is v2.0.
TpmSupport *string `mandatory:"false" json:"tpmSupport"`
// The virtualization type of the instance.
VirtualizationType *string `mandatory:"false" json:"virtualizationType"`
// EC2-VPC The ID of the VPC in which the instance is running.
VpcKey *string `mandatory:"false" json:"vpcKey"`
}
AwsEc2Properties AWS virtual machine related properties.
func (AwsEc2Properties) String ¶ added in v65.77.0
func (m AwsEc2Properties) String() string
func (AwsEc2Properties) ValidateEnumValue ¶ added in v65.77.0
func (m AwsEc2Properties) 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
type 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
}
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
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
type CancelWorkRequestResponse ¶
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"`
}
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeAgentCompartmentDetails ¶
type ChangeAgentCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
// into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeAgentCompartmentDetails The information to be updated.
func (ChangeAgentCompartmentDetails) String ¶
func (m ChangeAgentCompartmentDetails) String() string
func (ChangeAgentCompartmentDetails) ValidateEnumValue ¶
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
type 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
}
ChangeAgentCompartmentRequest wrapper for the ChangeAgentCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartmentRequest.
func (ChangeAgentCompartmentRequest) BinaryRequestBody ¶
func (request ChangeAgentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAgentCompartmentRequest) HTTPRequest ¶
func (request ChangeAgentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAgentCompartmentRequest) RetryPolicy ¶
func (request ChangeAgentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAgentCompartmentRequest) String ¶
func (request ChangeAgentCompartmentRequest) String() string
func (ChangeAgentCompartmentRequest) ValidateEnumValue ¶
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
type ChangeAgentCompartmentResponse ¶
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"`
}
ChangeAgentCompartmentResponse wrapper for the ChangeAgentCompartment operation
func (ChangeAgentCompartmentResponse) HTTPResponse ¶
func (response ChangeAgentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAgentCompartmentResponse) String ¶
func (response ChangeAgentCompartmentResponse) String() string
type ChangeAgentDependencyCompartmentDetails ¶
type ChangeAgentDependencyCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
// into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeAgentDependencyCompartmentDetails The information to be updated.
func (ChangeAgentDependencyCompartmentDetails) String ¶
func (m ChangeAgentDependencyCompartmentDetails) String() string
func (ChangeAgentDependencyCompartmentDetails) ValidateEnumValue ¶
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
type 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
}
ChangeAgentDependencyCompartmentRequest wrapper for the ChangeAgentDependencyCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAgentDependencyCompartment.go.html to see an example of how to use ChangeAgentDependencyCompartmentRequest.
func (ChangeAgentDependencyCompartmentRequest) BinaryRequestBody ¶
func (request ChangeAgentDependencyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAgentDependencyCompartmentRequest) HTTPRequest ¶
func (request ChangeAgentDependencyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAgentDependencyCompartmentRequest) RetryPolicy ¶
func (request ChangeAgentDependencyCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAgentDependencyCompartmentRequest) String ¶
func (request ChangeAgentDependencyCompartmentRequest) String() string
func (ChangeAgentDependencyCompartmentRequest) ValidateEnumValue ¶
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
type ChangeAgentDependencyCompartmentResponse ¶
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"`
}
ChangeAgentDependencyCompartmentResponse wrapper for the ChangeAgentDependencyCompartment operation
func (ChangeAgentDependencyCompartmentResponse) HTTPResponse ¶
func (response ChangeAgentDependencyCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAgentDependencyCompartmentResponse) String ¶
func (response ChangeAgentDependencyCompartmentResponse) String() string
type ChangeAssetCompartmentDetails ¶
type ChangeAssetCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeAssetCompartmentDetails The information to be updated for changing asset compartment.
func (ChangeAssetCompartmentDetails) String ¶
func (m ChangeAssetCompartmentDetails) String() string
func (ChangeAssetCompartmentDetails) ValidateEnumValue ¶
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
type 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
}
ChangeAssetCompartmentRequest wrapper for the ChangeAssetCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetCompartment.go.html to see an example of how to use ChangeAssetCompartmentRequest.
func (ChangeAssetCompartmentRequest) BinaryRequestBody ¶
func (request ChangeAssetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAssetCompartmentRequest) HTTPRequest ¶
func (request ChangeAssetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAssetCompartmentRequest) RetryPolicy ¶
func (request ChangeAssetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAssetCompartmentRequest) String ¶
func (request ChangeAssetCompartmentRequest) String() string
func (ChangeAssetCompartmentRequest) ValidateEnumValue ¶
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
type ChangeAssetCompartmentResponse ¶
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"`
}
ChangeAssetCompartmentResponse wrapper for the ChangeAssetCompartment operation
func (ChangeAssetCompartmentResponse) HTTPResponse ¶
func (response ChangeAssetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAssetCompartmentResponse) String ¶
func (response ChangeAssetCompartmentResponse) String() string
type ChangeAssetSourceCompartmentDetails ¶
type ChangeAssetSourceCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeAssetSourceCompartmentDetails Details for which compartment to move the resource to.
func (ChangeAssetSourceCompartmentDetails) String ¶
func (m ChangeAssetSourceCompartmentDetails) String() string
func (ChangeAssetSourceCompartmentDetails) ValidateEnumValue ¶
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
type ChangeAssetSourceCompartmentRequest ¶
type ChangeAssetSourceCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
ChangeAssetSourceCompartmentRequest wrapper for the ChangeAssetSourceCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetSourceCompartment.go.html to see an example of how to use ChangeAssetSourceCompartmentRequest.
func (ChangeAssetSourceCompartmentRequest) BinaryRequestBody ¶
func (request ChangeAssetSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAssetSourceCompartmentRequest) HTTPRequest ¶
func (request ChangeAssetSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAssetSourceCompartmentRequest) RetryPolicy ¶
func (request ChangeAssetSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAssetSourceCompartmentRequest) String ¶
func (request ChangeAssetSourceCompartmentRequest) String() string
func (ChangeAssetSourceCompartmentRequest) ValidateEnumValue ¶
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
type ChangeAssetSourceCompartmentResponse ¶
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"`
}
ChangeAssetSourceCompartmentResponse wrapper for the ChangeAssetSourceCompartment operation
func (ChangeAssetSourceCompartmentResponse) HTTPResponse ¶
func (response ChangeAssetSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAssetSourceCompartmentResponse) String ¶
func (response ChangeAssetSourceCompartmentResponse) String() string
type ChangeAssetTagsDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
ChangeAssetTagsDetails The information about tags to be updated.
func (ChangeAssetTagsDetails) String ¶
func (m ChangeAssetTagsDetails) String() string
func (ChangeAssetTagsDetails) ValidateEnumValue ¶
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
type 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
}
ChangeAssetTagsRequest wrapper for the ChangeAssetTags operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetTags.go.html to see an example of how to use ChangeAssetTagsRequest.
func (ChangeAssetTagsRequest) BinaryRequestBody ¶
func (request ChangeAssetTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeAssetTagsRequest) HTTPRequest ¶
func (request ChangeAssetTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAssetTagsRequest) RetryPolicy ¶
func (request ChangeAssetTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAssetTagsRequest) String ¶
func (request ChangeAssetTagsRequest) String() string
func (ChangeAssetTagsRequest) ValidateEnumValue ¶
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
type ChangeAssetTagsResponse ¶
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"`
}
ChangeAssetTagsResponse wrapper for the ChangeAssetTags operation
func (ChangeAssetTagsResponse) HTTPResponse ¶
func (response ChangeAssetTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAssetTagsResponse) String ¶
func (response ChangeAssetTagsResponse) String() string
type ChangeDiscoveryScheduleCompartmentDetails ¶
type ChangeDiscoveryScheduleCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the discovery schedule should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeDiscoveryScheduleCompartmentDetails Information about the compartment into which the discovery schedule should be moved.
func (ChangeDiscoveryScheduleCompartmentDetails) String ¶
func (m ChangeDiscoveryScheduleCompartmentDetails) String() string
func (ChangeDiscoveryScheduleCompartmentDetails) ValidateEnumValue ¶
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
type ChangeDiscoveryScheduleCompartmentRequest ¶
type ChangeDiscoveryScheduleCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
ChangeDiscoveryScheduleCompartmentRequest wrapper for the ChangeDiscoveryScheduleCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeDiscoveryScheduleCompartment.go.html to see an example of how to use ChangeDiscoveryScheduleCompartmentRequest.
func (ChangeDiscoveryScheduleCompartmentRequest) BinaryRequestBody ¶
func (request ChangeDiscoveryScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeDiscoveryScheduleCompartmentRequest) HTTPRequest ¶
func (request ChangeDiscoveryScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeDiscoveryScheduleCompartmentRequest) RetryPolicy ¶
func (request ChangeDiscoveryScheduleCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeDiscoveryScheduleCompartmentRequest) String ¶
func (request ChangeDiscoveryScheduleCompartmentRequest) String() string
func (ChangeDiscoveryScheduleCompartmentRequest) ValidateEnumValue ¶
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
type ChangeDiscoveryScheduleCompartmentResponse ¶
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"`
}
ChangeDiscoveryScheduleCompartmentResponse wrapper for the ChangeDiscoveryScheduleCompartment operation
func (ChangeDiscoveryScheduleCompartmentResponse) HTTPResponse ¶
func (response ChangeDiscoveryScheduleCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeDiscoveryScheduleCompartmentResponse) String ¶
func (response ChangeDiscoveryScheduleCompartmentResponse) String() string
type ChangeEnvironmentCompartmentDetails ¶
type ChangeEnvironmentCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
// into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeEnvironmentCompartmentDetails The information to be updated.
func (ChangeEnvironmentCompartmentDetails) String ¶
func (m ChangeEnvironmentCompartmentDetails) String() string
func (ChangeEnvironmentCompartmentDetails) ValidateEnumValue ¶
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
type 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
}
ChangeEnvironmentCompartmentRequest wrapper for the ChangeEnvironmentCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeEnvironmentCompartment.go.html to see an example of how to use ChangeEnvironmentCompartmentRequest.
func (ChangeEnvironmentCompartmentRequest) BinaryRequestBody ¶
func (request ChangeEnvironmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeEnvironmentCompartmentRequest) HTTPRequest ¶
func (request ChangeEnvironmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeEnvironmentCompartmentRequest) RetryPolicy ¶
func (request ChangeEnvironmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeEnvironmentCompartmentRequest) String ¶
func (request ChangeEnvironmentCompartmentRequest) String() string
func (ChangeEnvironmentCompartmentRequest) ValidateEnumValue ¶
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
type ChangeEnvironmentCompartmentResponse ¶
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"`
}
ChangeEnvironmentCompartmentResponse wrapper for the ChangeEnvironmentCompartment operation
func (ChangeEnvironmentCompartmentResponse) HTTPResponse ¶
func (response ChangeEnvironmentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeEnvironmentCompartmentResponse) String ¶
func (response ChangeEnvironmentCompartmentResponse) String() string
type CommonClient ¶
type CommonClient struct {
common.BaseClient
// contains filtered or unexported fields
}
CommonClient a client for Common
func NewCommonClientWithConfigurationProvider ¶
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 ¶
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 (CommonClient) CancelWorkRequest ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (*CommonClient) ConfigurationProvider ¶
func (client *CommonClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (CommonClient) GetWorkRequest ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (CommonClient) ListWorkRequestErrors ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (CommonClient) ListWorkRequestLogs ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (CommonClient) ListWorkRequests ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (*CommonClient) SetRegion ¶
func (client *CommonClient) SetRegion(region string)
SetRegion overrides the region of this client.
type ComputeProperties ¶
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"`
}
ComputeProperties Compute related properties.
func (ComputeProperties) String ¶
func (m ComputeProperties) String() string
func (ComputeProperties) ValidateEnumValue ¶
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
type CreateAgentDependencyDetails ¶
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.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.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.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"`
}
CreateAgentDependencyDetails The information about new AgentDependency.
func (CreateAgentDependencyDetails) String ¶
func (m CreateAgentDependencyDetails) String() string
func (CreateAgentDependencyDetails) ValidateEnumValue ¶
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
type 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
}
CreateAgentDependencyRequest wrapper for the CreateAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAgentDependency.go.html to see an example of how to use CreateAgentDependencyRequest.
func (CreateAgentDependencyRequest) BinaryRequestBody ¶
func (request CreateAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAgentDependencyRequest) HTTPRequest ¶
func (request CreateAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAgentDependencyRequest) RetryPolicy ¶
func (request CreateAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAgentDependencyRequest) String ¶
func (request CreateAgentDependencyRequest) String() string
func (CreateAgentDependencyRequest) ValidateEnumValue ¶
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
type CreateAgentDependencyResponse ¶
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"`
}
CreateAgentDependencyResponse wrapper for the CreateAgentDependency operation
func (CreateAgentDependencyResponse) HTTPResponse ¶
func (response CreateAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAgentDependencyResponse) String ¶
func (response CreateAgentDependencyResponse) String() string
type CreateAgentDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateAgentDetails Information about the new Agent.
func (CreateAgentDetails) String ¶
func (m CreateAgentDetails) String() string
func (CreateAgentDetails) ValidateEnumValue ¶
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
type 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
}
CreateAgentRequest wrapper for the CreateAgent operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAgent.go.html to see an example of how to use CreateAgentRequest.
func (CreateAgentRequest) BinaryRequestBody ¶
func (request CreateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAgentRequest) HTTPRequest ¶
func (request CreateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAgentRequest) RetryPolicy ¶
func (request CreateAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAgentRequest) String ¶
func (request CreateAgentRequest) String() string
func (CreateAgentRequest) ValidateEnumValue ¶
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
type CreateAgentResponse ¶
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"`
}
CreateAgentResponse wrapper for the CreateAgent operation
func (CreateAgentResponse) HTTPResponse ¶
func (response CreateAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAgentResponse) String ¶
func (response CreateAgentResponse) String() string
type CreateAssetDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateAssetDetails The information about the new asset.
type 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
}
CreateAssetRequest wrapper for the CreateAsset operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAsset.go.html to see an example of how to use CreateAssetRequest.
func (CreateAssetRequest) BinaryRequestBody ¶
func (request CreateAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAssetRequest) HTTPRequest ¶
func (request CreateAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAssetRequest) RetryPolicy ¶
func (request CreateAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAssetRequest) String ¶
func (request CreateAssetRequest) String() string
func (CreateAssetRequest) ValidateEnumValue ¶
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
type CreateAssetResponse ¶
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"`
}
CreateAssetResponse wrapper for the CreateAsset operation
func (CreateAssetResponse) HTTPResponse ¶
func (response CreateAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAssetResponse) String ¶
func (response CreateAssetResponse) String() string
type CreateAssetSourceDetails ¶
type CreateAssetSourceDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
GetCompartmentId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
GetEnvironmentId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
GetInventoryId() *string
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/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.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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{orcl-cloud: {free-tier-retain: true}}`
GetSystemTags() map[string]map[string]interface{}
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
GetEnvironmentType() EnvironmentTypeEnum
}
CreateAssetSourceDetails Asset source creation request.
type 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
}
CreateAssetSourceRequest wrapper for the CreateAssetSource operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAssetSource.go.html to see an example of how to use CreateAssetSourceRequest.
func (CreateAssetSourceRequest) BinaryRequestBody ¶
func (request CreateAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateAssetSourceRequest) HTTPRequest ¶
func (request CreateAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAssetSourceRequest) RetryPolicy ¶
func (request CreateAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAssetSourceRequest) String ¶
func (request CreateAssetSourceRequest) String() string
func (CreateAssetSourceRequest) ValidateEnumValue ¶
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
type CreateAssetSourceResponse ¶
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"`
}
CreateAssetSourceResponse wrapper for the CreateAssetSource operation
func (CreateAssetSourceResponse) HTTPResponse ¶
func (response CreateAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAssetSourceResponse) String ¶
func (response CreateAssetSourceResponse) String() string
type CreateAwsAssetSourceDetails ¶ added in v65.77.0
type CreateAwsAssetSourceDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"`
// AWS region information, from where the resources are discovered.
AwsRegion *string `mandatory:"true" json:"awsRegion"`
// The key of customer's aws account to be discovered/migrated.
AwsAccountKey *string `mandatory:"true" json:"awsAccountKey"`
// 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.oracle.com/iaas/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.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.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.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"`
// Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
IsCostInformationCollected *bool `mandatory:"false" json:"isCostInformationCollected"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
CreateAwsAssetSourceDetails AWS asset source creation request.
func (CreateAwsAssetSourceDetails) GetAssetsCompartmentId ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (CreateAwsAssetSourceDetails) GetCompartmentId ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateAwsAssetSourceDetails) GetDefinedTags ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateAwsAssetSourceDetails) GetDiscoveryScheduleId ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (CreateAwsAssetSourceDetails) GetDisplayName ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateAwsAssetSourceDetails) GetEnvironmentId ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (CreateAwsAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m CreateAwsAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (CreateAwsAssetSourceDetails) GetFreeformTags ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateAwsAssetSourceDetails) GetInventoryId ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateAwsAssetSourceDetails) GetSystemTags ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (CreateAwsAssetSourceDetails) MarshalJSON ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateAwsAssetSourceDetails) String ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) String() string
func (CreateAwsAssetSourceDetails) ValidateEnumValue ¶ added in v65.77.0
func (m CreateAwsAssetSourceDetails) 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
type CreateAwsEbsAssetDetails ¶ added in v65.77.0
type CreateAwsEbsAssetDetails 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"`
AwsEbs *AwsEbsProperties `mandatory:"true" json:"awsEbs"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateAwsEbsAssetDetails Create AWS EBS type of asset.
func (CreateAwsEbsAssetDetails) GetAssetSourceIds ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (CreateAwsEbsAssetDetails) GetCompartmentId ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateAwsEbsAssetDetails) GetDefinedTags ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateAwsEbsAssetDetails) GetDisplayName ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateAwsEbsAssetDetails) GetExternalAssetKey ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (CreateAwsEbsAssetDetails) GetFreeformTags ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateAwsEbsAssetDetails) GetInventoryId ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateAwsEbsAssetDetails) GetSourceKey ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) GetSourceKey() *string
GetSourceKey returns SourceKey
func (CreateAwsEbsAssetDetails) MarshalJSON ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateAwsEbsAssetDetails) String ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) String() string
func (CreateAwsEbsAssetDetails) ValidateEnumValue ¶ added in v65.77.0
func (m CreateAwsEbsAssetDetails) 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
type CreateAwsEc2AssetDetails ¶ added in v65.77.0
type CreateAwsEc2AssetDetails 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"`
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
AwsEc2 *AwsEc2Properties `mandatory:"true" json:"awsEc2"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
AwsEc2Cost *MonthlyCostSummary `mandatory:"false" json:"awsEc2Cost"`
AttachedEbsVolumesCost *MonthlyCostSummary `mandatory:"false" json:"attachedEbsVolumesCost"`
}
CreateAwsEc2AssetDetails Create AWS EC2 VM type of asset.
func (CreateAwsEc2AssetDetails) GetAssetSourceIds ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (CreateAwsEc2AssetDetails) GetCompartmentId ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateAwsEc2AssetDetails) GetDefinedTags ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateAwsEc2AssetDetails) GetDisplayName ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateAwsEc2AssetDetails) GetExternalAssetKey ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (CreateAwsEc2AssetDetails) GetFreeformTags ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateAwsEc2AssetDetails) GetInventoryId ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateAwsEc2AssetDetails) GetSourceKey ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) GetSourceKey() *string
GetSourceKey returns SourceKey
func (CreateAwsEc2AssetDetails) MarshalJSON ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateAwsEc2AssetDetails) String ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) String() string
func (CreateAwsEc2AssetDetails) ValidateEnumValue ¶ added in v65.77.0
func (m CreateAwsEc2AssetDetails) 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
type CreateDiscoveryScheduleDetails ¶
type CreateDiscoveryScheduleDetails struct {
// The OCID (https://docs.oracle.com/iaas/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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateDiscoveryScheduleDetails Information about discovery schedule to be created.
func (CreateDiscoveryScheduleDetails) String ¶
func (m CreateDiscoveryScheduleDetails) String() string
func (CreateDiscoveryScheduleDetails) ValidateEnumValue ¶
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
type 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
}
CreateDiscoveryScheduleRequest wrapper for the CreateDiscoverySchedule operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateDiscoverySchedule.go.html to see an example of how to use CreateDiscoveryScheduleRequest.
func (CreateDiscoveryScheduleRequest) BinaryRequestBody ¶
func (request CreateDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDiscoveryScheduleRequest) HTTPRequest ¶
func (request CreateDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDiscoveryScheduleRequest) RetryPolicy ¶
func (request CreateDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDiscoveryScheduleRequest) String ¶
func (request CreateDiscoveryScheduleRequest) String() string
func (CreateDiscoveryScheduleRequest) ValidateEnumValue ¶
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
type CreateDiscoveryScheduleResponse ¶
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"`
}
CreateDiscoveryScheduleResponse wrapper for the CreateDiscoverySchedule operation
func (CreateDiscoveryScheduleResponse) HTTPResponse ¶
func (response CreateDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDiscoveryScheduleResponse) String ¶
func (response CreateDiscoveryScheduleResponse) String() string
type CreateEnvironmentDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateEnvironmentDetails The information about the new source environment.
func (CreateEnvironmentDetails) String ¶
func (m CreateEnvironmentDetails) String() string
func (CreateEnvironmentDetails) ValidateEnumValue ¶
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
type 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
}
CreateEnvironmentRequest wrapper for the CreateEnvironment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateEnvironment.go.html to see an example of how to use CreateEnvironmentRequest.
func (CreateEnvironmentRequest) BinaryRequestBody ¶
func (request CreateEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateEnvironmentRequest) HTTPRequest ¶
func (request CreateEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateEnvironmentRequest) RetryPolicy ¶
func (request CreateEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateEnvironmentRequest) String ¶
func (request CreateEnvironmentRequest) String() string
func (CreateEnvironmentRequest) ValidateEnumValue ¶
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
type CreateEnvironmentResponse ¶
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"`
}
CreateEnvironmentResponse wrapper for the CreateEnvironment operation
func (CreateEnvironmentResponse) HTTPResponse ¶
func (response CreateEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateEnvironmentResponse) String ¶
func (response CreateEnvironmentResponse) String() string
type CreateInventoryAssetDetails ¶ added in v65.111.0
type CreateInventoryAssetDetails 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"`
// The class name of the asset.
AssetClassName *string `mandatory:"true" json:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"true" json:"assetClassVersion"`
// The details of the asset.
AssetDetails map[string]interface{} `mandatory:"true" json:"assetDetails"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
CreateInventoryAssetDetails Create a JSON formatted type of asset.
func (CreateInventoryAssetDetails) GetAssetSourceIds ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (CreateInventoryAssetDetails) GetCompartmentId ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateInventoryAssetDetails) GetDefinedTags ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateInventoryAssetDetails) GetDisplayName ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateInventoryAssetDetails) GetExternalAssetKey ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (CreateInventoryAssetDetails) GetFreeformTags ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateInventoryAssetDetails) GetInventoryId ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateInventoryAssetDetails) GetSourceKey ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) GetSourceKey() *string
GetSourceKey returns SourceKey
func (CreateInventoryAssetDetails) MarshalJSON ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateInventoryAssetDetails) String ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) String() string
func (CreateInventoryAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m CreateInventoryAssetDetails) 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
type CreateInventoryDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateInventoryDetails Description for creating inventory details.
func (CreateInventoryDetails) String ¶
func (m CreateInventoryDetails) String() string
func (CreateInventoryDetails) ValidateEnumValue ¶
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
type 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
}
CreateInventoryRequest wrapper for the CreateInventory operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateInventory.go.html to see an example of how to use CreateInventoryRequest.
func (CreateInventoryRequest) BinaryRequestBody ¶
func (request CreateInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateInventoryRequest) HTTPRequest ¶
func (request CreateInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateInventoryRequest) RetryPolicy ¶
func (request CreateInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateInventoryRequest) String ¶
func (request CreateInventoryRequest) String() string
func (CreateInventoryRequest) ValidateEnumValue ¶
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
type CreateInventoryResponse ¶
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"`
}
CreateInventoryResponse wrapper for the CreateInventory operation
func (CreateInventoryResponse) HTTPResponse ¶
func (response CreateInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateInventoryResponse) String ¶
func (response CreateInventoryResponse) String() string
type CreateOlvmAssetSourceDetails ¶ added in v65.111.0
type CreateOlvmAssetSourceDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/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 OLVM asset discovery and replication in the form of “`https://<host>:<port>“`
OlvmEndpoint *string `mandatory:"true" json:"olvmEndpoint"`
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.oracle.com/iaas/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.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.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.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"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
CreateOlvmAssetSourceDetails OLVM asset source creation request.
func (CreateOlvmAssetSourceDetails) GetAssetsCompartmentId ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (CreateOlvmAssetSourceDetails) GetCompartmentId ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateOlvmAssetSourceDetails) GetDefinedTags ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateOlvmAssetSourceDetails) GetDiscoveryScheduleId ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (CreateOlvmAssetSourceDetails) GetDisplayName ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateOlvmAssetSourceDetails) GetEnvironmentId ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (CreateOlvmAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (CreateOlvmAssetSourceDetails) GetFreeformTags ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateOlvmAssetSourceDetails) GetInventoryId ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateOlvmAssetSourceDetails) GetSystemTags ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (CreateOlvmAssetSourceDetails) MarshalJSON ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateOlvmAssetSourceDetails) String ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) String() string
func (CreateOlvmAssetSourceDetails) ValidateEnumValue ¶ added in v65.111.0
func (m CreateOlvmAssetSourceDetails) 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
type CreateVmWareAssetSourceDetails ¶
type CreateVmWareAssetSourceDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/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.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.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.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"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
CreateVmWareAssetSourceDetails VMware asset source creation request.
func (CreateVmWareAssetSourceDetails) GetAssetsCompartmentId ¶
func (m CreateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (CreateVmWareAssetSourceDetails) GetCompartmentId ¶
func (m CreateVmWareAssetSourceDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateVmWareAssetSourceDetails) GetDefinedTags ¶
func (m CreateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId ¶
func (m CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (CreateVmWareAssetSourceDetails) GetDisplayName ¶
func (m CreateVmWareAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateVmWareAssetSourceDetails) GetEnvironmentId ¶
func (m CreateVmWareAssetSourceDetails) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (CreateVmWareAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m CreateVmWareAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (CreateVmWareAssetSourceDetails) GetFreeformTags ¶
func (m CreateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateVmWareAssetSourceDetails) GetInventoryId ¶
func (m CreateVmWareAssetSourceDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateVmWareAssetSourceDetails) GetSystemTags ¶
func (m CreateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (CreateVmWareAssetSourceDetails) MarshalJSON ¶
func (m CreateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateVmWareAssetSourceDetails) String ¶
func (m CreateVmWareAssetSourceDetails) String() string
func (CreateVmWareAssetSourceDetails) ValidateEnumValue ¶
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
type CreateVmwareVmAssetDetails ¶
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"`
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
VmwareVm *VmwareVmProperties `mandatory:"true" json:"vmwareVm"`
VmwareVCenter *VmwareVCenterProperties `mandatory:"true" json:"vmwareVCenter"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
CreateVmwareVmAssetDetails Create VMware VM type of asset.
func (CreateVmwareVmAssetDetails) GetAssetSourceIds ¶
func (m CreateVmwareVmAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (CreateVmwareVmAssetDetails) GetCompartmentId ¶
func (m CreateVmwareVmAssetDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateVmwareVmAssetDetails) GetDefinedTags ¶
func (m CreateVmwareVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateVmwareVmAssetDetails) GetDisplayName ¶
func (m CreateVmwareVmAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateVmwareVmAssetDetails) GetExternalAssetKey ¶
func (m CreateVmwareVmAssetDetails) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (CreateVmwareVmAssetDetails) GetFreeformTags ¶
func (m CreateVmwareVmAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateVmwareVmAssetDetails) GetInventoryId ¶
func (m CreateVmwareVmAssetDetails) GetInventoryId() *string
GetInventoryId returns InventoryId
func (CreateVmwareVmAssetDetails) GetSourceKey ¶
func (m CreateVmwareVmAssetDetails) GetSourceKey() *string
GetSourceKey returns SourceKey
func (CreateVmwareVmAssetDetails) MarshalJSON ¶
func (m CreateVmwareVmAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateVmwareVmAssetDetails) String ¶
func (m CreateVmwareVmAssetDetails) String() string
func (CreateVmwareVmAssetDetails) ValidateEnumValue ¶
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
type CustomerTag ¶
type CustomerTag struct {
// The tag name.
Name *string `mandatory:"false" json:"name"`
// The tag description.
Description *string `mandatory:"false" json:"description"`
}
CustomerTag The customer defined tags.
func (CustomerTag) String ¶
func (m CustomerTag) String() string
func (CustomerTag) ValidateEnumValue ¶
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
type 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
}
DeleteAgentDependencyRequest wrapper for the DeleteAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAgentDependency.go.html to see an example of how to use DeleteAgentDependencyRequest.
func (DeleteAgentDependencyRequest) BinaryRequestBody ¶
func (request DeleteAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteAgentDependencyRequest) HTTPRequest ¶
func (request DeleteAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAgentDependencyRequest) RetryPolicy ¶
func (request DeleteAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAgentDependencyRequest) String ¶
func (request DeleteAgentDependencyRequest) String() string
func (DeleteAgentDependencyRequest) ValidateEnumValue ¶
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
type DeleteAgentDependencyResponse ¶
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"`
}
DeleteAgentDependencyResponse wrapper for the DeleteAgentDependency operation
func (DeleteAgentDependencyResponse) HTTPResponse ¶
func (response DeleteAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAgentDependencyResponse) String ¶
func (response DeleteAgentDependencyResponse) String() string
type 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
}
DeleteAgentRequest wrapper for the DeleteAgent operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAgent.go.html to see an example of how to use DeleteAgentRequest.
func (DeleteAgentRequest) BinaryRequestBody ¶
func (request DeleteAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteAgentRequest) HTTPRequest ¶
func (request DeleteAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAgentRequest) RetryPolicy ¶
func (request DeleteAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAgentRequest) String ¶
func (request DeleteAgentRequest) String() string
func (DeleteAgentRequest) ValidateEnumValue ¶
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
type DeleteAgentResponse ¶
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"`
}
DeleteAgentResponse wrapper for the DeleteAgent operation
func (DeleteAgentResponse) HTTPResponse ¶
func (response DeleteAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAgentResponse) String ¶
func (response DeleteAgentResponse) String() string
type 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
}
DeleteAssetRequest wrapper for the DeleteAsset operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAsset.go.html to see an example of how to use DeleteAssetRequest.
func (DeleteAssetRequest) BinaryRequestBody ¶
func (request DeleteAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteAssetRequest) HTTPRequest ¶
func (request DeleteAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAssetRequest) RetryPolicy ¶
func (request DeleteAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAssetRequest) String ¶
func (request DeleteAssetRequest) String() string
func (DeleteAssetRequest) ValidateEnumValue ¶
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
type DeleteAssetResponse ¶
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"`
}
DeleteAssetResponse wrapper for the DeleteAsset operation
func (DeleteAssetResponse) HTTPResponse ¶
func (response DeleteAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAssetResponse) String ¶
func (response DeleteAssetResponse) String() string
type DeleteAssetSourceRequest ¶
type DeleteAssetSourceRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
DeleteAssetSourceRequest wrapper for the DeleteAssetSource operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAssetSource.go.html to see an example of how to use DeleteAssetSourceRequest.
func (DeleteAssetSourceRequest) BinaryRequestBody ¶
func (request DeleteAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteAssetSourceRequest) HTTPRequest ¶
func (request DeleteAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAssetSourceRequest) RetryPolicy ¶
func (request DeleteAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAssetSourceRequest) String ¶
func (request DeleteAssetSourceRequest) String() string
func (DeleteAssetSourceRequest) ValidateEnumValue ¶
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
type DeleteAssetSourceResponse ¶
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"`
}
DeleteAssetSourceResponse wrapper for the DeleteAssetSource operation
func (DeleteAssetSourceResponse) HTTPResponse ¶
func (response DeleteAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAssetSourceResponse) String ¶
func (response DeleteAssetSourceResponse) String() string
type DeleteDiscoveryScheduleRequest ¶
type DeleteDiscoveryScheduleRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
DeleteDiscoveryScheduleRequest wrapper for the DeleteDiscoverySchedule operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteDiscoverySchedule.go.html to see an example of how to use DeleteDiscoveryScheduleRequest.
func (DeleteDiscoveryScheduleRequest) BinaryRequestBody ¶
func (request DeleteDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDiscoveryScheduleRequest) HTTPRequest ¶
func (request DeleteDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDiscoveryScheduleRequest) RetryPolicy ¶
func (request DeleteDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDiscoveryScheduleRequest) String ¶
func (request DeleteDiscoveryScheduleRequest) String() string
func (DeleteDiscoveryScheduleRequest) ValidateEnumValue ¶
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
type DeleteDiscoveryScheduleResponse ¶
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"`
}
DeleteDiscoveryScheduleResponse wrapper for the DeleteDiscoverySchedule operation
func (DeleteDiscoveryScheduleResponse) HTTPResponse ¶
func (response DeleteDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDiscoveryScheduleResponse) String ¶
func (response DeleteDiscoveryScheduleResponse) String() string
type 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
}
DeleteEnvironmentRequest wrapper for the DeleteEnvironment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteEnvironment.go.html to see an example of how to use DeleteEnvironmentRequest.
func (DeleteEnvironmentRequest) BinaryRequestBody ¶
func (request DeleteEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteEnvironmentRequest) HTTPRequest ¶
func (request DeleteEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteEnvironmentRequest) RetryPolicy ¶
func (request DeleteEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteEnvironmentRequest) String ¶
func (request DeleteEnvironmentRequest) String() string
func (DeleteEnvironmentRequest) ValidateEnumValue ¶
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
type DeleteEnvironmentResponse ¶
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"`
}
DeleteEnvironmentResponse wrapper for the DeleteEnvironment operation
func (DeleteEnvironmentResponse) HTTPResponse ¶
func (response DeleteEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteEnvironmentResponse) String ¶
func (response DeleteEnvironmentResponse) String() string
type 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
}
DeleteInventoryRequest wrapper for the DeleteInventory operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteInventory.go.html to see an example of how to use DeleteInventoryRequest.
func (DeleteInventoryRequest) BinaryRequestBody ¶
func (request DeleteInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteInventoryRequest) HTTPRequest ¶
func (request DeleteInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteInventoryRequest) RetryPolicy ¶
func (request DeleteInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteInventoryRequest) String ¶
func (request DeleteInventoryRequest) String() string
func (DeleteInventoryRequest) ValidateEnumValue ¶
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
type DeleteInventoryResponse ¶
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"`
}
DeleteInventoryResponse wrapper for the DeleteInventory operation
func (DeleteInventoryResponse) HTTPResponse ¶
func (response DeleteInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteInventoryResponse) String ¶
func (response DeleteInventoryResponse) String() string
type DiscoveryClient ¶
type DiscoveryClient struct {
common.BaseClient
// contains filtered or unexported fields
}
DiscoveryClient a client for Discovery
func NewDiscoveryClientWithConfigurationProvider ¶
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 ¶
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 (DiscoveryClient) ChangeAssetSourceCompartment ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetSourceCompartment.go.html to see an example of how to use ChangeAssetSourceCompartment API. A default retry strategy applies to this operation ChangeAssetSourceCompartment()
func (DiscoveryClient) ChangeDiscoveryScheduleCompartment ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeDiscoveryScheduleCompartment.go.html to see an example of how to use ChangeDiscoveryScheduleCompartment API. A default retry strategy applies to this operation ChangeDiscoveryScheduleCompartment()
func (*DiscoveryClient) ConfigurationProvider ¶
func (client *DiscoveryClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DiscoveryClient) CreateAssetSource ¶
func (client DiscoveryClient) CreateAssetSource(ctx context.Context, request CreateAssetSourceRequest) (response CreateAssetSourceResponse, err error)
CreateAssetSource Creates an asset source.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAssetSource.go.html to see an example of how to use CreateAssetSource API. A default retry strategy applies to this operation CreateAssetSource()
func (DiscoveryClient) CreateDiscoverySchedule ¶
func (client DiscoveryClient) CreateDiscoverySchedule(ctx context.Context, request CreateDiscoveryScheduleRequest) (response CreateDiscoveryScheduleResponse, err error)
CreateDiscoverySchedule Creates the discovery schedule.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateDiscoverySchedule.go.html to see an example of how to use CreateDiscoverySchedule API. A default retry strategy applies to this operation CreateDiscoverySchedule()
func (DiscoveryClient) DeleteAssetSource ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAssetSource.go.html to see an example of how to use DeleteAssetSource API. A default retry strategy applies to this operation DeleteAssetSource()
func (DiscoveryClient) DeleteDiscoverySchedule ¶
func (client DiscoveryClient) DeleteDiscoverySchedule(ctx context.Context, request DeleteDiscoveryScheduleRequest) (response DeleteDiscoveryScheduleResponse, err error)
DeleteDiscoverySchedule Deletes the specified discovery schedule.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteDiscoverySchedule.go.html to see an example of how to use DeleteDiscoverySchedule API. A default retry strategy applies to this operation DeleteDiscoverySchedule()
func (DiscoveryClient) GetAssetSource ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAssetSource.go.html to see an example of how to use GetAssetSource API. A default retry strategy applies to this operation GetAssetSource()
func (DiscoveryClient) GetDiscoverySchedule ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetDiscoverySchedule.go.html to see an example of how to use GetDiscoverySchedule API. A default retry strategy applies to this operation GetDiscoverySchedule()
func (DiscoveryClient) ListAssetSourceConnections ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssetSourceConnections.go.html to see an example of how to use ListAssetSourceConnections API. A default retry strategy applies to this operation ListAssetSourceConnections()
func (DiscoveryClient) ListAssetSources ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssetSources.go.html to see an example of how to use ListAssetSources API. A default retry strategy applies to this operation ListAssetSources()
func (DiscoveryClient) ListDiscoverySchedules ¶
func (client DiscoveryClient) ListDiscoverySchedules(ctx context.Context, request ListDiscoverySchedulesRequest) (response ListDiscoverySchedulesResponse, err error)
ListDiscoverySchedules Lists discovery schedules.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListDiscoverySchedules.go.html to see an example of how to use ListDiscoverySchedules API. A default retry strategy applies to this operation ListDiscoverySchedules()
func (DiscoveryClient) ListSupportedCloudRegions ¶ added in v65.77.0
func (client DiscoveryClient) ListSupportedCloudRegions(ctx context.Context, request ListSupportedCloudRegionsRequest) (response ListSupportedCloudRegionsResponse, err error)
ListSupportedCloudRegions Returns a list of supported cloud regions related to AssetSourceTypeParam.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListSupportedCloudRegions.go.html to see an example of how to use ListSupportedCloudRegions API. A default retry strategy applies to this operation ListSupportedCloudRegions()
func (DiscoveryClient) RefreshAssetSource ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/RefreshAssetSource.go.html to see an example of how to use RefreshAssetSource API. A default retry strategy applies to this operation RefreshAssetSource()
func (*DiscoveryClient) SetRegion ¶
func (client *DiscoveryClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DiscoveryClient) UpdateAssetSource ¶
func (client DiscoveryClient) UpdateAssetSource(ctx context.Context, request UpdateAssetSourceRequest) (response UpdateAssetSourceResponse, err error)
UpdateAssetSource Updates the asset source.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAssetSource.go.html to see an example of how to use UpdateAssetSource API. A default retry strategy applies to this operation UpdateAssetSource()
func (DiscoveryClient) UpdateDiscoverySchedule ¶
func (client DiscoveryClient) UpdateDiscoverySchedule(ctx context.Context, request UpdateDiscoveryScheduleRequest) (response UpdateDiscoveryScheduleResponse, err error)
UpdateDiscoverySchedule Updates the specified discovery schedule.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateDiscoverySchedule.go.html to see an example of how to use UpdateDiscoverySchedule API. A default retry strategy applies to this operation UpdateDiscoverySchedule()
type DiscoverySchedule ¶
type DiscoverySchedule struct {
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/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.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.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.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"`
}
DiscoverySchedule Discovery schedule.
func (DiscoverySchedule) String ¶
func (m DiscoverySchedule) String() string
func (DiscoverySchedule) ValidateEnumValue ¶
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
type DiscoveryScheduleCollection ¶
type DiscoveryScheduleCollection struct {
// Discovery schedule summaries.
Items []DiscoveryScheduleSummary `mandatory:"true" json:"items"`
}
DiscoveryScheduleCollection Results of a discovery schedule search. Contains discovery schedule summaries.
func (DiscoveryScheduleCollection) String ¶
func (m DiscoveryScheduleCollection) String() string
func (DiscoveryScheduleCollection) ValidateEnumValue ¶
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
type DiscoveryScheduleLifecycleStateEnum ¶
type DiscoveryScheduleLifecycleStateEnum string
DiscoveryScheduleLifecycleStateEnum Enum with underlying type: string
const ( DiscoveryScheduleLifecycleStateActive DiscoveryScheduleLifecycleStateEnum = "ACTIVE" DiscoveryScheduleLifecycleStateDeleted DiscoveryScheduleLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for DiscoveryScheduleLifecycleStateEnum
func GetDiscoveryScheduleLifecycleStateEnumValues ¶
func GetDiscoveryScheduleLifecycleStateEnumValues() []DiscoveryScheduleLifecycleStateEnum
GetDiscoveryScheduleLifecycleStateEnumValues Enumerates the set of values for DiscoveryScheduleLifecycleStateEnum
func GetMappingDiscoveryScheduleLifecycleStateEnum ¶
func GetMappingDiscoveryScheduleLifecycleStateEnum(val string) (DiscoveryScheduleLifecycleStateEnum, bool)
GetMappingDiscoveryScheduleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryScheduleSummary ¶
type DiscoveryScheduleSummary struct {
// The OCID (https://docs.oracle.com/iaas/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.oracle.com/iaas/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.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.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.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"`
}
DiscoveryScheduleSummary Summarized information about a discovery schedule.
func (DiscoveryScheduleSummary) String ¶
func (m DiscoveryScheduleSummary) String() string
func (DiscoveryScheduleSummary) ValidateEnumValue ¶
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
type 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"`
// Indicates that CBT (change disk tracking) is enabled for this virtual disk.
IsCbtEnabled *bool `mandatory:"false" json:"isCbtEnabled"`
}
Disk The assets disk.
func (Disk) ValidateEnumValue ¶
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
type 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.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.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.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"`
}
Environment Description of the source environment.
func (Environment) String ¶
func (m Environment) String() string
func (Environment) ValidateEnumValue ¶
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
type EnvironmentCollection ¶
type EnvironmentCollection struct {
// List of all source environments.
Items []EnvironmentSummary `mandatory:"true" json:"items"`
}
EnvironmentCollection Results of an environment search. Contains both EnvironmentSummary items and other information, such as metadata.
func (EnvironmentCollection) String ¶
func (m EnvironmentCollection) String() string
func (EnvironmentCollection) ValidateEnumValue ¶
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
type EnvironmentLifecycleStateEnum ¶
type EnvironmentLifecycleStateEnum string
EnvironmentLifecycleStateEnum Enum with underlying type: string
const ( EnvironmentLifecycleStateCreating EnvironmentLifecycleStateEnum = "CREATING" EnvironmentLifecycleStateUpdating EnvironmentLifecycleStateEnum = "UPDATING" EnvironmentLifecycleStateActive EnvironmentLifecycleStateEnum = "ACTIVE" EnvironmentLifecycleStateDeleting EnvironmentLifecycleStateEnum = "DELETING" EnvironmentLifecycleStateDeleted EnvironmentLifecycleStateEnum = "DELETED" EnvironmentLifecycleStateFailed EnvironmentLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for EnvironmentLifecycleStateEnum
func GetEnvironmentLifecycleStateEnumValues ¶
func GetEnvironmentLifecycleStateEnumValues() []EnvironmentLifecycleStateEnum
GetEnvironmentLifecycleStateEnumValues Enumerates the set of values for EnvironmentLifecycleStateEnum
func GetMappingEnvironmentLifecycleStateEnum ¶
func GetMappingEnvironmentLifecycleStateEnum(val string) (EnvironmentLifecycleStateEnum, bool)
GetMappingEnvironmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type EnvironmentSummary ¶
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.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.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.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"`
}
EnvironmentSummary Summary of a source environment.
func (EnvironmentSummary) String ¶
func (m EnvironmentSummary) String() string
func (EnvironmentSummary) ValidateEnumValue ¶
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
type EnvironmentTypeEnum ¶ added in v65.111.0
type EnvironmentTypeEnum string
EnvironmentTypeEnum Enum with underlying type: string
const ( EnvironmentTypeSource EnvironmentTypeEnum = "SOURCE" EnvironmentTypeDestination EnvironmentTypeEnum = "DESTINATION" )
Set of constants representing the allowable values for EnvironmentTypeEnum
func GetEnvironmentTypeEnumValues ¶ added in v65.111.0
func GetEnvironmentTypeEnumValues() []EnvironmentTypeEnum
GetEnvironmentTypeEnumValues Enumerates the set of values for EnvironmentTypeEnum
func GetMappingEnvironmentTypeEnum ¶ added in v65.111.0
func GetMappingEnvironmentTypeEnum(val string) (EnvironmentTypeEnum, bool)
GetMappingEnvironmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
GetAgentDependencyRequest wrapper for the GetAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAgentDependency.go.html to see an example of how to use GetAgentDependencyRequest.
func (GetAgentDependencyRequest) BinaryRequestBody ¶
func (request GetAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAgentDependencyRequest) HTTPRequest ¶
func (request GetAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAgentDependencyRequest) RetryPolicy ¶
func (request GetAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAgentDependencyRequest) String ¶
func (request GetAgentDependencyRequest) String() string
func (GetAgentDependencyRequest) ValidateEnumValue ¶
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
type GetAgentDependencyResponse ¶
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"`
}
GetAgentDependencyResponse wrapper for the GetAgentDependency operation
func (GetAgentDependencyResponse) HTTPResponse ¶
func (response GetAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAgentDependencyResponse) String ¶
func (response GetAgentDependencyResponse) String() string
type 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
}
GetAgentRequest wrapper for the GetAgent operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAgent.go.html to see an example of how to use GetAgentRequest.
func (GetAgentRequest) BinaryRequestBody ¶
func (request GetAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAgentRequest) HTTPRequest ¶
func (request GetAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAgentRequest) RetryPolicy ¶
func (request GetAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAgentRequest) String ¶
func (request GetAgentRequest) String() string
func (GetAgentRequest) ValidateEnumValue ¶
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
type GetAgentResponse ¶
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"`
}
GetAgentResponse wrapper for the GetAgent operation
func (GetAgentResponse) HTTPResponse ¶
func (response GetAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAgentResponse) String ¶
func (response GetAgentResponse) String() string
type 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
}
GetAssetRequest wrapper for the GetAsset operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAsset.go.html to see an example of how to use GetAssetRequest.
func (GetAssetRequest) BinaryRequestBody ¶
func (request GetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAssetRequest) HTTPRequest ¶
func (request GetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAssetRequest) RetryPolicy ¶
func (request GetAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAssetRequest) String ¶
func (request GetAssetRequest) String() string
func (GetAssetRequest) ValidateEnumValue ¶
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
type GetAssetResponse ¶
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"`
}
GetAssetResponse wrapper for the GetAsset operation
func (GetAssetResponse) HTTPResponse ¶
func (response GetAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAssetResponse) String ¶
func (response GetAssetResponse) String() string
type GetAssetSourceRequest ¶
type GetAssetSourceRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
GetAssetSourceRequest wrapper for the GetAssetSource operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAssetSource.go.html to see an example of how to use GetAssetSourceRequest.
func (GetAssetSourceRequest) BinaryRequestBody ¶
func (request GetAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetAssetSourceRequest) HTTPRequest ¶
func (request GetAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAssetSourceRequest) RetryPolicy ¶
func (request GetAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAssetSourceRequest) String ¶
func (request GetAssetSourceRequest) String() string
func (GetAssetSourceRequest) ValidateEnumValue ¶
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
type GetAssetSourceResponse ¶
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"`
}
GetAssetSourceResponse wrapper for the GetAssetSource operation
func (GetAssetSourceResponse) HTTPResponse ¶
func (response GetAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAssetSourceResponse) String ¶
func (response GetAssetSourceResponse) String() string
type GetDiscoveryScheduleRequest ¶
type GetDiscoveryScheduleRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
GetDiscoveryScheduleRequest wrapper for the GetDiscoverySchedule operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetDiscoverySchedule.go.html to see an example of how to use GetDiscoveryScheduleRequest.
func (GetDiscoveryScheduleRequest) BinaryRequestBody ¶
func (request GetDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDiscoveryScheduleRequest) HTTPRequest ¶
func (request GetDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDiscoveryScheduleRequest) RetryPolicy ¶
func (request GetDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDiscoveryScheduleRequest) String ¶
func (request GetDiscoveryScheduleRequest) String() string
func (GetDiscoveryScheduleRequest) ValidateEnumValue ¶
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
type GetDiscoveryScheduleResponse ¶
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"`
}
GetDiscoveryScheduleResponse wrapper for the GetDiscoverySchedule operation
func (GetDiscoveryScheduleResponse) HTTPResponse ¶
func (response GetDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDiscoveryScheduleResponse) String ¶
func (response GetDiscoveryScheduleResponse) String() string
type 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
}
GetEnvironmentRequest wrapper for the GetEnvironment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetEnvironment.go.html to see an example of how to use GetEnvironmentRequest.
func (GetEnvironmentRequest) BinaryRequestBody ¶
func (request GetEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetEnvironmentRequest) HTTPRequest ¶
func (request GetEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetEnvironmentRequest) RetryPolicy ¶
func (request GetEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetEnvironmentRequest) String ¶
func (request GetEnvironmentRequest) String() string
func (GetEnvironmentRequest) ValidateEnumValue ¶
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
type GetEnvironmentResponse ¶
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"`
}
GetEnvironmentResponse wrapper for the GetEnvironment operation
func (GetEnvironmentResponse) HTTPResponse ¶
func (response GetEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetEnvironmentResponse) String ¶
func (response GetEnvironmentResponse) String() string
type 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
}
GetInventoryRequest wrapper for the GetInventory operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetInventory.go.html to see an example of how to use GetInventoryRequest.
func (GetInventoryRequest) BinaryRequestBody ¶
func (request GetInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetInventoryRequest) HTTPRequest ¶
func (request GetInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetInventoryRequest) RetryPolicy ¶
func (request GetInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetInventoryRequest) String ¶
func (request GetInventoryRequest) String() string
func (GetInventoryRequest) ValidateEnumValue ¶
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
type GetInventoryResponse ¶
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"`
}
GetInventoryResponse wrapper for the GetInventory operation
func (GetInventoryResponse) HTTPResponse ¶
func (response GetInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetInventoryResponse) String ¶
func (response GetInventoryResponse) String() string
type 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
}
GetPluginRequest wrapper for the GetPlugin operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetPlugin.go.html to see an example of how to use GetPluginRequest.
func (GetPluginRequest) BinaryRequestBody ¶
func (request GetPluginRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetPluginRequest) HTTPRequest ¶
func (request GetPluginRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetPluginRequest) RetryPolicy ¶
func (request GetPluginRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetPluginRequest) String ¶
func (request GetPluginRequest) String() string
func (GetPluginRequest) ValidateEnumValue ¶
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
type GetPluginResponse ¶
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"`
}
GetPluginResponse wrapper for the GetPlugin operation
func (GetPluginResponse) HTTPResponse ¶
func (response GetPluginResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetPluginResponse) String ¶
func (response GetPluginResponse) String() string
type 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
}
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
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
type GetWorkRequestResponse ¶
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"`
}
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type GpuDevice ¶
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"`
}
GpuDevice GPU device details.
func (GpuDevice) ValidateEnumValue ¶
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
type GroupIdentifier ¶ added in v65.77.0
type GroupIdentifier struct {
// The ID of the security group.
GroupKey *string `mandatory:"false" json:"groupKey"`
// The name of the security group.
GroupName *string `mandatory:"false" json:"groupName"`
}
GroupIdentifier Describes a security group.
func (GroupIdentifier) String ¶ added in v65.77.0
func (m GroupIdentifier) String() string
func (GroupIdentifier) ValidateEnumValue ¶ added in v65.77.0
func (m GroupIdentifier) 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
type HistoricalMetric ¶
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"`
}
HistoricalMetric Metric details.
func (HistoricalMetric) String ¶
func (m HistoricalMetric) String() string
func (HistoricalMetric) ValidateEnumValue ¶
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
type HistoricalMetricCollection ¶
type HistoricalMetricCollection struct {
// List of asset historical metrics.
Items []HistoricalMetricSummary `mandatory:"true" json:"items"`
}
HistoricalMetricCollection List of historical metric.
func (HistoricalMetricCollection) String ¶
func (m HistoricalMetricCollection) String() string
func (HistoricalMetricCollection) ValidateEnumValue ¶
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
type HistoricalMetricSummary ¶
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"`
}
HistoricalMetricSummary Metric details.
func (HistoricalMetricSummary) String ¶
func (m HistoricalMetricSummary) String() string
func (HistoricalMetricSummary) ValidateEnumValue ¶
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
type ImportInventoryDetails ¶
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
GetDefinedTags() map[string]map[string]interface{}
}
ImportInventoryDetails Details for importing assets from a file.
type ImportInventoryDetailsResourceTypeEnum ¶
type ImportInventoryDetailsResourceTypeEnum string
ImportInventoryDetailsResourceTypeEnum Enum with underlying type: string
const (
ImportInventoryDetailsResourceTypeAsset ImportInventoryDetailsResourceTypeEnum = "ASSET"
)
Set of constants representing the allowable values for ImportInventoryDetailsResourceTypeEnum
func GetImportInventoryDetailsResourceTypeEnumValues ¶
func GetImportInventoryDetailsResourceTypeEnumValues() []ImportInventoryDetailsResourceTypeEnum
GetImportInventoryDetailsResourceTypeEnumValues Enumerates the set of values for ImportInventoryDetailsResourceTypeEnum
func GetMappingImportInventoryDetailsResourceTypeEnum ¶
func GetMappingImportInventoryDetailsResourceTypeEnum(val string) (ImportInventoryDetailsResourceTypeEnum, bool)
GetMappingImportInventoryDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
ImportInventoryRequest wrapper for the ImportInventory operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ImportInventory.go.html to see an example of how to use ImportInventoryRequest.
func (ImportInventoryRequest) BinaryRequestBody ¶
func (request ImportInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ImportInventoryRequest) HTTPRequest ¶
func (request ImportInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ImportInventoryRequest) RetryPolicy ¶
func (request ImportInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ImportInventoryRequest) String ¶
func (request ImportInventoryRequest) String() string
func (ImportInventoryRequest) ValidateEnumValue ¶
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
type ImportInventoryResponse ¶
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"`
}
ImportInventoryResponse wrapper for the ImportInventory operation
func (ImportInventoryResponse) HTTPResponse ¶
func (response ImportInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ImportInventoryResponse) String ¶
func (response ImportInventoryResponse) String() string
type ImportInventoryViaAssetsDetails ¶
type ImportInventoryViaAssetsDetails struct {
// The OCID of the compartmentId that resources import.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The file body to be sent in the request.
Data []byte `mandatory:"true" json:"data"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The type of asset.
AssetType AssetTypeEnum `mandatory:"true" json:"assetType"`
}
ImportInventoryViaAssetsDetails Details for importing assets from a file.
func (ImportInventoryViaAssetsDetails) GetCompartmentId ¶
func (m ImportInventoryViaAssetsDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (ImportInventoryViaAssetsDetails) GetDefinedTags ¶
func (m ImportInventoryViaAssetsDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (ImportInventoryViaAssetsDetails) GetFreeformTags ¶
func (m ImportInventoryViaAssetsDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (ImportInventoryViaAssetsDetails) MarshalJSON ¶
func (m ImportInventoryViaAssetsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ImportInventoryViaAssetsDetails) String ¶
func (m ImportInventoryViaAssetsDetails) String() string
func (ImportInventoryViaAssetsDetails) ValidateEnumValue ¶
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
type InstanceNetworkInterface ¶ added in v65.77.0
type InstanceNetworkInterface struct {
Association *InstanceNetworkInterfaceAssociation `mandatory:"false" json:"association"`
Attachment *InstanceNetworkInterfaceAttachment `mandatory:"false" json:"attachment"`
// The description.
Description *string `mandatory:"false" json:"description"`
// The security groups.
SecurityGroups []GroupIdentifier `mandatory:"false" json:"securityGroups"`
// The type of network interface.
InterfaceType *string `mandatory:"false" json:"interfaceType"`
// The IPv4 delegated prefixes that are assigned to the network interface.
Ipv4Prefixes []string `mandatory:"false" json:"ipv4Prefixes"`
// The IPv6 addresses associated with the network interface.
Ipv6Addresses []string `mandatory:"false" json:"ipv6Addresses"`
// The IPv6 delegated prefixes that are assigned to the network interface.
Ipv6Prefixes []string `mandatory:"false" json:"ipv6Prefixes"`
// The MAC address.
MacAddress *string `mandatory:"false" json:"macAddress"`
// The ID of the network interface.
NetworkInterfaceKey *string `mandatory:"false" json:"networkInterfaceKey"`
// The ID of the AWS account that created the network interface.
OwnerKey *string `mandatory:"false" json:"ownerKey"`
// The private IPv4 addresses associated with the network interface.
PrivateIpAddresses []InstancePrivateIpAddress `mandatory:"false" json:"privateIpAddresses"`
// Indicates whether source/destination checking is enabled.
IsSourceDestCheck *bool `mandatory:"false" json:"isSourceDestCheck"`
// The status of the network interface.
Status *string `mandatory:"false" json:"status"`
// The ID of the subnet.
SubnetKey *string `mandatory:"false" json:"subnetKey"`
}
InstanceNetworkInterface Describes a network interface.
func (InstanceNetworkInterface) String ¶ added in v65.77.0
func (m InstanceNetworkInterface) String() string
func (InstanceNetworkInterface) ValidateEnumValue ¶ added in v65.77.0
func (m InstanceNetworkInterface) 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
type InstanceNetworkInterfaceAssociation ¶ added in v65.77.0
type InstanceNetworkInterfaceAssociation struct {
// The carrier IP address associated with the network interface.
CarrierIp *string `mandatory:"false" json:"carrierIp"`
// The customer-owned IP address associated with the network interface.
CustomerOwnedIp *string `mandatory:"false" json:"customerOwnedIp"`
// The ID of the owner of the Elastic IP address.
IpOwnerKey *string `mandatory:"false" json:"ipOwnerKey"`
// The public DNS name.
PublicDnsName *string `mandatory:"false" json:"publicDnsName"`
// The public IP address or Elastic IP address bound to the network interface.
PublicIp *string `mandatory:"false" json:"publicIp"`
}
InstanceNetworkInterfaceAssociation Describes association information for an Elastic IP address (IPv4).
func (InstanceNetworkInterfaceAssociation) String ¶ added in v65.77.0
func (m InstanceNetworkInterfaceAssociation) String() string
func (InstanceNetworkInterfaceAssociation) ValidateEnumValue ¶ added in v65.77.0
func (m InstanceNetworkInterfaceAssociation) 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
type InstanceNetworkInterfaceAttachment ¶ added in v65.77.0
type InstanceNetworkInterfaceAttachment struct {
// The ID of the network interface attachment.
AttachmentKey *string `mandatory:"false" json:"attachmentKey"`
// The timestamp when the attachment initiated.
TimeAttach *common.SDKTime `mandatory:"false" json:"timeAttach"`
// Indicates whether the network interface is deleted when the instance is terminated.
IsDeleteOnTermination *bool `mandatory:"false" json:"isDeleteOnTermination"`
// The index of the device on the instance for the network interface attachment.
DeviceIndex *int `mandatory:"false" json:"deviceIndex"`
// The index of the network card.
NetworkCardIndex *int `mandatory:"false" json:"networkCardIndex"`
// The attachment state.
Status *string `mandatory:"false" json:"status"`
}
InstanceNetworkInterfaceAttachment Describes a network interface attachment.
func (InstanceNetworkInterfaceAttachment) String ¶ added in v65.77.0
func (m InstanceNetworkInterfaceAttachment) String() string
func (InstanceNetworkInterfaceAttachment) ValidateEnumValue ¶ added in v65.77.0
func (m InstanceNetworkInterfaceAttachment) 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
type InstancePrivateIpAddress ¶ added in v65.77.0
type InstancePrivateIpAddress struct {
Association *InstanceNetworkInterfaceAssociation `mandatory:"false" json:"association"`
// Indicates whether this IPv4 address is the primary private IP address of the network interface.
IsPrimary *bool `mandatory:"false" json:"isPrimary"`
// The private IPv4 DNS name.
PrivateDnsName *string `mandatory:"false" json:"privateDnsName"`
// The private IPv4 address of the network interface.
PrivateIpAddress *string `mandatory:"false" json:"privateIpAddress"`
}
InstancePrivateIpAddress Describes a private IPv4 address.
func (InstancePrivateIpAddress) String ¶ added in v65.77.0
func (m InstancePrivateIpAddress) String() string
func (InstancePrivateIpAddress) ValidateEnumValue ¶ added in v65.77.0
func (m InstancePrivateIpAddress) 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
type InstanceState ¶ added in v65.77.0
type InstanceState struct {
// The state of the instance as a 16-bit unsigned integer.
Code *int `mandatory:"false" json:"code"`
// The current state of the instance.
Name *string `mandatory:"false" json:"name"`
}
InstanceState Describes the current state of an instance.
func (InstanceState) String ¶ added in v65.77.0
func (m InstanceState) String() string
func (InstanceState) ValidateEnumValue ¶ added in v65.77.0
func (m InstanceState) 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
type 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.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.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.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"`
}
Inventory Description of inventory.
func (Inventory) ValidateEnumValue ¶
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
type InventoryAsset ¶ added in v65.111.0
type InventoryAsset struct {
// Inventory ID to which an 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 to which an asset belongs to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The source key that the asset belongs to.
SourceKey *string `mandatory:"true" json:"sourceKey"`
// The key of the asset from the external environment.
ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
// 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 class name of the asset.
AssetClassName *string `mandatory:"true" json:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"true" json:"assetClassVersion"`
// The details of the asset.
AssetDetails map[string]interface{} `mandatory:"true" json:"assetDetails"`
// 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.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.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.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"`
// The current state of the asset.
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
InventoryAsset A JSON formatted type of asset.
func (InventoryAsset) GetAssetSourceIds ¶ added in v65.111.0
func (m InventoryAsset) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (InventoryAsset) GetCompartmentId ¶ added in v65.111.0
func (m InventoryAsset) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (InventoryAsset) GetDefinedTags ¶ added in v65.111.0
func (m InventoryAsset) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (InventoryAsset) GetDisplayName ¶ added in v65.111.0
func (m InventoryAsset) GetDisplayName() *string
GetDisplayName returns DisplayName
func (InventoryAsset) GetEnvironmentType ¶ added in v65.111.0
func (m InventoryAsset) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (InventoryAsset) GetExternalAssetKey ¶ added in v65.111.0
func (m InventoryAsset) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (InventoryAsset) GetFreeformTags ¶ added in v65.111.0
func (m InventoryAsset) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (InventoryAsset) GetId ¶ added in v65.111.0
func (m InventoryAsset) GetId() *string
GetId returns Id
func (InventoryAsset) GetInventoryId ¶ added in v65.111.0
func (m InventoryAsset) GetInventoryId() *string
GetInventoryId returns InventoryId
func (InventoryAsset) GetLifecycleState ¶ added in v65.111.0
func (m InventoryAsset) GetLifecycleState() AssetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (InventoryAsset) GetSourceKey ¶ added in v65.111.0
func (m InventoryAsset) GetSourceKey() *string
GetSourceKey returns SourceKey
func (InventoryAsset) GetSystemTags ¶ added in v65.111.0
func (m InventoryAsset) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (InventoryAsset) GetTimeCreated ¶ added in v65.111.0
func (m InventoryAsset) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (InventoryAsset) GetTimeUpdated ¶ added in v65.111.0
func (m InventoryAsset) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (InventoryAsset) MarshalJSON ¶ added in v65.111.0
func (m InventoryAsset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (InventoryAsset) String ¶ added in v65.111.0
func (m InventoryAsset) String() string
func (InventoryAsset) ValidateEnumValue ¶ added in v65.111.0
func (m InventoryAsset) 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
type InventoryClient ¶
type InventoryClient struct {
common.BaseClient
// contains filtered or unexported fields
}
InventoryClient a client for Inventory
func NewInventoryClientWithConfigurationProvider ¶
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 ¶
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 (InventoryClient) AnalyzeAssets ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/AnalyzeAssets.go.html to see an example of how to use AnalyzeAssets API. A default retry strategy applies to this operation AnalyzeAssets()
func (InventoryClient) ChangeAssetCompartment ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetCompartment.go.html to see an example of how to use ChangeAssetCompartment API. A default retry strategy applies to this operation ChangeAssetCompartment()
func (InventoryClient) ChangeAssetTags ¶
func (client InventoryClient) ChangeAssetTags(ctx context.Context, request ChangeAssetTagsRequest) (response ChangeAssetTagsResponse, err error)
ChangeAssetTags Change an asset's tag.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAssetTags.go.html to see an example of how to use ChangeAssetTags API. A default retry strategy applies to this operation ChangeAssetTags()
func (*InventoryClient) ConfigurationProvider ¶
func (client *InventoryClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (InventoryClient) CreateAsset ¶
func (client InventoryClient) CreateAsset(ctx context.Context, request CreateAssetRequest) (response CreateAssetResponse, err error)
CreateAsset Creates an asset.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAsset.go.html to see an example of how to use CreateAsset API. A default retry strategy applies to this operation CreateAsset()
func (InventoryClient) CreateInventory ¶
func (client InventoryClient) CreateInventory(ctx context.Context, request CreateInventoryRequest) (response CreateInventoryResponse, err error)
CreateInventory Creates an inventory.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateInventory.go.html to see an example of how to use CreateInventory API. A default retry strategy applies to this operation CreateInventory()
func (InventoryClient) DeleteAsset ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAsset.go.html to see an example of how to use DeleteAsset API. A default retry strategy applies to this operation DeleteAsset()
func (InventoryClient) DeleteInventory ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteInventory.go.html to see an example of how to use DeleteInventory API. A default retry strategy applies to this operation DeleteInventory()
func (InventoryClient) GetAsset ¶
func (client InventoryClient) GetAsset(ctx context.Context, request GetAssetRequest) (response GetAssetResponse, err error)
GetAsset Gets an asset by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAsset.go.html to see an example of how to use GetAsset API. A default retry strategy applies to this operation GetAsset()
func (InventoryClient) GetInventory ¶
func (client InventoryClient) GetInventory(ctx context.Context, request GetInventoryRequest) (response GetInventoryResponse, err error)
GetInventory Gets an inventory by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetInventory.go.html to see an example of how to use GetInventory API. A default retry strategy applies to this operation GetInventory()
func (InventoryClient) ImportInventory ¶
func (client InventoryClient) ImportInventory(ctx context.Context, request ImportInventoryRequest) (response ImportInventoryResponse, err error)
ImportInventory Import resources in inventory.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ImportInventory.go.html to see an example of how to use ImportInventory API. A default retry strategy applies to this operation ImportInventory()
func (InventoryClient) ListAssets ¶
func (client InventoryClient) ListAssets(ctx context.Context, request ListAssetsRequest) (response ListAssetsResponse, err error)
ListAssets Returns a list of assets.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssets.go.html to see an example of how to use ListAssets API. A default retry strategy applies to this operation ListAssets()
func (InventoryClient) ListHistoricalMetrics ¶
func (client InventoryClient) ListHistoricalMetrics(ctx context.Context, request ListHistoricalMetricsRequest) (response ListHistoricalMetricsResponse, err error)
ListHistoricalMetrics List asset historical metrics.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListHistoricalMetrics.go.html to see an example of how to use ListHistoricalMetrics API. A default retry strategy applies to this operation ListHistoricalMetrics()
func (InventoryClient) ListInventories ¶
func (client InventoryClient) ListInventories(ctx context.Context, request ListInventoriesRequest) (response ListInventoriesResponse, err error)
ListInventories Returns a list of inventories.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListInventories.go.html to see an example of how to use ListInventories API. A default retry strategy applies to this operation ListInventories()
func (*InventoryClient) SetRegion ¶
func (client *InventoryClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (InventoryClient) SubmitHistoricalMetrics ¶
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/SubmitHistoricalMetrics.go.html to see an example of how to use SubmitHistoricalMetrics API. A default retry strategy applies to this operation SubmitHistoricalMetrics()
func (InventoryClient) UpdateAsset ¶
func (client InventoryClient) UpdateAsset(ctx context.Context, request UpdateAssetRequest) (response UpdateAssetResponse, err error)
UpdateAsset Updates the asset.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAsset.go.html to see an example of how to use UpdateAsset API. A default retry strategy applies to this operation UpdateAsset()
func (InventoryClient) UpdateInventory ¶
func (client InventoryClient) UpdateInventory(ctx context.Context, request UpdateInventoryRequest) (response UpdateInventoryResponse, err error)
UpdateInventory Updates an inventory.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateInventory.go.html to see an example of how to use UpdateInventory API. A default retry strategy applies to this operation UpdateInventory()
type InventoryCollection ¶
type InventoryCollection struct {
// List of inventories.
Items []InventorySummary `mandatory:"true" json:"items"`
}
InventoryCollection Result of inventory summaries.
func (InventoryCollection) String ¶
func (m InventoryCollection) String() string
func (InventoryCollection) ValidateEnumValue ¶
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
type InventoryLifecycleStateEnum ¶
type InventoryLifecycleStateEnum string
InventoryLifecycleStateEnum Enum with underlying type: string
const ( InventoryLifecycleStateActive InventoryLifecycleStateEnum = "ACTIVE" InventoryLifecycleStateDeleted InventoryLifecycleStateEnum = "DELETED" InventoryLifecycleStateDeleting InventoryLifecycleStateEnum = "DELETING" InventoryLifecycleStateCreating InventoryLifecycleStateEnum = "CREATING" InventoryLifecycleStateFailed InventoryLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for InventoryLifecycleStateEnum
func GetInventoryLifecycleStateEnumValues ¶
func GetInventoryLifecycleStateEnumValues() []InventoryLifecycleStateEnum
GetInventoryLifecycleStateEnumValues Enumerates the set of values for InventoryLifecycleStateEnum
func GetMappingInventoryLifecycleStateEnum ¶
func GetMappingInventoryLifecycleStateEnum(val string) (InventoryLifecycleStateEnum, bool)
GetMappingInventoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type InventorySummary ¶
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.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.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.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"`
}
InventorySummary Description of inventory.
func (InventorySummary) String ¶
func (m InventorySummary) String() string
func (InventorySummary) ValidateEnumValue ¶
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
type Ksm ¶ added in v65.111.0
type Ksm struct {
// Indicates if KSM is enabled.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
// Indicates if KSM should merge across nodes.
IsMergeAcrossNodes *bool `mandatory:"false" json:"isMergeAcrossNodes"`
}
Ksm Kernal Same-page Merging
func (Ksm) ValidateEnumValue ¶ added in v65.111.0
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
type 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
}
ListAgentDependenciesRequest wrapper for the ListAgentDependencies operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAgentDependencies.go.html to see an example of how to use ListAgentDependenciesRequest.
func (ListAgentDependenciesRequest) BinaryRequestBody ¶
func (request ListAgentDependenciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAgentDependenciesRequest) HTTPRequest ¶
func (request ListAgentDependenciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAgentDependenciesRequest) RetryPolicy ¶
func (request ListAgentDependenciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAgentDependenciesRequest) String ¶
func (request ListAgentDependenciesRequest) String() string
func (ListAgentDependenciesRequest) ValidateEnumValue ¶
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
type ListAgentDependenciesResponse ¶
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"`
}
ListAgentDependenciesResponse wrapper for the ListAgentDependencies operation
func (ListAgentDependenciesResponse) HTTPResponse ¶
func (response ListAgentDependenciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAgentDependenciesResponse) String ¶
func (response ListAgentDependenciesResponse) String() string
type ListAgentDependenciesSortByEnum ¶
type ListAgentDependenciesSortByEnum string
ListAgentDependenciesSortByEnum Enum with underlying type: string
const ( ListAgentDependenciesSortByTimecreated ListAgentDependenciesSortByEnum = "timeCreated" ListAgentDependenciesSortByTimeupdated ListAgentDependenciesSortByEnum = "timeUpdated" ListAgentDependenciesSortByDisplayname ListAgentDependenciesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAgentDependenciesSortByEnum
func GetListAgentDependenciesSortByEnumValues ¶
func GetListAgentDependenciesSortByEnumValues() []ListAgentDependenciesSortByEnum
GetListAgentDependenciesSortByEnumValues Enumerates the set of values for ListAgentDependenciesSortByEnum
func GetMappingListAgentDependenciesSortByEnum ¶
func GetMappingListAgentDependenciesSortByEnum(val string) (ListAgentDependenciesSortByEnum, bool)
GetMappingListAgentDependenciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAgentDependenciesSortOrderEnum ¶
type ListAgentDependenciesSortOrderEnum string
ListAgentDependenciesSortOrderEnum Enum with underlying type: string
const ( ListAgentDependenciesSortOrderAsc ListAgentDependenciesSortOrderEnum = "ASC" ListAgentDependenciesSortOrderDesc ListAgentDependenciesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAgentDependenciesSortOrderEnum
func GetListAgentDependenciesSortOrderEnumValues ¶
func GetListAgentDependenciesSortOrderEnumValues() []ListAgentDependenciesSortOrderEnum
GetListAgentDependenciesSortOrderEnumValues Enumerates the set of values for ListAgentDependenciesSortOrderEnum
func GetMappingListAgentDependenciesSortOrderEnum ¶
func GetMappingListAgentDependenciesSortOrderEnum(val string) (ListAgentDependenciesSortOrderEnum, bool)
GetMappingListAgentDependenciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
ListAgentsRequest wrapper for the ListAgents operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAgents.go.html to see an example of how to use ListAgentsRequest.
func (ListAgentsRequest) BinaryRequestBody ¶
func (request ListAgentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAgentsRequest) HTTPRequest ¶
func (request ListAgentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAgentsRequest) RetryPolicy ¶
func (request ListAgentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAgentsRequest) String ¶
func (request ListAgentsRequest) String() string
func (ListAgentsRequest) ValidateEnumValue ¶
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
type ListAgentsResponse ¶
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"`
}
ListAgentsResponse wrapper for the ListAgents operation
func (ListAgentsResponse) HTTPResponse ¶
func (response ListAgentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAgentsResponse) String ¶
func (response ListAgentsResponse) String() string
type ListAgentsSortByEnum ¶
type ListAgentsSortByEnum string
ListAgentsSortByEnum Enum with underlying type: string
const ( ListAgentsSortByTimecreated ListAgentsSortByEnum = "timeCreated" ListAgentsSortByTimeupdated ListAgentsSortByEnum = "timeUpdated" ListAgentsSortByDisplayname ListAgentsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAgentsSortByEnum
func GetListAgentsSortByEnumValues ¶
func GetListAgentsSortByEnumValues() []ListAgentsSortByEnum
GetListAgentsSortByEnumValues Enumerates the set of values for ListAgentsSortByEnum
func GetMappingListAgentsSortByEnum ¶
func GetMappingListAgentsSortByEnum(val string) (ListAgentsSortByEnum, bool)
GetMappingListAgentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAgentsSortOrderEnum ¶
type ListAgentsSortOrderEnum string
ListAgentsSortOrderEnum Enum with underlying type: string
const ( ListAgentsSortOrderAsc ListAgentsSortOrderEnum = "ASC" ListAgentsSortOrderDesc ListAgentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAgentsSortOrderEnum
func GetListAgentsSortOrderEnumValues ¶
func GetListAgentsSortOrderEnumValues() []ListAgentsSortOrderEnum
GetListAgentsSortOrderEnumValues Enumerates the set of values for ListAgentsSortOrderEnum
func GetMappingListAgentsSortOrderEnum ¶
func GetMappingListAgentsSortOrderEnum(val string) (ListAgentsSortOrderEnum, bool)
GetMappingListAgentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
ListApplianceImagesRequest wrapper for the ListApplianceImages operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListApplianceImages.go.html to see an example of how to use ListApplianceImagesRequest.
func (ListApplianceImagesRequest) BinaryRequestBody ¶
func (request ListApplianceImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListApplianceImagesRequest) HTTPRequest ¶
func (request ListApplianceImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListApplianceImagesRequest) RetryPolicy ¶
func (request ListApplianceImagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListApplianceImagesRequest) String ¶
func (request ListApplianceImagesRequest) String() string
func (ListApplianceImagesRequest) ValidateEnumValue ¶
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
type ListApplianceImagesResponse ¶
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"`
}
ListApplianceImagesResponse wrapper for the ListApplianceImages operation
func (ListApplianceImagesResponse) HTTPResponse ¶
func (response ListApplianceImagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListApplianceImagesResponse) String ¶
func (response ListApplianceImagesResponse) String() string
type ListApplianceImagesSortByEnum ¶
type ListApplianceImagesSortByEnum string
ListApplianceImagesSortByEnum Enum with underlying type: string
const ( ListApplianceImagesSortByTimecreated ListApplianceImagesSortByEnum = "timeCreated" ListApplianceImagesSortByTimeupdated ListApplianceImagesSortByEnum = "timeUpdated" ListApplianceImagesSortByDisplayname ListApplianceImagesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListApplianceImagesSortByEnum
func GetListApplianceImagesSortByEnumValues ¶
func GetListApplianceImagesSortByEnumValues() []ListApplianceImagesSortByEnum
GetListApplianceImagesSortByEnumValues Enumerates the set of values for ListApplianceImagesSortByEnum
func GetMappingListApplianceImagesSortByEnum ¶
func GetMappingListApplianceImagesSortByEnum(val string) (ListApplianceImagesSortByEnum, bool)
GetMappingListApplianceImagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplianceImagesSortOrderEnum ¶
type ListApplianceImagesSortOrderEnum string
ListApplianceImagesSortOrderEnum Enum with underlying type: string
const ( ListApplianceImagesSortOrderAsc ListApplianceImagesSortOrderEnum = "ASC" ListApplianceImagesSortOrderDesc ListApplianceImagesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListApplianceImagesSortOrderEnum
func GetListApplianceImagesSortOrderEnumValues ¶
func GetListApplianceImagesSortOrderEnumValues() []ListApplianceImagesSortOrderEnum
GetListApplianceImagesSortOrderEnumValues Enumerates the set of values for ListApplianceImagesSortOrderEnum
func GetMappingListApplianceImagesSortOrderEnum ¶
func GetMappingListApplianceImagesSortOrderEnum(val string) (ListApplianceImagesSortOrderEnum, bool)
GetMappingListApplianceImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAssetSourceConnectionsRequest ¶
type ListAssetSourceConnectionsRequest struct {
// The OCID (https://docs.oracle.com/iaas/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
}
ListAssetSourceConnectionsRequest wrapper for the ListAssetSourceConnections operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssetSourceConnections.go.html to see an example of how to use ListAssetSourceConnectionsRequest.
func (ListAssetSourceConnectionsRequest) BinaryRequestBody ¶
func (request ListAssetSourceConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAssetSourceConnectionsRequest) HTTPRequest ¶
func (request ListAssetSourceConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAssetSourceConnectionsRequest) RetryPolicy ¶
func (request ListAssetSourceConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAssetSourceConnectionsRequest) String ¶
func (request ListAssetSourceConnectionsRequest) String() string
func (ListAssetSourceConnectionsRequest) ValidateEnumValue ¶
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
type ListAssetSourceConnectionsResponse ¶
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"`
}
ListAssetSourceConnectionsResponse wrapper for the ListAssetSourceConnections operation
func (ListAssetSourceConnectionsResponse) HTTPResponse ¶
func (response ListAssetSourceConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAssetSourceConnectionsResponse) String ¶
func (response ListAssetSourceConnectionsResponse) String() string
type ListAssetSourcesLifecycleStateEnum ¶
type ListAssetSourcesLifecycleStateEnum string
ListAssetSourcesLifecycleStateEnum Enum with underlying type: string
const ( ListAssetSourcesLifecycleStateCreating ListAssetSourcesLifecycleStateEnum = "CREATING" ListAssetSourcesLifecycleStateActive ListAssetSourcesLifecycleStateEnum = "ACTIVE" ListAssetSourcesLifecycleStateDeleting ListAssetSourcesLifecycleStateEnum = "DELETING" ListAssetSourcesLifecycleStateDeleted ListAssetSourcesLifecycleStateEnum = "DELETED" ListAssetSourcesLifecycleStateFailed ListAssetSourcesLifecycleStateEnum = "FAILED" ListAssetSourcesLifecycleStateUpdating ListAssetSourcesLifecycleStateEnum = "UPDATING" ListAssetSourcesLifecycleStateNeedsAttention ListAssetSourcesLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for ListAssetSourcesLifecycleStateEnum
func GetListAssetSourcesLifecycleStateEnumValues ¶
func GetListAssetSourcesLifecycleStateEnumValues() []ListAssetSourcesLifecycleStateEnum
GetListAssetSourcesLifecycleStateEnumValues Enumerates the set of values for ListAssetSourcesLifecycleStateEnum
func GetMappingListAssetSourcesLifecycleStateEnum ¶
func GetMappingListAssetSourcesLifecycleStateEnum(val string) (ListAssetSourcesLifecycleStateEnum, bool)
GetMappingListAssetSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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.oracle.com/iaas/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
}
ListAssetSourcesRequest wrapper for the ListAssetSources operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssetSources.go.html to see an example of how to use ListAssetSourcesRequest.
func (ListAssetSourcesRequest) BinaryRequestBody ¶
func (request ListAssetSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAssetSourcesRequest) HTTPRequest ¶
func (request ListAssetSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAssetSourcesRequest) RetryPolicy ¶
func (request ListAssetSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAssetSourcesRequest) String ¶
func (request ListAssetSourcesRequest) String() string
func (ListAssetSourcesRequest) ValidateEnumValue ¶
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
type ListAssetSourcesResponse ¶
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"`
}
ListAssetSourcesResponse wrapper for the ListAssetSources operation
func (ListAssetSourcesResponse) HTTPResponse ¶
func (response ListAssetSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAssetSourcesResponse) String ¶
func (response ListAssetSourcesResponse) String() string
type ListAssetSourcesSortByEnum ¶
type ListAssetSourcesSortByEnum string
ListAssetSourcesSortByEnum Enum with underlying type: string
const ( ListAssetSourcesSortByTimecreated ListAssetSourcesSortByEnum = "timeCreated" ListAssetSourcesSortByDisplayname ListAssetSourcesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAssetSourcesSortByEnum
func GetListAssetSourcesSortByEnumValues ¶
func GetListAssetSourcesSortByEnumValues() []ListAssetSourcesSortByEnum
GetListAssetSourcesSortByEnumValues Enumerates the set of values for ListAssetSourcesSortByEnum
func GetMappingListAssetSourcesSortByEnum ¶
func GetMappingListAssetSourcesSortByEnum(val string) (ListAssetSourcesSortByEnum, bool)
GetMappingListAssetSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAssetSourcesSortOrderEnum ¶
type ListAssetSourcesSortOrderEnum string
ListAssetSourcesSortOrderEnum Enum with underlying type: string
const ( ListAssetSourcesSortOrderAsc ListAssetSourcesSortOrderEnum = "ASC" ListAssetSourcesSortOrderDesc ListAssetSourcesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAssetSourcesSortOrderEnum
func GetListAssetSourcesSortOrderEnumValues ¶
func GetListAssetSourcesSortOrderEnumValues() []ListAssetSourcesSortOrderEnum
GetListAssetSourcesSortOrderEnumValues Enumerates the set of values for ListAssetSourcesSortOrderEnum
func GetMappingListAssetSourcesSortOrderEnum ¶
func GetMappingListAssetSourcesSortOrderEnum(val string) (ListAssetSourcesSortOrderEnum, bool)
GetMappingListAssetSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAssetsAssetTypeEnum ¶
type ListAssetsAssetTypeEnum string
ListAssetsAssetTypeEnum Enum with underlying type: string
const ( ListAssetsAssetTypeVmwareVm ListAssetsAssetTypeEnum = "VMWARE_VM" ListAssetsAssetTypeVm ListAssetsAssetTypeEnum = "VM" ListAssetsAssetTypeInventoryAsset ListAssetsAssetTypeEnum = "INVENTORY_ASSET" ListAssetsAssetTypeAwsEc2 ListAssetsAssetTypeEnum = "AWS_EC2" ListAssetsAssetTypeAwsEbs ListAssetsAssetTypeEnum = "AWS_EBS" )
Set of constants representing the allowable values for ListAssetsAssetTypeEnum
func GetListAssetsAssetTypeEnumValues ¶
func GetListAssetsAssetTypeEnumValues() []ListAssetsAssetTypeEnum
GetListAssetsAssetTypeEnumValues Enumerates the set of values for ListAssetsAssetTypeEnum
func GetMappingListAssetsAssetTypeEnum ¶
func GetMappingListAssetsAssetTypeEnum(val string) (ListAssetsAssetTypeEnum, bool)
GetMappingListAssetsAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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"`
// The name of the asset class.
AssetClassName *string `mandatory:"false" contributesTo:"query" name:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"false" contributesTo:"query" name:"assetClassVersion"`
// 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
}
ListAssetsRequest wrapper for the ListAssets operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAssets.go.html to see an example of how to use ListAssetsRequest.
func (ListAssetsRequest) BinaryRequestBody ¶
func (request ListAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListAssetsRequest) HTTPRequest ¶
func (request ListAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAssetsRequest) RetryPolicy ¶
func (request ListAssetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAssetsRequest) String ¶
func (request ListAssetsRequest) String() string
func (ListAssetsRequest) ValidateEnumValue ¶
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
type ListAssetsResponse ¶
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"`
}
ListAssetsResponse wrapper for the ListAssets operation
func (ListAssetsResponse) HTTPResponse ¶
func (response ListAssetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAssetsResponse) String ¶
func (response ListAssetsResponse) String() string
type ListAssetsSortByEnum ¶
type ListAssetsSortByEnum string
ListAssetsSortByEnum Enum with underlying type: string
const ( ListAssetsSortByTimecreated ListAssetsSortByEnum = "timeCreated" ListAssetsSortByTimeupdated ListAssetsSortByEnum = "timeUpdated" ListAssetsSortByDisplayname ListAssetsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAssetsSortByEnum
func GetListAssetsSortByEnumValues ¶
func GetListAssetsSortByEnumValues() []ListAssetsSortByEnum
GetListAssetsSortByEnumValues Enumerates the set of values for ListAssetsSortByEnum
func GetMappingListAssetsSortByEnum ¶
func GetMappingListAssetsSortByEnum(val string) (ListAssetsSortByEnum, bool)
GetMappingListAssetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAssetsSortOrderEnum ¶
type ListAssetsSortOrderEnum string
ListAssetsSortOrderEnum Enum with underlying type: string
const ( ListAssetsSortOrderAsc ListAssetsSortOrderEnum = "ASC" ListAssetsSortOrderDesc ListAssetsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAssetsSortOrderEnum
func GetListAssetsSortOrderEnumValues ¶
func GetListAssetsSortOrderEnumValues() []ListAssetsSortOrderEnum
GetListAssetsSortOrderEnumValues Enumerates the set of values for ListAssetsSortOrderEnum
func GetMappingListAssetsSortOrderEnum ¶
func GetMappingListAssetsSortOrderEnum(val string) (ListAssetsSortOrderEnum, bool)
GetMappingListAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoverySchedulesLifecycleStateEnum ¶
type ListDiscoverySchedulesLifecycleStateEnum string
ListDiscoverySchedulesLifecycleStateEnum Enum with underlying type: string
const ( ListDiscoverySchedulesLifecycleStateActive ListDiscoverySchedulesLifecycleStateEnum = "ACTIVE" ListDiscoverySchedulesLifecycleStateDeleted ListDiscoverySchedulesLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ListDiscoverySchedulesLifecycleStateEnum
func GetListDiscoverySchedulesLifecycleStateEnumValues ¶
func GetListDiscoverySchedulesLifecycleStateEnumValues() []ListDiscoverySchedulesLifecycleStateEnum
GetListDiscoverySchedulesLifecycleStateEnumValues Enumerates the set of values for ListDiscoverySchedulesLifecycleStateEnum
func GetMappingListDiscoverySchedulesLifecycleStateEnum ¶
func GetMappingListDiscoverySchedulesLifecycleStateEnum(val string) (ListDiscoverySchedulesLifecycleStateEnum, bool)
GetMappingListDiscoverySchedulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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.oracle.com/iaas/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
}
ListDiscoverySchedulesRequest wrapper for the ListDiscoverySchedules operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListDiscoverySchedules.go.html to see an example of how to use ListDiscoverySchedulesRequest.
func (ListDiscoverySchedulesRequest) BinaryRequestBody ¶
func (request ListDiscoverySchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDiscoverySchedulesRequest) HTTPRequest ¶
func (request ListDiscoverySchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDiscoverySchedulesRequest) RetryPolicy ¶
func (request ListDiscoverySchedulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDiscoverySchedulesRequest) String ¶
func (request ListDiscoverySchedulesRequest) String() string
func (ListDiscoverySchedulesRequest) ValidateEnumValue ¶
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
type ListDiscoverySchedulesResponse ¶
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"`
}
ListDiscoverySchedulesResponse wrapper for the ListDiscoverySchedules operation
func (ListDiscoverySchedulesResponse) HTTPResponse ¶
func (response ListDiscoverySchedulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDiscoverySchedulesResponse) String ¶
func (response ListDiscoverySchedulesResponse) String() string
type ListDiscoverySchedulesSortByEnum ¶
type ListDiscoverySchedulesSortByEnum string
ListDiscoverySchedulesSortByEnum Enum with underlying type: string
const ( ListDiscoverySchedulesSortByTimecreated ListDiscoverySchedulesSortByEnum = "timeCreated" ListDiscoverySchedulesSortByDisplayname ListDiscoverySchedulesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDiscoverySchedulesSortByEnum
func GetListDiscoverySchedulesSortByEnumValues ¶
func GetListDiscoverySchedulesSortByEnumValues() []ListDiscoverySchedulesSortByEnum
GetListDiscoverySchedulesSortByEnumValues Enumerates the set of values for ListDiscoverySchedulesSortByEnum
func GetMappingListDiscoverySchedulesSortByEnum ¶
func GetMappingListDiscoverySchedulesSortByEnum(val string) (ListDiscoverySchedulesSortByEnum, bool)
GetMappingListDiscoverySchedulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoverySchedulesSortOrderEnum ¶
type ListDiscoverySchedulesSortOrderEnum string
ListDiscoverySchedulesSortOrderEnum Enum with underlying type: string
const ( ListDiscoverySchedulesSortOrderAsc ListDiscoverySchedulesSortOrderEnum = "ASC" ListDiscoverySchedulesSortOrderDesc ListDiscoverySchedulesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDiscoverySchedulesSortOrderEnum
func GetListDiscoverySchedulesSortOrderEnumValues ¶
func GetListDiscoverySchedulesSortOrderEnumValues() []ListDiscoverySchedulesSortOrderEnum
GetListDiscoverySchedulesSortOrderEnumValues Enumerates the set of values for ListDiscoverySchedulesSortOrderEnum
func GetMappingListDiscoverySchedulesSortOrderEnum ¶
func GetMappingListDiscoverySchedulesSortOrderEnum(val string) (ListDiscoverySchedulesSortOrderEnum, bool)
GetMappingListDiscoverySchedulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
ListEnvironmentsRequest wrapper for the ListEnvironments operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListEnvironments.go.html to see an example of how to use ListEnvironmentsRequest.
func (ListEnvironmentsRequest) BinaryRequestBody ¶
func (request ListEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListEnvironmentsRequest) HTTPRequest ¶
func (request ListEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListEnvironmentsRequest) RetryPolicy ¶
func (request ListEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListEnvironmentsRequest) String ¶
func (request ListEnvironmentsRequest) String() string
func (ListEnvironmentsRequest) ValidateEnumValue ¶
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
type ListEnvironmentsResponse ¶
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"`
}
ListEnvironmentsResponse wrapper for the ListEnvironments operation
func (ListEnvironmentsResponse) HTTPResponse ¶
func (response ListEnvironmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListEnvironmentsResponse) String ¶
func (response ListEnvironmentsResponse) String() string
type ListEnvironmentsSortByEnum ¶
type ListEnvironmentsSortByEnum string
ListEnvironmentsSortByEnum Enum with underlying type: string
const ( ListEnvironmentsSortByTimecreated ListEnvironmentsSortByEnum = "timeCreated" ListEnvironmentsSortByTimeupdated ListEnvironmentsSortByEnum = "timeUpdated" ListEnvironmentsSortByDisplayname ListEnvironmentsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListEnvironmentsSortByEnum
func GetListEnvironmentsSortByEnumValues ¶
func GetListEnvironmentsSortByEnumValues() []ListEnvironmentsSortByEnum
GetListEnvironmentsSortByEnumValues Enumerates the set of values for ListEnvironmentsSortByEnum
func GetMappingListEnvironmentsSortByEnum ¶
func GetMappingListEnvironmentsSortByEnum(val string) (ListEnvironmentsSortByEnum, bool)
GetMappingListEnvironmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListEnvironmentsSortOrderEnum ¶
type ListEnvironmentsSortOrderEnum string
ListEnvironmentsSortOrderEnum Enum with underlying type: string
const ( ListEnvironmentsSortOrderAsc ListEnvironmentsSortOrderEnum = "ASC" ListEnvironmentsSortOrderDesc ListEnvironmentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListEnvironmentsSortOrderEnum
func GetListEnvironmentsSortOrderEnumValues ¶
func GetListEnvironmentsSortOrderEnumValues() []ListEnvironmentsSortOrderEnum
GetListEnvironmentsSortOrderEnumValues Enumerates the set of values for ListEnvironmentsSortOrderEnum
func GetMappingListEnvironmentsSortOrderEnum ¶
func GetMappingListEnvironmentsSortOrderEnum(val string) (ListEnvironmentsSortOrderEnum, bool)
GetMappingListEnvironmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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
}
ListHistoricalMetricsRequest wrapper for the ListHistoricalMetrics operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListHistoricalMetrics.go.html to see an example of how to use ListHistoricalMetricsRequest.
func (ListHistoricalMetricsRequest) BinaryRequestBody ¶
func (request ListHistoricalMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListHistoricalMetricsRequest) HTTPRequest ¶
func (request ListHistoricalMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListHistoricalMetricsRequest) RetryPolicy ¶
func (request ListHistoricalMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListHistoricalMetricsRequest) String ¶
func (request ListHistoricalMetricsRequest) String() string
func (ListHistoricalMetricsRequest) ValidateEnumValue ¶
func (request ListHistoricalMetricsRequest) 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
type ListHistoricalMetricsResponse ¶
type ListHistoricalMetricsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of HistoricalMetricCollection instances
HistoricalMetricCollection `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"`
}
ListHistoricalMetricsResponse wrapper for the ListHistoricalMetrics operation
func (ListHistoricalMetricsResponse) HTTPResponse ¶
func (response ListHistoricalMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListHistoricalMetricsResponse) String ¶
func (response ListHistoricalMetricsResponse) String() string
type ListHistoricalMetricsSortByEnum ¶
type ListHistoricalMetricsSortByEnum string
ListHistoricalMetricsSortByEnum Enum with underlying type: string
const ( ListHistoricalMetricsSortByTimecreated ListHistoricalMetricsSortByEnum = "timeCreated" ListHistoricalMetricsSortByTimeupdated ListHistoricalMetricsSortByEnum = "timeUpdated" ListHistoricalMetricsSortByDisplayname ListHistoricalMetricsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListHistoricalMetricsSortByEnum
func GetListHistoricalMetricsSortByEnumValues ¶
func GetListHistoricalMetricsSortByEnumValues() []ListHistoricalMetricsSortByEnum
GetListHistoricalMetricsSortByEnumValues Enumerates the set of values for ListHistoricalMetricsSortByEnum
func GetMappingListHistoricalMetricsSortByEnum ¶
func GetMappingListHistoricalMetricsSortByEnum(val string) (ListHistoricalMetricsSortByEnum, bool)
GetMappingListHistoricalMetricsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListHistoricalMetricsSortOrderEnum ¶
type ListHistoricalMetricsSortOrderEnum string
ListHistoricalMetricsSortOrderEnum Enum with underlying type: string
const ( ListHistoricalMetricsSortOrderAsc ListHistoricalMetricsSortOrderEnum = "ASC" ListHistoricalMetricsSortOrderDesc ListHistoricalMetricsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListHistoricalMetricsSortOrderEnum
func GetListHistoricalMetricsSortOrderEnumValues ¶
func GetListHistoricalMetricsSortOrderEnumValues() []ListHistoricalMetricsSortOrderEnum
GetListHistoricalMetricsSortOrderEnumValues Enumerates the set of values for ListHistoricalMetricsSortOrderEnum
func GetMappingListHistoricalMetricsSortOrderEnum ¶
func GetMappingListHistoricalMetricsSortOrderEnum(val string) (ListHistoricalMetricsSortOrderEnum, bool)
GetMappingListHistoricalMetricsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListInventoriesRequest ¶
type ListInventoriesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListInventoriesSortOrderEnum `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 ListInventoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// 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 inventory if the lifecycleState matches the given lifecycleState.
LifecycleState InventoryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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
}
ListInventoriesRequest wrapper for the ListInventories operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListInventories.go.html to see an example of how to use ListInventoriesRequest.
func (ListInventoriesRequest) BinaryRequestBody ¶
func (request ListInventoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListInventoriesRequest) HTTPRequest ¶
func (request ListInventoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListInventoriesRequest) RetryPolicy ¶
func (request ListInventoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListInventoriesRequest) String ¶
func (request ListInventoriesRequest) String() string
func (ListInventoriesRequest) ValidateEnumValue ¶
func (request ListInventoriesRequest) 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
type ListInventoriesResponse ¶
type ListInventoriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of InventoryCollection instances
InventoryCollection `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"`
}
ListInventoriesResponse wrapper for the ListInventories operation
func (ListInventoriesResponse) HTTPResponse ¶
func (response ListInventoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListInventoriesResponse) String ¶
func (response ListInventoriesResponse) String() string
type ListInventoriesSortByEnum ¶
type ListInventoriesSortByEnum string
ListInventoriesSortByEnum Enum with underlying type: string
const ( ListInventoriesSortByTimecreated ListInventoriesSortByEnum = "timeCreated" ListInventoriesSortByTimeupdated ListInventoriesSortByEnum = "timeUpdated" ListInventoriesSortByDisplayname ListInventoriesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListInventoriesSortByEnum
func GetListInventoriesSortByEnumValues ¶
func GetListInventoriesSortByEnumValues() []ListInventoriesSortByEnum
GetListInventoriesSortByEnumValues Enumerates the set of values for ListInventoriesSortByEnum
func GetMappingListInventoriesSortByEnum ¶
func GetMappingListInventoriesSortByEnum(val string) (ListInventoriesSortByEnum, bool)
GetMappingListInventoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListInventoriesSortOrderEnum ¶
type ListInventoriesSortOrderEnum string
ListInventoriesSortOrderEnum Enum with underlying type: string
const ( ListInventoriesSortOrderAsc ListInventoriesSortOrderEnum = "ASC" ListInventoriesSortOrderDesc ListInventoriesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListInventoriesSortOrderEnum
func GetListInventoriesSortOrderEnumValues ¶
func GetListInventoriesSortOrderEnumValues() []ListInventoriesSortOrderEnum
GetListInventoriesSortOrderEnumValues Enumerates the set of values for ListInventoriesSortOrderEnum
func GetMappingListInventoriesSortOrderEnum ¶
func GetMappingListInventoriesSortOrderEnum(val string) (ListInventoriesSortOrderEnum, bool)
GetMappingListInventoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListSupportedCloudRegionsAssetSourceTypeEnum ¶ added in v65.77.0
type ListSupportedCloudRegionsAssetSourceTypeEnum string
ListSupportedCloudRegionsAssetSourceTypeEnum Enum with underlying type: string
const ( ListSupportedCloudRegionsAssetSourceTypeVmware ListSupportedCloudRegionsAssetSourceTypeEnum = "VMWARE" ListSupportedCloudRegionsAssetSourceTypeAws ListSupportedCloudRegionsAssetSourceTypeEnum = "AWS" ListSupportedCloudRegionsAssetSourceTypeOlvm ListSupportedCloudRegionsAssetSourceTypeEnum = "OLVM" )
Set of constants representing the allowable values for ListSupportedCloudRegionsAssetSourceTypeEnum
func GetListSupportedCloudRegionsAssetSourceTypeEnumValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsAssetSourceTypeEnumValues() []ListSupportedCloudRegionsAssetSourceTypeEnum
GetListSupportedCloudRegionsAssetSourceTypeEnumValues Enumerates the set of values for ListSupportedCloudRegionsAssetSourceTypeEnum
func GetMappingListSupportedCloudRegionsAssetSourceTypeEnum ¶ added in v65.77.0
func GetMappingListSupportedCloudRegionsAssetSourceTypeEnum(val string) (ListSupportedCloudRegionsAssetSourceTypeEnum, bool)
GetMappingListSupportedCloudRegionsAssetSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListSupportedCloudRegionsRequest ¶ added in v65.77.0
type ListSupportedCloudRegionsRequest struct {
// The asset source type.
AssetSourceType ListSupportedCloudRegionsAssetSourceTypeEnum `mandatory:"false" contributesTo:"query" name:"assetSourceType" omitEmpty:"true"`
// A filter to return only supported cloud regions which name contains given nameContains as sub-string.
NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`
// The field to sort by. Only one sort order may be provided. By default, name is in ascending order.
SortBy ListSupportedCloudRegionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListSupportedCloudRegionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// 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
}
ListSupportedCloudRegionsRequest wrapper for the ListSupportedCloudRegions operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListSupportedCloudRegions.go.html to see an example of how to use ListSupportedCloudRegionsRequest.
func (ListSupportedCloudRegionsRequest) BinaryRequestBody ¶ added in v65.77.0
func (request ListSupportedCloudRegionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSupportedCloudRegionsRequest) HTTPRequest ¶ added in v65.77.0
func (request ListSupportedCloudRegionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSupportedCloudRegionsRequest) RetryPolicy ¶ added in v65.77.0
func (request ListSupportedCloudRegionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSupportedCloudRegionsRequest) String ¶ added in v65.77.0
func (request ListSupportedCloudRegionsRequest) String() string
func (ListSupportedCloudRegionsRequest) ValidateEnumValue ¶ added in v65.77.0
func (request ListSupportedCloudRegionsRequest) 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
type ListSupportedCloudRegionsResponse ¶ added in v65.77.0
type ListSupportedCloudRegionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SupportedCloudRegionCollection instances
SupportedCloudRegionCollection `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"`
}
ListSupportedCloudRegionsResponse wrapper for the ListSupportedCloudRegions operation
func (ListSupportedCloudRegionsResponse) HTTPResponse ¶ added in v65.77.0
func (response ListSupportedCloudRegionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSupportedCloudRegionsResponse) String ¶ added in v65.77.0
func (response ListSupportedCloudRegionsResponse) String() string
type ListSupportedCloudRegionsSortByEnum ¶ added in v65.77.0
type ListSupportedCloudRegionsSortByEnum string
ListSupportedCloudRegionsSortByEnum Enum with underlying type: string
const (
ListSupportedCloudRegionsSortByName ListSupportedCloudRegionsSortByEnum = "name"
)
Set of constants representing the allowable values for ListSupportedCloudRegionsSortByEnum
func GetListSupportedCloudRegionsSortByEnumValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsSortByEnumValues() []ListSupportedCloudRegionsSortByEnum
GetListSupportedCloudRegionsSortByEnumValues Enumerates the set of values for ListSupportedCloudRegionsSortByEnum
func GetMappingListSupportedCloudRegionsSortByEnum ¶ added in v65.77.0
func GetMappingListSupportedCloudRegionsSortByEnum(val string) (ListSupportedCloudRegionsSortByEnum, bool)
GetMappingListSupportedCloudRegionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListSupportedCloudRegionsSortOrderEnum ¶ added in v65.77.0
type ListSupportedCloudRegionsSortOrderEnum string
ListSupportedCloudRegionsSortOrderEnum Enum with underlying type: string
const ( ListSupportedCloudRegionsSortOrderAsc ListSupportedCloudRegionsSortOrderEnum = "ASC" ListSupportedCloudRegionsSortOrderDesc ListSupportedCloudRegionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListSupportedCloudRegionsSortOrderEnum
func GetListSupportedCloudRegionsSortOrderEnumValues ¶ added in v65.77.0
func GetListSupportedCloudRegionsSortOrderEnumValues() []ListSupportedCloudRegionsSortOrderEnum
GetListSupportedCloudRegionsSortOrderEnumValues Enumerates the set of values for ListSupportedCloudRegionsSortOrderEnum
func GetMappingListSupportedCloudRegionsSortOrderEnum ¶ added in v65.77.0
func GetMappingListSupportedCloudRegionsSortOrderEnum(val string) (ListSupportedCloudRegionsSortOrderEnum, bool)
GetMappingListSupportedCloudRegionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest 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"`
// 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 maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order can be provided. By default, the order for timeAccepted is descending.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) 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
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `presentIn:"body"`
// 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"`
// 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"`
}
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest 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"`
// 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 maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order can be provided. By default, the order for timeAccepted is descending.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) 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
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestLogEntryCollection instances
WorkRequestLogEntryCollection `presentIn:"body"`
// 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"`
// 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"`
}
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The ID of the asynchronous work request.
WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`
// A filter to return only resources for which the lifecycleState matches the given OperationStatus.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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 maximum number of items to return.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The sort order to use, either 'ASC' or 'DESC'.
SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order can be provided. By default, the order for timeAccepted is descending.
SortBy ListWorkRequestsSortByEnum `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
}
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) 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
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestSummaryCollection instances
WorkRequestSummaryCollection `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"`
}
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type LogicalUnit ¶ added in v65.111.0
type LogicalUnit struct {
// Address of the logical unit.
Address *string `mandatory:"false" json:"address"`
// The maximum number of bytes that can be discarded by the logical unit’s underlying storage in a single operation.
DiscardMaxSizeInBytes *int64 `mandatory:"false" json:"discardMaxSizeInBytes"`
// True, if previously discarded blocks in the logical unit’s underlying storage are read back as zeros.
IsDiscardZeroesData *bool `mandatory:"false" json:"isDiscardZeroesData"`
// Disk ID of the logical unit.
DiskId *string `mandatory:"false" json:"diskId"`
// a unique identifier.
Id *string `mandatory:"false" json:"id"`
// LUN Mapping
LunMapping *int `mandatory:"false" json:"lunMapping"`
// LUN Status
LunStatus LogicalUnitLunStatusEnum `mandatory:"false" json:"lunStatus,omitempty"`
// Password of the logical unit.
Password *string `mandatory:"false" json:"password"`
// Paths of the logical unit.
Paths *int `mandatory:"false" json:"paths"`
// Port of the logical unit.
Port *int `mandatory:"false" json:"port"`
// Portal of the logical unit.
Portal *string `mandatory:"false" json:"portal"`
// Product ID of the logical unit.
ProductId *string `mandatory:"false" json:"productId"`
// Serial of the logical unit.
Serial *string `mandatory:"false" json:"serial"`
// Size of the logical unit.
Size *int `mandatory:"false" json:"size"`
// Storage Domain ID of the logical unit.
StorageDomainId *string `mandatory:"false" json:"storageDomainId"`
// Target of the logical unit.
Target *string `mandatory:"false" json:"target"`
// Username of the logical unit.
Username *string `mandatory:"false" json:"username"`
// Vendor ID of the logical unit.
VendorId *string `mandatory:"false" json:"vendorId"`
// Volume Group ID of the logical unit.
VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`
}
LogicalUnit Logical unit of the host storage.
func (LogicalUnit) String ¶ added in v65.111.0
func (m LogicalUnit) String() string
func (LogicalUnit) ValidateEnumValue ¶ added in v65.111.0
func (m LogicalUnit) 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
type LogicalUnitLunStatusEnum ¶ added in v65.111.0
type LogicalUnitLunStatusEnum string
LogicalUnitLunStatusEnum Enum with underlying type: string
const ( LogicalUnitLunStatusFree LogicalUnitLunStatusEnum = "FREE" LogicalUnitLunStatusUnusable LogicalUnitLunStatusEnum = "UNUSABLE" LogicalUnitLunStatusUsed LogicalUnitLunStatusEnum = "USED" )
Set of constants representing the allowable values for LogicalUnitLunStatusEnum
func GetLogicalUnitLunStatusEnumValues ¶ added in v65.111.0
func GetLogicalUnitLunStatusEnumValues() []LogicalUnitLunStatusEnum
GetLogicalUnitLunStatusEnumValues Enumerates the set of values for LogicalUnitLunStatusEnum
func GetMappingLogicalUnitLunStatusEnum ¶ added in v65.111.0
func GetMappingLogicalUnitLunStatusEnum(val string) (LogicalUnitLunStatusEnum, bool)
GetMappingLogicalUnitLunStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type MemoryOverCommit ¶ added in v65.111.0
type MemoryOverCommit struct {
// Percentage of memory over commit
Percentage *int `mandatory:"false" json:"percentage"`
}
MemoryOverCommit Memory over commit
func (MemoryOverCommit) String ¶ added in v65.111.0
func (m MemoryOverCommit) String() string
func (MemoryOverCommit) ValidateEnumValue ¶ added in v65.111.0
func (m MemoryOverCommit) 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
type MigrationBandwidth ¶ added in v65.111.0
type MigrationBandwidth struct {
// Defines how the migration bandwidth is assigned
AssignmentMethod MigrationBandwidthAssignmentMethodEnum `mandatory:"false" json:"assignmentMethod,omitempty"`
}
MigrationBandwidth Defines the bandwidth used by migration
func (MigrationBandwidth) String ¶ added in v65.111.0
func (m MigrationBandwidth) String() string
func (MigrationBandwidth) ValidateEnumValue ¶ added in v65.111.0
func (m MigrationBandwidth) 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
type MigrationBandwidthAssignmentMethodEnum ¶ added in v65.111.0
type MigrationBandwidthAssignmentMethodEnum string
MigrationBandwidthAssignmentMethodEnum Enum with underlying type: string
const ( MigrationBandwidthAssignmentMethodAuto MigrationBandwidthAssignmentMethodEnum = "AUTO" MigrationBandwidthAssignmentMethodCustom MigrationBandwidthAssignmentMethodEnum = "CUSTOM" MigrationBandwidthAssignmentMethodHypervisorDefault MigrationBandwidthAssignmentMethodEnum = "HYPERVISOR_DEFAULT" )
Set of constants representing the allowable values for MigrationBandwidthAssignmentMethodEnum
func GetMappingMigrationBandwidthAssignmentMethodEnum ¶ added in v65.111.0
func GetMappingMigrationBandwidthAssignmentMethodEnum(val string) (MigrationBandwidthAssignmentMethodEnum, bool)
GetMappingMigrationBandwidthAssignmentMethodEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMigrationBandwidthAssignmentMethodEnumValues ¶ added in v65.111.0
func GetMigrationBandwidthAssignmentMethodEnumValues() []MigrationBandwidthAssignmentMethodEnum
GetMigrationBandwidthAssignmentMethodEnumValues Enumerates the set of values for MigrationBandwidthAssignmentMethodEnum
type MonthlyCostSummary ¶ added in v65.77.0
type MonthlyCostSummary struct {
// Monthly costs for maintenance of this asset.
Amount *float64 `mandatory:"true" json:"amount"`
// Currency code
CurrencyCode *string `mandatory:"true" json:"currencyCode"`
}
MonthlyCostSummary Cost information for monthly maintenance.
func (MonthlyCostSummary) String ¶ added in v65.77.0
func (m MonthlyCostSummary) String() string
func (MonthlyCostSummary) ValidateEnumValue ¶ added in v65.77.0
func (m MonthlyCostSummary) 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
type Nic ¶
type Nic struct {
// Provides a label and summary information for the device.
Label *string `mandatory:"false" json:"label"`
// Switch name.
SwitchName *string `mandatory:"false" json:"switchName"`
// Mac address of the VM.
MacAddress *string `mandatory:"false" json:"macAddress"`
// Mac address type.
MacAddressType *string `mandatory:"false" json:"macAddressType"`
// Network name.
NetworkName *string `mandatory:"false" json:"networkName"`
// List of IP addresses.
IpAddresses []string `mandatory:"false" json:"ipAddresses"`
}
Nic The VNIC configuration.
func (Nic) ValidateEnumValue ¶
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
type Nvdimm ¶
type Nvdimm struct {
// Provides a label and summary information for the device.
Label *string `mandatory:"false" json:"label"`
// The unit number of NVDIMM.
UnitNumber *int `mandatory:"false" json:"unitNumber"`
// Controller key.
ControllerKey *int `mandatory:"false" json:"controllerKey"`
}
Nvdimm The asset's NVDIMM configuration.
func (Nvdimm) ValidateEnumValue ¶
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
type NvdimmController ¶
type NvdimmController struct {
// Provides a label and summary information for the device.
Label *string `mandatory:"false" json:"label"`
// Bus number.
BusNumber *int `mandatory:"false" json:"busNumber"`
}
NvdimmController The asset's NVDIMM configuration.
func (NvdimmController) String ¶
func (m NvdimmController) String() string
func (NvdimmController) ValidateEnumValue ¶
func (m NvdimmController) 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
type OcbAgentSvcClient ¶
type OcbAgentSvcClient struct {
common.BaseClient
// contains filtered or unexported fields
}
OcbAgentSvcClient a client for OcbAgentSvc
func NewOcbAgentSvcClientWithConfigurationProvider ¶
func NewOcbAgentSvcClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OcbAgentSvcClient, err error)
NewOcbAgentSvcClientWithConfigurationProvider Creates a new default OcbAgentSvc client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOcbAgentSvcClientWithOboToken ¶
func NewOcbAgentSvcClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OcbAgentSvcClient, err error)
NewOcbAgentSvcClientWithOboToken Creates a new default OcbAgentSvc 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 (OcbAgentSvcClient) AddAgentDependency ¶
func (client OcbAgentSvcClient) AddAgentDependency(ctx context.Context, request AddAgentDependencyRequest) (response AddAgentDependencyResponse, err error)
AddAgentDependency Add a dependency to the environment. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/AddAgentDependency.go.html to see an example of how to use AddAgentDependency API. A default retry strategy applies to this operation AddAgentDependency()
func (OcbAgentSvcClient) ChangeAgentCompartment ¶
func (client OcbAgentSvcClient) ChangeAgentCompartment(ctx context.Context, request ChangeAgentCompartmentRequest) (response ChangeAgentCompartmentResponse, err error)
ChangeAgentCompartment Moves an Agent resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAgentCompartment.go.html to see an example of how to use ChangeAgentCompartment API. A default retry strategy applies to this operation ChangeAgentCompartment()
func (OcbAgentSvcClient) ChangeAgentDependencyCompartment ¶
func (client OcbAgentSvcClient) ChangeAgentDependencyCompartment(ctx context.Context, request ChangeAgentDependencyCompartmentRequest) (response ChangeAgentDependencyCompartmentResponse, err error)
ChangeAgentDependencyCompartment Moves a AgentDependency resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeAgentDependencyCompartment.go.html to see an example of how to use ChangeAgentDependencyCompartment API. A default retry strategy applies to this operation ChangeAgentDependencyCompartment()
func (OcbAgentSvcClient) ChangeEnvironmentCompartment ¶
func (client OcbAgentSvcClient) ChangeEnvironmentCompartment(ctx context.Context, request ChangeEnvironmentCompartmentRequest) (response ChangeEnvironmentCompartmentResponse, err error)
ChangeEnvironmentCompartment Moves a source environment resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ChangeEnvironmentCompartment.go.html to see an example of how to use ChangeEnvironmentCompartment API. A default retry strategy applies to this operation ChangeEnvironmentCompartment()
func (*OcbAgentSvcClient) ConfigurationProvider ¶
func (client *OcbAgentSvcClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (OcbAgentSvcClient) CreateAgent ¶
func (client OcbAgentSvcClient) CreateAgent(ctx context.Context, request CreateAgentRequest) (response CreateAgentResponse, err error)
CreateAgent Creates an Agent.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAgent.go.html to see an example of how to use CreateAgent API. A default retry strategy applies to this operation CreateAgent()
func (OcbAgentSvcClient) CreateAgentDependency ¶
func (client OcbAgentSvcClient) CreateAgentDependency(ctx context.Context, request CreateAgentDependencyRequest) (response CreateAgentDependencyResponse, err error)
CreateAgentDependency Creates an AgentDependency.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateAgentDependency.go.html to see an example of how to use CreateAgentDependency API. A default retry strategy applies to this operation CreateAgentDependency()
func (OcbAgentSvcClient) CreateEnvironment ¶
func (client OcbAgentSvcClient) CreateEnvironment(ctx context.Context, request CreateEnvironmentRequest) (response CreateEnvironmentResponse, err error)
CreateEnvironment Creates a source environment.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/CreateEnvironment.go.html to see an example of how to use CreateEnvironment API. A default retry strategy applies to this operation CreateEnvironment()
func (OcbAgentSvcClient) DeleteAgent ¶
func (client OcbAgentSvcClient) DeleteAgent(ctx context.Context, request DeleteAgentRequest) (response DeleteAgentResponse, err error)
DeleteAgent Deletes an Agent resource identified by an identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAgent.go.html to see an example of how to use DeleteAgent API. A default retry strategy applies to this operation DeleteAgent()
func (OcbAgentSvcClient) DeleteAgentDependency ¶
func (client OcbAgentSvcClient) DeleteAgentDependency(ctx context.Context, request DeleteAgentDependencyRequest) (response DeleteAgentDependencyResponse, err error)
DeleteAgentDependency Deletes the AgentDependency resource based on an identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteAgentDependency.go.html to see an example of how to use DeleteAgentDependency API. A default retry strategy applies to this operation DeleteAgentDependency()
func (OcbAgentSvcClient) DeleteEnvironment ¶
func (client OcbAgentSvcClient) DeleteEnvironment(ctx context.Context, request DeleteEnvironmentRequest) (response DeleteEnvironmentResponse, err error)
DeleteEnvironment Deletes a the source environment resource identified by an identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/DeleteEnvironment.go.html to see an example of how to use DeleteEnvironment API. A default retry strategy applies to this operation DeleteEnvironment()
func (OcbAgentSvcClient) GetAgent ¶
func (client OcbAgentSvcClient) GetAgent(ctx context.Context, request GetAgentRequest) (response GetAgentResponse, err error)
GetAgent Gets an Agent by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAgent.go.html to see an example of how to use GetAgent API. A default retry strategy applies to this operation GetAgent()
func (OcbAgentSvcClient) GetAgentDependency ¶
func (client OcbAgentSvcClient) GetAgentDependency(ctx context.Context, request GetAgentDependencyRequest) (response GetAgentDependencyResponse, err error)
GetAgentDependency Gets an AgentDependency by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetAgentDependency.go.html to see an example of how to use GetAgentDependency API. A default retry strategy applies to this operation GetAgentDependency()
func (OcbAgentSvcClient) GetEnvironment ¶
func (client OcbAgentSvcClient) GetEnvironment(ctx context.Context, request GetEnvironmentRequest) (response GetEnvironmentResponse, err error)
GetEnvironment Gets a source environment by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetEnvironment.go.html to see an example of how to use GetEnvironment API. A default retry strategy applies to this operation GetEnvironment()
func (OcbAgentSvcClient) GetPlugin ¶
func (client OcbAgentSvcClient) GetPlugin(ctx context.Context, request GetPluginRequest) (response GetPluginResponse, err error)
GetPlugin Gets a plugin by identifier.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/GetPlugin.go.html to see an example of how to use GetPlugin API. A default retry strategy applies to this operation GetPlugin()
func (OcbAgentSvcClient) ListAgentDependencies ¶
func (client OcbAgentSvcClient) ListAgentDependencies(ctx context.Context, request ListAgentDependenciesRequest) (response ListAgentDependenciesResponse, err error)
ListAgentDependencies Returns a list of AgentDependencies such as AgentDependencyCollection.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAgentDependencies.go.html to see an example of how to use ListAgentDependencies API. A default retry strategy applies to this operation ListAgentDependencies()
func (OcbAgentSvcClient) ListAgents ¶
func (client OcbAgentSvcClient) ListAgents(ctx context.Context, request ListAgentsRequest) (response ListAgentsResponse, err error)
ListAgents Returns a list of Agents.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListAgents.go.html to see an example of how to use ListAgents API. A default retry strategy applies to this operation ListAgents()
func (OcbAgentSvcClient) ListApplianceImages ¶
func (client OcbAgentSvcClient) ListApplianceImages(ctx context.Context, request ListApplianceImagesRequest) (response ListApplianceImagesResponse, err error)
ListApplianceImages Returns a list of Appliance Images.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListApplianceImages.go.html to see an example of how to use ListApplianceImages API. A default retry strategy applies to this operation ListApplianceImages()
func (OcbAgentSvcClient) ListEnvironments ¶
func (client OcbAgentSvcClient) ListEnvironments(ctx context.Context, request ListEnvironmentsRequest) (response ListEnvironmentsResponse, err error)
ListEnvironments Returns a list of source environments.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/ListEnvironments.go.html to see an example of how to use ListEnvironments API. A default retry strategy applies to this operation ListEnvironments()
func (OcbAgentSvcClient) RemoveAgentDependency ¶
func (client OcbAgentSvcClient) RemoveAgentDependency(ctx context.Context, request RemoveAgentDependencyRequest) (response RemoveAgentDependencyResponse, err error)
RemoveAgentDependency Adds a dependency to the source environment. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/RemoveAgentDependency.go.html to see an example of how to use RemoveAgentDependency API. A default retry strategy applies to this operation RemoveAgentDependency()
func (*OcbAgentSvcClient) SetRegion ¶
func (client *OcbAgentSvcClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (OcbAgentSvcClient) UpdateAgent ¶
func (client OcbAgentSvcClient) UpdateAgent(ctx context.Context, request UpdateAgentRequest) (response UpdateAgentResponse, err error)
UpdateAgent Updates the Agent.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAgent.go.html to see an example of how to use UpdateAgent API. A default retry strategy applies to this operation UpdateAgent()
func (OcbAgentSvcClient) UpdateAgentDependency ¶
func (client OcbAgentSvcClient) UpdateAgentDependency(ctx context.Context, request UpdateAgentDependencyRequest) (response UpdateAgentDependencyResponse, err error)
UpdateAgentDependency Updates the AgentDependency.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAgentDependency.go.html to see an example of how to use UpdateAgentDependency API. A default retry strategy applies to this operation UpdateAgentDependency()
func (OcbAgentSvcClient) UpdateEnvironment ¶
func (client OcbAgentSvcClient) UpdateEnvironment(ctx context.Context, request UpdateEnvironmentRequest) (response UpdateEnvironmentResponse, err error)
UpdateEnvironment Updates the source environment.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateEnvironment.go.html to see an example of how to use UpdateEnvironment API. A default retry strategy applies to this operation UpdateEnvironment()
func (OcbAgentSvcClient) UpdatePlugin ¶
func (client OcbAgentSvcClient) UpdatePlugin(ctx context.Context, request UpdatePluginRequest) (response UpdatePluginResponse, err error)
UpdatePlugin Updates the plugin.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdatePlugin.go.html to see an example of how to use UpdatePlugin API. A default retry strategy applies to this operation UpdatePlugin()
type OlvmAgent ¶ added in v65.111.0
type OlvmAgent struct {
// Fence agent address
Address *string `mandatory:"false" json:"address"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Specified whether the agent should be used concurrently or sequentially
IsConcurrent *bool `mandatory:"false" json:"isConcurrent"`
// Free text containing comments about this object.
Description *string `mandatory:"false" json:"description"`
// Specifies whether the options should be encrypted.
IsEncryptOptions *bool `mandatory:"false" json:"isEncryptOptions"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// A human-readable name in plain text
Name *string `mandatory:"false" json:"name"`
// The order of this agent if used with other agents.
Order *int `mandatory:"false" json:"order"`
// Fence agent port.
Port *int `mandatory:"false" json:"port"`
// Fence agent type.
Type *string `mandatory:"false" json:"type"`
// Fence agent user name.
Username *string `mandatory:"false" json:"username"`
}
OlvmAgent Type representing a fence agent.
func (OlvmAgent) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmAssetSource ¶ added in v65.111.0
type OlvmAssetSource struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The time when the asset source was created in the RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The point in time that the asset source was last updated in the RFC3339 format.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Endpoint for OLVM asset discovery and replication in the form of “`https://<host>:<port>“`
OlvmEndpoint *string `mandatory:"true" json:"olvmEndpoint"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an attached discovery schedule.
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.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.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.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"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
OlvmAssetSource OLVM asset source. Used for discovery of clusters and storage domains registered in the OLVM environment.
func (OlvmAssetSource) GetAssetsCompartmentId ¶ added in v65.111.0
func (m OlvmAssetSource) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (OlvmAssetSource) GetCompartmentId ¶ added in v65.111.0
func (m OlvmAssetSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (OlvmAssetSource) GetDefinedTags ¶ added in v65.111.0
func (m OlvmAssetSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (OlvmAssetSource) GetDiscoveryScheduleId ¶ added in v65.111.0
func (m OlvmAssetSource) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (OlvmAssetSource) GetDisplayName ¶ added in v65.111.0
func (m OlvmAssetSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (OlvmAssetSource) GetEnvironmentId ¶ added in v65.111.0
func (m OlvmAssetSource) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (OlvmAssetSource) GetEnvironmentType ¶ added in v65.111.0
func (m OlvmAssetSource) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (OlvmAssetSource) GetFreeformTags ¶ added in v65.111.0
func (m OlvmAssetSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (OlvmAssetSource) GetId ¶ added in v65.111.0
func (m OlvmAssetSource) GetId() *string
GetId returns Id
func (OlvmAssetSource) GetInventoryId ¶ added in v65.111.0
func (m OlvmAssetSource) GetInventoryId() *string
GetInventoryId returns InventoryId
func (OlvmAssetSource) GetLifecycleDetails ¶ added in v65.111.0
func (m OlvmAssetSource) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (OlvmAssetSource) GetLifecycleState ¶ added in v65.111.0
func (m OlvmAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (OlvmAssetSource) GetSystemTags ¶ added in v65.111.0
func (m OlvmAssetSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (OlvmAssetSource) GetTimeCreated ¶ added in v65.111.0
func (m OlvmAssetSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (OlvmAssetSource) GetTimeUpdated ¶ added in v65.111.0
func (m OlvmAssetSource) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (OlvmAssetSource) MarshalJSON ¶ added in v65.111.0
func (m OlvmAssetSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (OlvmAssetSource) String ¶ added in v65.111.0
func (m OlvmAssetSource) String() string
func (OlvmAssetSource) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmAssetSource) 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
type OlvmAssetSourceSummary ¶ added in v65.111.0
type OlvmAssetSourceSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/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 OLVM asset discovery and replication in the form of “`https://<host>:<port>“`
OlvmEndpoint *string `mandatory:"true" json:"olvmEndpoint"`
// The time when the asset source was created in RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The point in time that the asset source was last updated in RFC3339 format.
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.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.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.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"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
OlvmAssetSourceSummary Summary of an OLVM asset source provided in the list.
func (OlvmAssetSourceSummary) GetAssetsCompartmentId ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (OlvmAssetSourceSummary) GetCompartmentId ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (OlvmAssetSourceSummary) GetDefinedTags ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (OlvmAssetSourceSummary) GetDisplayName ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (OlvmAssetSourceSummary) GetEnvironmentId ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (OlvmAssetSourceSummary) GetEnvironmentType ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (OlvmAssetSourceSummary) GetFreeformTags ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (OlvmAssetSourceSummary) GetId ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetId() *string
GetId returns Id
func (OlvmAssetSourceSummary) GetInventoryId ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetInventoryId() *string
GetInventoryId returns InventoryId
func (OlvmAssetSourceSummary) GetLifecycleDetails ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (OlvmAssetSourceSummary) GetLifecycleState ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (OlvmAssetSourceSummary) GetSystemTags ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (OlvmAssetSourceSummary) GetTimeCreated ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (OlvmAssetSourceSummary) GetTimeUpdated ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (OlvmAssetSourceSummary) MarshalJSON ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (OlvmAssetSourceSummary) String ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) String() string
func (OlvmAssetSourceSummary) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmAssetSourceSummary) 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
type OlvmBios ¶ added in v65.111.0
type OlvmBios struct {
BootMenu *OlvmBootMenu `mandatory:"false" json:"bootMenu"`
BiosType *OlvmBiosType `mandatory:"false" json:"biosType"`
}
OlvmBios OLVM Bios
func (OlvmBios) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmBiosType ¶ added in v65.111.0
type OlvmBiosType struct {
// Chipset and BIOS type combination.
Type OlvmBiosTypeTypeEnum `mandatory:"false" json:"type,omitempty"`
}
OlvmBiosType Chipset and BIOS type combination.
func (OlvmBiosType) String ¶ added in v65.111.0
func (m OlvmBiosType) String() string
func (OlvmBiosType) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmBiosType) 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
type OlvmBiosTypeTypeEnum ¶ added in v65.111.0
type OlvmBiosTypeTypeEnum string
OlvmBiosTypeTypeEnum Enum with underlying type: string
const ( OlvmBiosTypeTypeClusterDefault OlvmBiosTypeTypeEnum = "CLUSTER_DEFAULT" OlvmBiosTypeTypeI440fxSeaBios OlvmBiosTypeTypeEnum = "I440FX_SEA_BIOS" OlvmBiosTypeTypeQ35Ovmf OlvmBiosTypeTypeEnum = "Q35_OVMF" OlvmBiosTypeTypeQ35SeaBios OlvmBiosTypeTypeEnum = "Q35_SEA_BIOS" OlvmBiosTypeTypeQ35SecureBoot OlvmBiosTypeTypeEnum = "Q35_SECURE_BOOT" )
Set of constants representing the allowable values for OlvmBiosTypeTypeEnum
func GetMappingOlvmBiosTypeTypeEnum ¶ added in v65.111.0
func GetMappingOlvmBiosTypeTypeEnum(val string) (OlvmBiosTypeTypeEnum, bool)
GetMappingOlvmBiosTypeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmBiosTypeTypeEnumValues ¶ added in v65.111.0
func GetOlvmBiosTypeTypeEnumValues() []OlvmBiosTypeTypeEnum
GetOlvmBiosTypeTypeEnumValues Enumerates the set of values for OlvmBiosTypeTypeEnum
type OlvmBootDeviceEnum ¶ added in v65.111.0
type OlvmBootDeviceEnum string
OlvmBootDeviceEnum Enum with underlying type: string
const ( OlvmBootDeviceCdrom OlvmBootDeviceEnum = "CDROM" OlvmBootDeviceHd OlvmBootDeviceEnum = "HD" OlvmBootDeviceNetwork OlvmBootDeviceEnum = "NETWORK" )
Set of constants representing the allowable values for OlvmBootDeviceEnum
func GetMappingOlvmBootDeviceEnum ¶ added in v65.111.0
func GetMappingOlvmBootDeviceEnum(val string) (OlvmBootDeviceEnum, bool)
GetMappingOlvmBootDeviceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmBootDeviceEnumValues ¶ added in v65.111.0
func GetOlvmBootDeviceEnumValues() []OlvmBootDeviceEnum
GetOlvmBootDeviceEnumValues Enumerates the set of values for OlvmBootDeviceEnum
type OlvmBootMenu ¶ added in v65.111.0
type OlvmBootMenu struct {
// Whether the boot menu is enabled for this virtual machine (or template), or not.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}
OlvmBootMenu Represents boot menu configuration for OLVM virtual machines and templates.
func (OlvmBootMenu) String ¶ added in v65.111.0
func (m OlvmBootMenu) String() string
func (OlvmBootMenu) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmBootMenu) 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
type OlvmBootProtocol ¶ added in v65.111.0
type OlvmBootProtocol struct {
// IP address assignment methods to a NIC.
Protocol OlvmBootProtocolProtocolEnum `mandatory:"false" json:"protocol,omitempty"`
}
OlvmBootProtocol Defines the options of the IP address assignment method to a NIC.
func (OlvmBootProtocol) String ¶ added in v65.111.0
func (m OlvmBootProtocol) String() string
func (OlvmBootProtocol) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmBootProtocol) 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
type OlvmBootProtocolProtocolEnum ¶ added in v65.111.0
type OlvmBootProtocolProtocolEnum string
OlvmBootProtocolProtocolEnum Enum with underlying type: string
const ( OlvmBootProtocolProtocolAutoconf OlvmBootProtocolProtocolEnum = "AUTOCONF" OlvmBootProtocolProtocolDhcp OlvmBootProtocolProtocolEnum = "DHCP" OlvmBootProtocolProtocolNone OlvmBootProtocolProtocolEnum = "NONE" OlvmBootProtocolProtocolPolyDhcpAutoconf OlvmBootProtocolProtocolEnum = "POLY_DHCP_AUTOCONF" OlvmBootProtocolProtocolStatic OlvmBootProtocolProtocolEnum = "STATIC" )
Set of constants representing the allowable values for OlvmBootProtocolProtocolEnum
func GetMappingOlvmBootProtocolProtocolEnum ¶ added in v65.111.0
func GetMappingOlvmBootProtocolProtocolEnum(val string) (OlvmBootProtocolProtocolEnum, bool)
GetMappingOlvmBootProtocolProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmBootProtocolProtocolEnumValues ¶ added in v65.111.0
func GetOlvmBootProtocolProtocolEnumValues() []OlvmBootProtocolProtocolEnum
GetOlvmBootProtocolProtocolEnumValues Enumerates the set of values for OlvmBootProtocolProtocolEnum
type OlvmCertificate ¶ added in v65.111.0
type OlvmCertificate struct {
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Content of the certificate.
Content *string `mandatory:"false" json:"content"`
// A human-readable description in plain text.
CertificateDescription *string `mandatory:"false" json:"certificateDescription"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// A human-readable name in plain text.
Name *string `mandatory:"false" json:"name"`
// Organization of the certificate
Organization *string `mandatory:"false" json:"organization"`
// Subject of the certificate
Subject *string `mandatory:"false" json:"subject"`
}
OlvmCertificate The TLS certificate in case of a TLS connection.
func (OlvmCertificate) String ¶ added in v65.111.0
func (m OlvmCertificate) String() string
func (OlvmCertificate) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmCertificate) 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
type OlvmClusterAssetDetails ¶ added in v65.111.0
type OlvmClusterAssetDetails struct {
OlvmCluster *OlvmClusterProperties `mandatory:"true" json:"olvmCluster"`
}
OlvmClusterAssetDetails OLVM Cluster type of asset.
func (OlvmClusterAssetDetails) String ¶ added in v65.111.0
func (m OlvmClusterAssetDetails) String() string
func (OlvmClusterAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmClusterAssetDetails) 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
type OlvmClusterProperties ¶ added in v65.111.0
type OlvmClusterProperties struct {
// A human-readable name in plain text.
ClusterName *string `mandatory:"true" json:"clusterName"`
// A human-readable description in plain text.
ClusterDescription *string `mandatory:"false" json:"clusterDescription"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Whether ballooning is enabled.
IsBallooningEnabled *bool `mandatory:"false" json:"isBallooningEnabled"`
BiosType *OlvmBiosType `mandatory:"false" json:"biosType"`
Cpu *OlvmCpu `mandatory:"false" json:"cpu"`
// Custom scheduling policy properties of the cluster.
CustomSchedulingPolicyProperties []OlvmProperty `mandatory:"false" json:"customSchedulingPolicyProperties"`
Display *OlvmDisplay `mandatory:"false" json:"display"`
ErrorHandling *OlvmErrorHandling `mandatory:"false" json:"errorHandling"`
FencingPolicy *OlvmFencingPolicy `mandatory:"false" json:"fencingPolicy"`
// FIPS mode of the cluster.
FipsMode OlvmClusterPropertiesFipsModeEnum `mandatory:"false" json:"fipsMode,omitempty"`
// The type of firewall to be used on hosts in this cluster.
FirewallType OlvmClusterPropertiesFirewallTypeEnum `mandatory:"false" json:"firewallType,omitempty"`
// Indicates if Gluster service is used.
IsGlusterService *bool `mandatory:"false" json:"isGlusterService"`
// The name of the tuned profile.
GlusterTunedProfile *string `mandatory:"false" json:"glusterTunedProfile"`
// Indicates whether HA reservation is enabled.
IsHaReservation *bool `mandatory:"false" json:"isHaReservation"`
Ksm *Ksm `mandatory:"false" json:"ksm"`
// The memory consumption threshold for logging audit log events
LogMaxMemoryUsedThreshold *int `mandatory:"false" json:"logMaxMemoryUsedThreshold"`
// The memory consumption threshold type for logging audit log events.
LogMaxMemoryUsedThresholdType OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum `mandatory:"false" json:"logMaxMemoryUsedThresholdType,omitempty"`
MemoryPolicy *OlvmMemoryPolicy `mandatory:"false" json:"memoryPolicy"`
MigrationPolicy *OlvmMigrationOptions `mandatory:"false" json:"migrationPolicy"`
// Set of random number generator (RNG) sources required from each host in the cluster.
RequiredRngSources []RngSourceEnum `mandatory:"false" json:"requiredRngSources"`
SerialNumber *OlvmSerialNumber `mandatory:"false" json:"serialNumber"`
// List of supported versions.
SupportedVersions []OlvmVersion `mandatory:"false" json:"supportedVersions"`
// Describes all switch types supported by the Manager
SwitchType OlvmClusterPropertiesSwitchTypeEnum `mandatory:"false" json:"switchType,omitempty"`
// Indicates if threads should be used as cores
IsUseThreadsAsCores *bool `mandatory:"false" json:"isUseThreadsAsCores"`
// Indicates if trusted service is enabled
IsTrustedService *bool `mandatory:"false" json:"isTrustedService"`
// Indicates if tunnel migration is enabled
IsTunnelMigration *bool `mandatory:"false" json:"isTunnelMigration"`
// The upgrade correlation identifier.
UpgradeCorrelationId *string `mandatory:"false" json:"upgradeCorrelationId"`
// Indicates if an upgrade has been started for the cluster.
IsUpdateInProgress *bool `mandatory:"false" json:"isUpdateInProgress"`
// If an upgrade is in progress, the upgrade’s reported percent complete.
UpgradePercentComplete *int `mandatory:"false" json:"upgradePercentComplete"`
Version *OlvmVersion `mandatory:"false" json:"version"`
// Indicates if virt service is enabled.
IsVirtService *bool `mandatory:"false" json:"isVirtService"`
// Indicates if VNC encryption is enabled.
IsVncEncryption *bool `mandatory:"false" json:"isVncEncryption"`
// List of data centers where storage domain belongs
DataCenters []OlvmDataCenter `mandatory:"false" json:"dataCenters"`
}
OlvmClusterProperties OLVM Cluster properties.
func (OlvmClusterProperties) String ¶ added in v65.111.0
func (m OlvmClusterProperties) String() string
func (OlvmClusterProperties) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmClusterProperties) 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
type OlvmClusterPropertiesFipsModeEnum ¶ added in v65.111.0
type OlvmClusterPropertiesFipsModeEnum string
OlvmClusterPropertiesFipsModeEnum Enum with underlying type: string
const ( OlvmClusterPropertiesFipsModeDisabled OlvmClusterPropertiesFipsModeEnum = "DISABLED" OlvmClusterPropertiesFipsModeEnabled OlvmClusterPropertiesFipsModeEnum = "ENABLED" OlvmClusterPropertiesFipsModeUndefined OlvmClusterPropertiesFipsModeEnum = "UNDEFINED" )
Set of constants representing the allowable values for OlvmClusterPropertiesFipsModeEnum
func GetMappingOlvmClusterPropertiesFipsModeEnum ¶ added in v65.111.0
func GetMappingOlvmClusterPropertiesFipsModeEnum(val string) (OlvmClusterPropertiesFipsModeEnum, bool)
GetMappingOlvmClusterPropertiesFipsModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmClusterPropertiesFipsModeEnumValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesFipsModeEnumValues() []OlvmClusterPropertiesFipsModeEnum
GetOlvmClusterPropertiesFipsModeEnumValues Enumerates the set of values for OlvmClusterPropertiesFipsModeEnum
type OlvmClusterPropertiesFirewallTypeEnum ¶ added in v65.111.0
type OlvmClusterPropertiesFirewallTypeEnum string
OlvmClusterPropertiesFirewallTypeEnum Enum with underlying type: string
const ( OlvmClusterPropertiesFirewallTypeFirewalld OlvmClusterPropertiesFirewallTypeEnum = "FIREWALLD" OlvmClusterPropertiesFirewallTypeIptables OlvmClusterPropertiesFirewallTypeEnum = "IPTABLES" )
Set of constants representing the allowable values for OlvmClusterPropertiesFirewallTypeEnum
func GetMappingOlvmClusterPropertiesFirewallTypeEnum ¶ added in v65.111.0
func GetMappingOlvmClusterPropertiesFirewallTypeEnum(val string) (OlvmClusterPropertiesFirewallTypeEnum, bool)
GetMappingOlvmClusterPropertiesFirewallTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmClusterPropertiesFirewallTypeEnumValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesFirewallTypeEnumValues() []OlvmClusterPropertiesFirewallTypeEnum
GetOlvmClusterPropertiesFirewallTypeEnumValues Enumerates the set of values for OlvmClusterPropertiesFirewallTypeEnum
type OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum ¶ added in v65.111.0
type OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum string
OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum Enum with underlying type: string
const ( OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeAbsoluteValueInMb OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum = "ABSOLUTE_VALUE_IN_MB" OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypePercentage OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum = "PERCENTAGE" )
Set of constants representing the allowable values for OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum
func GetMappingOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum ¶ added in v65.111.0
func GetMappingOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum(val string) (OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum, bool)
GetMappingOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumValues() []OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum
GetOlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnumValues Enumerates the set of values for OlvmClusterPropertiesLogMaxMemoryUsedThresholdTypeEnum
type OlvmClusterPropertiesSwitchTypeEnum ¶ added in v65.111.0
type OlvmClusterPropertiesSwitchTypeEnum string
OlvmClusterPropertiesSwitchTypeEnum Enum with underlying type: string
const ( OlvmClusterPropertiesSwitchTypeLegacy OlvmClusterPropertiesSwitchTypeEnum = "LEGACY" OlvmClusterPropertiesSwitchTypeOvs OlvmClusterPropertiesSwitchTypeEnum = "OVS" )
Set of constants representing the allowable values for OlvmClusterPropertiesSwitchTypeEnum
func GetMappingOlvmClusterPropertiesSwitchTypeEnum ¶ added in v65.111.0
func GetMappingOlvmClusterPropertiesSwitchTypeEnum(val string) (OlvmClusterPropertiesSwitchTypeEnum, bool)
GetMappingOlvmClusterPropertiesSwitchTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmClusterPropertiesSwitchTypeEnumValues ¶ added in v65.111.0
func GetOlvmClusterPropertiesSwitchTypeEnumValues() []OlvmClusterPropertiesSwitchTypeEnum
GetOlvmClusterPropertiesSwitchTypeEnumValues Enumerates the set of values for OlvmClusterPropertiesSwitchTypeEnum
type OlvmConfiguration ¶ added in v65.111.0
type OlvmConfiguration struct {
// The document describing the virtual machine.
Data *string `mandatory:"false" json:"data"`
// Configuration format types.
ConfigurationType OlvmConfigurationConfigurationTypeEnum `mandatory:"false" json:"configurationType,omitempty"`
}
OlvmConfiguration Configuration of the OLVM virtual machine.
func (OlvmConfiguration) String ¶ added in v65.111.0
func (m OlvmConfiguration) String() string
func (OlvmConfiguration) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmConfiguration) 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
type OlvmConfigurationConfigurationTypeEnum ¶ added in v65.111.0
type OlvmConfigurationConfigurationTypeEnum string
OlvmConfigurationConfigurationTypeEnum Enum with underlying type: string
const ( OlvmConfigurationConfigurationTypeOva OlvmConfigurationConfigurationTypeEnum = "OVA" OlvmConfigurationConfigurationTypeOvf OlvmConfigurationConfigurationTypeEnum = "OVF" )
Set of constants representing the allowable values for OlvmConfigurationConfigurationTypeEnum
func GetMappingOlvmConfigurationConfigurationTypeEnum ¶ added in v65.111.0
func GetMappingOlvmConfigurationConfigurationTypeEnum(val string) (OlvmConfigurationConfigurationTypeEnum, bool)
GetMappingOlvmConfigurationConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmConfigurationConfigurationTypeEnumValues ¶ added in v65.111.0
func GetOlvmConfigurationConfigurationTypeEnumValues() []OlvmConfigurationConfigurationTypeEnum
GetOlvmConfigurationConfigurationTypeEnumValues Enumerates the set of values for OlvmConfigurationConfigurationTypeEnum
type OlvmConsole ¶ added in v65.111.0
type OlvmConsole struct {
// Enable/disable the serial console device.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}
OlvmConsole Representation for serial console device.
func (OlvmConsole) String ¶ added in v65.111.0
func (m OlvmConsole) String() string
func (OlvmConsole) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmConsole) 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
type OlvmCore ¶ added in v65.111.0
type OlvmCore struct {
// Index of this CPU core
Index *int `mandatory:"false" json:"index"`
// Socket of this CPU core
Socket *int `mandatory:"false" json:"socket"`
}
OlvmCore Core of the CPU in OLVM
func (OlvmCore) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmCpu ¶ added in v65.111.0
type OlvmCpu struct {
// CPU architecture
Architecture OlvmCpuArchitectureEnum `mandatory:"false" json:"architecture,omitempty"`
// List of cores of this CPU
Core []OlvmCore `mandatory:"false" json:"core"`
CpuTune *OlvmCpuTune `mandatory:"false" json:"cpuTune"`
// Level of this CPU
Level *int `mandatory:"false" json:"level"`
// CPU mode
Mode OlvmCpuModeEnum `mandatory:"false" json:"mode,omitempty"`
// A human-readable name in plain text.
Name *string `mandatory:"false" json:"name"`
// Speed of this CPU
Speed *float32 `mandatory:"false" json:"speed"`
CpuTopology *OlvmCpuTopology `mandatory:"false" json:"cpuTopology"`
// CPU type
Type *string `mandatory:"false" json:"type"`
}
OlvmCpu CPU attributes in OLVM
func (OlvmCpu) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmCpuArchitectureEnum ¶ added in v65.111.0
type OlvmCpuArchitectureEnum string
OlvmCpuArchitectureEnum Enum with underlying type: string
const ( OlvmCpuArchitectureAarch64 OlvmCpuArchitectureEnum = "AARCH64" OlvmCpuArchitecturePpc64 OlvmCpuArchitectureEnum = "PPC64" OlvmCpuArchitectureS390x OlvmCpuArchitectureEnum = "S390X" OlvmCpuArchitectureUndefined OlvmCpuArchitectureEnum = "UNDEFINED" OlvmCpuArchitectureX8664 OlvmCpuArchitectureEnum = "X86_64" )
Set of constants representing the allowable values for OlvmCpuArchitectureEnum
func GetMappingOlvmCpuArchitectureEnum ¶ added in v65.111.0
func GetMappingOlvmCpuArchitectureEnum(val string) (OlvmCpuArchitectureEnum, bool)
GetMappingOlvmCpuArchitectureEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmCpuArchitectureEnumValues ¶ added in v65.111.0
func GetOlvmCpuArchitectureEnumValues() []OlvmCpuArchitectureEnum
GetOlvmCpuArchitectureEnumValues Enumerates the set of values for OlvmCpuArchitectureEnum
type OlvmCpuModeEnum ¶ added in v65.111.0
type OlvmCpuModeEnum string
OlvmCpuModeEnum Enum with underlying type: string
const ( OlvmCpuModeCustom OlvmCpuModeEnum = "CUSTOM" OlvmCpuModeHostModel OlvmCpuModeEnum = "HOST_MODEL" OlvmCpuModeHostPassthrough OlvmCpuModeEnum = "HOST_PASSTHROUGH" )
Set of constants representing the allowable values for OlvmCpuModeEnum
func GetMappingOlvmCpuModeEnum ¶ added in v65.111.0
func GetMappingOlvmCpuModeEnum(val string) (OlvmCpuModeEnum, bool)
GetMappingOlvmCpuModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmCpuModeEnumValues ¶ added in v65.111.0
func GetOlvmCpuModeEnumValues() []OlvmCpuModeEnum
GetOlvmCpuModeEnumValues Enumerates the set of values for OlvmCpuModeEnum
type OlvmCpuTopology ¶ added in v65.111.0
type OlvmCpuTopology struct {
// Number of cores
Cores *int `mandatory:"false" json:"cores"`
// Number of sockets
Sockets *int `mandatory:"false" json:"sockets"`
// Number of threads
Threads *int `mandatory:"false" json:"threads"`
}
OlvmCpuTopology CPU Topology in OLVM
func (OlvmCpuTopology) String ¶ added in v65.111.0
func (m OlvmCpuTopology) String() string
func (OlvmCpuTopology) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmCpuTopology) 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
type OlvmCpuTune ¶ added in v65.111.0
type OlvmCpuTune struct {
// List of vCPU Pins
VcpuPin []VcpuPin `mandatory:"false" json:"vcpuPin"`
}
OlvmCpuTune CPU Tune in OLVM
func (OlvmCpuTune) String ¶ added in v65.111.0
func (m OlvmCpuTune) String() string
func (OlvmCpuTune) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmCpuTune) 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
type OlvmCustomProperty ¶ added in v65.111.0
type OlvmCustomProperty struct {
// Property name
Name *string `mandatory:"false" json:"name"`
// A regular expression defining the available values a custom property can get.
Regexp *string `mandatory:"false" json:"regexp"`
// Property value
Value *string `mandatory:"false" json:"value"`
}
OlvmCustomProperty Custom properties applied to the vNIC Profile.
func (OlvmCustomProperty) String ¶ added in v65.111.0
func (m OlvmCustomProperty) String() string
func (OlvmCustomProperty) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmCustomProperty) 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
type OlvmDataCenter ¶ added in v65.111.0
type OlvmDataCenter struct {
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// A human-readable name in plain text.
Name *string `mandatory:"false" json:"name"`
// Whether the data center is local.
IsLocal *bool `mandatory:"false" json:"isLocal"`
// The type of quota mode
QuotaModeType OlvmDataCenterQuotaModeTypeEnum `mandatory:"false" json:"quotaModeType,omitempty"`
// The status of data center
DataCenterStatus OlvmDataCenterDataCenterStatusEnum `mandatory:"false" json:"dataCenterStatus,omitempty"`
// Type which represents a format of storage domain
StorageFormat OlvmDataCenterStorageFormatEnum `mandatory:"false" json:"storageFormat,omitempty"`
// List of supported versions.
SupportedVersions []OlvmVersion `mandatory:"false" json:"supportedVersions"`
Version *OlvmVersion `mandatory:"false" json:"version"`
}
OlvmDataCenter An OLVM Data Center.
func (OlvmDataCenter) String ¶ added in v65.111.0
func (m OlvmDataCenter) String() string
func (OlvmDataCenter) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmDataCenter) 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
type OlvmDataCenterDataCenterStatusEnum ¶ added in v65.111.0
type OlvmDataCenterDataCenterStatusEnum string
OlvmDataCenterDataCenterStatusEnum Enum with underlying type: string
const ( OlvmDataCenterDataCenterStatusContend OlvmDataCenterDataCenterStatusEnum = "CONTEND" OlvmDataCenterDataCenterStatusMaintenance OlvmDataCenterDataCenterStatusEnum = "MAINTENANCE" OlvmDataCenterDataCenterStatusNotOperational OlvmDataCenterDataCenterStatusEnum = "NOT_OPERATIONAL" OlvmDataCenterDataCenterStatusProblematic OlvmDataCenterDataCenterStatusEnum = "PROBLEMATIC" OlvmDataCenterDataCenterStatusUninitialized OlvmDataCenterDataCenterStatusEnum = "UNINITIALIZED" OlvmDataCenterDataCenterStatusUp OlvmDataCenterDataCenterStatusEnum = "UP" )
Set of constants representing the allowable values for OlvmDataCenterDataCenterStatusEnum
func GetMappingOlvmDataCenterDataCenterStatusEnum ¶ added in v65.111.0
func GetMappingOlvmDataCenterDataCenterStatusEnum(val string) (OlvmDataCenterDataCenterStatusEnum, bool)
GetMappingOlvmDataCenterDataCenterStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmDataCenterDataCenterStatusEnumValues ¶ added in v65.111.0
func GetOlvmDataCenterDataCenterStatusEnumValues() []OlvmDataCenterDataCenterStatusEnum
GetOlvmDataCenterDataCenterStatusEnumValues Enumerates the set of values for OlvmDataCenterDataCenterStatusEnum
type OlvmDataCenterQuotaModeTypeEnum ¶ added in v65.111.0
type OlvmDataCenterQuotaModeTypeEnum string
OlvmDataCenterQuotaModeTypeEnum Enum with underlying type: string
const ( OlvmDataCenterQuotaModeTypeAudit OlvmDataCenterQuotaModeTypeEnum = "AUDIT" OlvmDataCenterQuotaModeTypeDisabled OlvmDataCenterQuotaModeTypeEnum = "DISABLED" OlvmDataCenterQuotaModeTypeEnabled OlvmDataCenterQuotaModeTypeEnum = "ENABLED" )
Set of constants representing the allowable values for OlvmDataCenterQuotaModeTypeEnum
func GetMappingOlvmDataCenterQuotaModeTypeEnum ¶ added in v65.111.0
func GetMappingOlvmDataCenterQuotaModeTypeEnum(val string) (OlvmDataCenterQuotaModeTypeEnum, bool)
GetMappingOlvmDataCenterQuotaModeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmDataCenterQuotaModeTypeEnumValues ¶ added in v65.111.0
func GetOlvmDataCenterQuotaModeTypeEnumValues() []OlvmDataCenterQuotaModeTypeEnum
GetOlvmDataCenterQuotaModeTypeEnumValues Enumerates the set of values for OlvmDataCenterQuotaModeTypeEnum
type OlvmDataCenterStorageFormatEnum ¶ added in v65.111.0
type OlvmDataCenterStorageFormatEnum string
OlvmDataCenterStorageFormatEnum Enum with underlying type: string
const ( OlvmDataCenterStorageFormatV1 OlvmDataCenterStorageFormatEnum = "V1" OlvmDataCenterStorageFormatV2 OlvmDataCenterStorageFormatEnum = "V2" OlvmDataCenterStorageFormatV3 OlvmDataCenterStorageFormatEnum = "V3" OlvmDataCenterStorageFormatV4 OlvmDataCenterStorageFormatEnum = "V4" OlvmDataCenterStorageFormatV5 OlvmDataCenterStorageFormatEnum = "V5" )
Set of constants representing the allowable values for OlvmDataCenterStorageFormatEnum
func GetMappingOlvmDataCenterStorageFormatEnum ¶ added in v65.111.0
func GetMappingOlvmDataCenterStorageFormatEnum(val string) (OlvmDataCenterStorageFormatEnum, bool)
GetMappingOlvmDataCenterStorageFormatEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmDataCenterStorageFormatEnumValues ¶ added in v65.111.0
func GetOlvmDataCenterStorageFormatEnumValues() []OlvmDataCenterStorageFormatEnum
GetOlvmDataCenterStorageFormatEnumValues Enumerates the set of values for OlvmDataCenterStorageFormatEnum
type OlvmDisplay ¶ added in v65.111.0
type OlvmDisplay struct {
// The IP address of the guest to connect the graphic console client to.
Address *string `mandatory:"false" json:"address"`
// Indicates if to override the display address per host.
IsAllowOverride *bool `mandatory:"false" json:"isAllowOverride"`
Certificate *OlvmCertificate `mandatory:"false" json:"certificate"`
// Indicates whether a user is able to copy and paste content from an external host into the graphic console.
IsCopyPasteEnabled *bool `mandatory:"false" json:"isCopyPasteEnabled"`
// Returns the action that will take place when the graphic console is disconnected.
DisconnectAction *string `mandatory:"false" json:"disconnectAction"`
// Delay (in minutes) before the graphic console disconnect action is carried out.
DisconnectActionDelayInMinutes *int `mandatory:"false" json:"disconnectActionDelayInMinutes"`
// Indicates if a user is able to drag and drop files from an external host into the graphic console.
IsFileTransferEnabled *bool `mandatory:"false" json:"isFileTransferEnabled"`
// The keyboard layout to use with this graphic console.
KeyboardLayout *string `mandatory:"false" json:"keyboardLayout"`
// The number of monitors opened for this graphic console.
Monitors *int `mandatory:"false" json:"monitors"`
// The port address on the guest to connect the graphic console client to
Port *int `mandatory:"false" json:"port"`
// The proxy IP which will be used by the graphic console client to connect to the guest.
Proxy *string `mandatory:"false" json:"proxy"`
// The secured port address on the guest, in case of using TLS, to connect the graphic console client to.
SecurePort *int `mandatory:"false" json:"securePort"`
// The engine now sets it automatically according to the operating system.
IsSingleQxlPci *bool `mandatory:"false" json:"isSingleQxlPci"`
// The graphic console protocol type.
DisplayType OlvmDisplayDisplayTypeEnum `mandatory:"false" json:"displayType,omitempty"`
}
OlvmDisplay Display object in OLVM
func (OlvmDisplay) String ¶ added in v65.111.0
func (m OlvmDisplay) String() string
func (OlvmDisplay) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmDisplay) 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
type OlvmDisplayDisplayTypeEnum ¶ added in v65.111.0
type OlvmDisplayDisplayTypeEnum string
OlvmDisplayDisplayTypeEnum Enum with underlying type: string
const ( OlvmDisplayDisplayTypeSpice OlvmDisplayDisplayTypeEnum = "SPICE" OlvmDisplayDisplayTypeVnc OlvmDisplayDisplayTypeEnum = "VNC" )
Set of constants representing the allowable values for OlvmDisplayDisplayTypeEnum
func GetMappingOlvmDisplayDisplayTypeEnum ¶ added in v65.111.0
func GetMappingOlvmDisplayDisplayTypeEnum(val string) (OlvmDisplayDisplayTypeEnum, bool)
GetMappingOlvmDisplayDisplayTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmDisplayDisplayTypeEnumValues ¶ added in v65.111.0
func GetOlvmDisplayDisplayTypeEnumValues() []OlvmDisplayDisplayTypeEnum
GetOlvmDisplayDisplayTypeEnumValues Enumerates the set of values for OlvmDisplayDisplayTypeEnum
type OlvmDomain ¶ added in v65.111.0
type OlvmDomain struct {
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// Name of the property.
Name *string `mandatory:"false" json:"name"`
}
OlvmDomain This type represents a directory service domain
func (OlvmDomain) String ¶ added in v65.111.0
func (m OlvmDomain) String() string
func (OlvmDomain) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmDomain) 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
type OlvmErrorHandling ¶ added in v65.111.0
type OlvmErrorHandling struct {
// Migrate on error
OnError OlvmErrorHandlingOnErrorEnum `mandatory:"false" json:"onError,omitempty"`
}
OlvmErrorHandling Error Handling in OLVM
func (OlvmErrorHandling) String ¶ added in v65.111.0
func (m OlvmErrorHandling) String() string
func (OlvmErrorHandling) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmErrorHandling) 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
type OlvmErrorHandlingOnErrorEnum ¶ added in v65.111.0
type OlvmErrorHandlingOnErrorEnum string
OlvmErrorHandlingOnErrorEnum Enum with underlying type: string
const ( OlvmErrorHandlingOnErrorDoNotMigrate OlvmErrorHandlingOnErrorEnum = "DO_NOT_MIGRATE" OlvmErrorHandlingOnErrorMigrate OlvmErrorHandlingOnErrorEnum = "MIGRATE" OlvmErrorHandlingOnErrorMigrateHighlyAvailable OlvmErrorHandlingOnErrorEnum = "MIGRATE_HIGHLY_AVAILABLE" )
Set of constants representing the allowable values for OlvmErrorHandlingOnErrorEnum
func GetMappingOlvmErrorHandlingOnErrorEnum ¶ added in v65.111.0
func GetMappingOlvmErrorHandlingOnErrorEnum(val string) (OlvmErrorHandlingOnErrorEnum, bool)
GetMappingOlvmErrorHandlingOnErrorEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmErrorHandlingOnErrorEnumValues ¶ added in v65.111.0
func GetOlvmErrorHandlingOnErrorEnumValues() []OlvmErrorHandlingOnErrorEnum
GetOlvmErrorHandlingOnErrorEnumValues Enumerates the set of values for OlvmErrorHandlingOnErrorEnum
type OlvmFencingPolicy ¶ added in v65.111.0
type OlvmFencingPolicy struct {
// Enable or disable fencing on this cluster.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
SkipIfConnectivityBroken *SkipIfConnectivityBroken `mandatory:"false" json:"skipIfConnectivityBroken"`
// A flag indicating if fencing should be skipped if Gluster bricks are up and running in the host being fenced.
IsSkipIfGlusterBricksUp *bool `mandatory:"false" json:"isSkipIfGlusterBricksUp"`
// A flag indicating if fencing should be skipped if Gluster bricks are up and running and Gluster quorum will not be met without those bricks.
IsSkipIfGlusterQuorumNotMet *bool `mandatory:"false" json:"isSkipIfGlusterQuorumNotMet"`
SkipIfSdActive *SkipIfSdActive `mandatory:"false" json:"skipIfSdActive"`
}
OlvmFencingPolicy Represents a cluster fencing policy.
func (OlvmFencingPolicy) String ¶ added in v65.111.0
func (m OlvmFencingPolicy) String() string
func (OlvmFencingPolicy) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmFencingPolicy) 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
type OlvmGuestOperatingSystem ¶ added in v65.111.0
type OlvmGuestOperatingSystem struct {
// The architecture of the operating system, such as x86_64.
Architecture *string `mandatory:"false" json:"architecture"`
// Code name of the operating system, such as Maipo.
Codename *string `mandatory:"false" json:"codename"`
// Full name of operating system distribution.
Distribution *string `mandatory:"false" json:"distribution"`
// Family of operating system, such as Linux.
Family *string `mandatory:"false" json:"family"`
Kernel *OlvmKernel `mandatory:"false" json:"kernel"`
Version *OlvmVersion `mandatory:"false" json:"version"`
}
OlvmGuestOperatingSystem Represents an operating system installed on the virtual machine.
func (OlvmGuestOperatingSystem) String ¶ added in v65.111.0
func (m OlvmGuestOperatingSystem) String() string
func (OlvmGuestOperatingSystem) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmGuestOperatingSystem) 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
type OlvmHardwareInformation ¶ added in v65.111.0
type OlvmHardwareInformation struct {
// Type of host’s CPU.
Family *string `mandatory:"false" json:"family"`
// Manufacturer of the host’s machine and hardware vendor.
Manufacturer *string `mandatory:"false" json:"manufacturer"`
// Host’s product name (for example RHEV Hypervisor).
ProductName *string `mandatory:"false" json:"productName"`
// Unique ID for host’s chassis.
SerialNumber *string `mandatory:"false" json:"serialNumber"`
// Supported sources of random number generator.
SupportedRngSources []RngSourceEnum `mandatory:"false" json:"supportedRngSources"`
// Unique ID for each host.
Uuid *string `mandatory:"false" json:"uuid"`
// Unique name for each of the manufacturer.
Version *string `mandatory:"false" json:"version"`
}
OlvmHardwareInformation Represents hardware information of host
func (OlvmHardwareInformation) String ¶ added in v65.111.0
func (m OlvmHardwareInformation) String() string
func (OlvmHardwareInformation) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmHardwareInformation) 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
type OlvmHighAvailability ¶ added in v65.111.0
type OlvmHighAvailability struct {
// Define if the virtual machine is considered highly available.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
// Indicates the priority of the virtual machine inside the run and migration queues. The higher the value, the higher the priority.
Priority *int `mandatory:"false" json:"priority"`
}
OlvmHighAvailability Type representing high availability of a virtual machine.
func (OlvmHighAvailability) String ¶ added in v65.111.0
func (m OlvmHighAvailability) String() string
func (OlvmHighAvailability) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmHighAvailability) 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
type OlvmHost ¶ added in v65.111.0
type OlvmHost struct {
// The host address (FQDN/IP).
Address *string `mandatory:"false" json:"address"`
// The host auto non uniform memory access (NUMA) status.
AutoNumaStatus OlvmHostAutoNumaStatusEnum `mandatory:"false" json:"autoNumaStatus,omitempty"`
Certificate *OlvmCertificate `mandatory:"false" json:"certificate"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
Cpu *OlvmCpu `mandatory:"false" json:"cpu"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// Specifies whether host device passthrough is enabled on this host.
IsHostDevicePassthrough *bool `mandatory:"false" json:"isHostDevicePassthrough"`
Display *OlvmDisplay `mandatory:"false" json:"display"`
// Status of storage domain.
ExternalStatus OlvmHostExternalStatusEnum `mandatory:"false" json:"externalStatus,omitempty"`
HardwareInformation *OlvmHardwareInformation `mandatory:"false" json:"hardwareInformation"`
HostedEngine *OlvmHostedEngine `mandatory:"false" json:"hostedEngine"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
Iscsi *OlvmIscsiDetails `mandatory:"false" json:"iscsi"`
// The host KDUMP status.
KdumpStatus OlvmHostKdumpStatusEnum `mandatory:"false" json:"kdumpStatus,omitempty"`
Ksm *Ksm `mandatory:"false" json:"ksm"`
LibvirtVersion *OlvmVersion `mandatory:"false" json:"libvirtVersion"`
// The max scheduling memory on this host in bytes.
MaxSchedulingMemoryInBytes *int64 `mandatory:"false" json:"maxSchedulingMemoryInBytes"`
// The amount of physical memory on this host in bytes.
MemoryInBytes *int64 `mandatory:"false" json:"memoryInBytes"`
// Name of the property.
Name *string `mandatory:"false" json:"name"`
// Specifies whether a network-related operation, such as 'setup networks', 'sync networks', or 'refresh capabilities', is currently being executed on this host.
IsNetworkOperationInProgress *bool `mandatory:"false" json:"isNetworkOperationInProgress"`
// Specifies whether non uniform memory access (NUMA) is supported on this host.
IsNumaSupported *bool `mandatory:"false" json:"isNumaSupported"`
Os *OlvmOperatingSystem `mandatory:"false" json:"os"`
// Specifies whether we should override firewall definitions
IsOverrideIpTables *bool `mandatory:"false" json:"isOverrideIpTables"`
// Indicates if the host has correctly configured OVN.
IsOvnConfigured *bool `mandatory:"false" json:"isOvnConfigured"`
// The host port.
Port *int `mandatory:"false" json:"port"`
PowerManagement *OlvmPowerManagement `mandatory:"false" json:"powerManagement"`
// Specifies whether the host should be reinstalled.
IsReinstallationRequired *bool `mandatory:"false" json:"isReinstallationRequired"`
SeLinux *OlvmSelinux `mandatory:"false" json:"seLinux"`
Spm *OlvmSpm `mandatory:"false" json:"spm"`
HostStatus *OlvmHostStatus `mandatory:"false" json:"hostStatus"`
// The host status details.
StatusDetail *string `mandatory:"false" json:"statusDetail"`
Summary *OlvmVmSummary `mandatory:"false" json:"summary"`
// Indicates if transparent huge pages (THP) support is enabled.
IsTransparentHugePagesEnabled *bool `mandatory:"false" json:"isTransparentHugePagesEnabled"`
Type *OlvmHostType `mandatory:"false" json:"type"`
// Specified whether there is an oVirt-related update on this host.
IsUpdateAvailable *bool `mandatory:"false" json:"isUpdateAvailable"`
Version *OlvmVersion `mandatory:"false" json:"version"`
// Specifies the vGPU placement strategy.
VgpuPlacement OlvmHostVgpuPlacementEnum `mandatory:"false" json:"vgpuPlacement,omitempty"`
}
OlvmHost Type representing a host.
func (OlvmHost) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmHostAutoNumaStatusEnum ¶ added in v65.111.0
type OlvmHostAutoNumaStatusEnum string
OlvmHostAutoNumaStatusEnum Enum with underlying type: string
const ( OlvmHostAutoNumaStatusDisable OlvmHostAutoNumaStatusEnum = "DISABLE" OlvmHostAutoNumaStatusEnable OlvmHostAutoNumaStatusEnum = "ENABLE" OlvmHostAutoNumaStatusUnknown OlvmHostAutoNumaStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for OlvmHostAutoNumaStatusEnum
func GetMappingOlvmHostAutoNumaStatusEnum ¶ added in v65.111.0
func GetMappingOlvmHostAutoNumaStatusEnum(val string) (OlvmHostAutoNumaStatusEnum, bool)
GetMappingOlvmHostAutoNumaStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostAutoNumaStatusEnumValues ¶ added in v65.111.0
func GetOlvmHostAutoNumaStatusEnumValues() []OlvmHostAutoNumaStatusEnum
GetOlvmHostAutoNumaStatusEnumValues Enumerates the set of values for OlvmHostAutoNumaStatusEnum
type OlvmHostExternalStatusEnum ¶ added in v65.111.0
type OlvmHostExternalStatusEnum string
OlvmHostExternalStatusEnum Enum with underlying type: string
const ( OlvmHostExternalStatusError OlvmHostExternalStatusEnum = "ERROR" OlvmHostExternalStatusFailure OlvmHostExternalStatusEnum = "FAILURE" OlvmHostExternalStatusInfo OlvmHostExternalStatusEnum = "INFO" OlvmHostExternalStatusOk OlvmHostExternalStatusEnum = "OK" OlvmHostExternalStatusWarning OlvmHostExternalStatusEnum = "WARNING" )
Set of constants representing the allowable values for OlvmHostExternalStatusEnum
func GetMappingOlvmHostExternalStatusEnum ¶ added in v65.111.0
func GetMappingOlvmHostExternalStatusEnum(val string) (OlvmHostExternalStatusEnum, bool)
GetMappingOlvmHostExternalStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostExternalStatusEnumValues ¶ added in v65.111.0
func GetOlvmHostExternalStatusEnumValues() []OlvmHostExternalStatusEnum
GetOlvmHostExternalStatusEnumValues Enumerates the set of values for OlvmHostExternalStatusEnum
type OlvmHostKdumpStatusEnum ¶ added in v65.111.0
type OlvmHostKdumpStatusEnum string
OlvmHostKdumpStatusEnum Enum with underlying type: string
const ( OlvmHostKdumpStatusDisabled OlvmHostKdumpStatusEnum = "DISABLED" OlvmHostKdumpStatusEnabled OlvmHostKdumpStatusEnum = "ENABLED" OlvmHostKdumpStatusUnknown OlvmHostKdumpStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for OlvmHostKdumpStatusEnum
func GetMappingOlvmHostKdumpStatusEnum ¶ added in v65.111.0
func GetMappingOlvmHostKdumpStatusEnum(val string) (OlvmHostKdumpStatusEnum, bool)
GetMappingOlvmHostKdumpStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostKdumpStatusEnumValues ¶ added in v65.111.0
func GetOlvmHostKdumpStatusEnumValues() []OlvmHostKdumpStatusEnum
GetOlvmHostKdumpStatusEnumValues Enumerates the set of values for OlvmHostKdumpStatusEnum
type OlvmHostStatus ¶ added in v65.111.0
type OlvmHostStatus struct {
// Type representing a host status.
Status OlvmHostStatusStatusEnum `mandatory:"false" json:"status,omitempty"`
}
OlvmHostStatus Type representing a host status.
func (OlvmHostStatus) String ¶ added in v65.111.0
func (m OlvmHostStatus) String() string
func (OlvmHostStatus) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmHostStatus) 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
type OlvmHostStatusStatusEnum ¶ added in v65.111.0
type OlvmHostStatusStatusEnum string
OlvmHostStatusStatusEnum Enum with underlying type: string
const ( OlvmHostStatusStatusConnecting OlvmHostStatusStatusEnum = "CONNECTING" OlvmHostStatusStatusDown OlvmHostStatusStatusEnum = "DOWN" OlvmHostStatusStatusError OlvmHostStatusStatusEnum = "ERROR" OlvmHostStatusStatusInitializing OlvmHostStatusStatusEnum = "INITIALIZING" OlvmHostStatusStatusInstallFailed OlvmHostStatusStatusEnum = "INSTALL_FAILED" OlvmHostStatusStatusInstalling OlvmHostStatusStatusEnum = "INSTALLING" OlvmHostStatusStatusInstallingOs OlvmHostStatusStatusEnum = "INSTALLING_OS" OlvmHostStatusStatusKdumping OlvmHostStatusStatusEnum = "KDUMPING" OlvmHostStatusStatusMaintenance OlvmHostStatusStatusEnum = "MAINTENANCE" OlvmHostStatusStatusNonOperational OlvmHostStatusStatusEnum = "NON_OPERATIONAL" OlvmHostStatusStatusNonResponsive OlvmHostStatusStatusEnum = "NON_RESPONSIVE" OlvmHostStatusStatusPendingApproval OlvmHostStatusStatusEnum = "PENDING_APPROVAL" OlvmHostStatusStatusPreparingForMaintenance OlvmHostStatusStatusEnum = "PREPARING_FOR_MAINTENANCE" OlvmHostStatusStatusReboot OlvmHostStatusStatusEnum = "REBOOT" OlvmHostStatusStatusUnassigned OlvmHostStatusStatusEnum = "UNASSIGNED" OlvmHostStatusStatusUp OlvmHostStatusStatusEnum = "UP" )
Set of constants representing the allowable values for OlvmHostStatusStatusEnum
func GetMappingOlvmHostStatusStatusEnum ¶ added in v65.111.0
func GetMappingOlvmHostStatusStatusEnum(val string) (OlvmHostStatusStatusEnum, bool)
GetMappingOlvmHostStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostStatusStatusEnumValues ¶ added in v65.111.0
func GetOlvmHostStatusStatusEnumValues() []OlvmHostStatusStatusEnum
GetOlvmHostStatusStatusEnumValues Enumerates the set of values for OlvmHostStatusStatusEnum
type OlvmHostType ¶ added in v65.111.0
type OlvmHostType struct {
// This enumerated type is used to determine which type of operating system is used by the host.
HostType OlvmHostTypeHostTypeEnum `mandatory:"false" json:"hostType,omitempty"`
}
OlvmHostType Indicates if the host contains a full installation of the operating system or a scaled-down version intended only to host virtual machines.
func (OlvmHostType) String ¶ added in v65.111.0
func (m OlvmHostType) String() string
func (OlvmHostType) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmHostType) 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
type OlvmHostTypeHostTypeEnum ¶ added in v65.111.0
type OlvmHostTypeHostTypeEnum string
OlvmHostTypeHostTypeEnum Enum with underlying type: string
const ( OlvmHostTypeHostTypeOvirtNode OlvmHostTypeHostTypeEnum = "OVIRT_NODE" OlvmHostTypeHostTypeRhel OlvmHostTypeHostTypeEnum = "RHEL" OlvmHostTypeHostTypeRhevH OlvmHostTypeHostTypeEnum = "RHEV_H" )
Set of constants representing the allowable values for OlvmHostTypeHostTypeEnum
func GetMappingOlvmHostTypeHostTypeEnum ¶ added in v65.111.0
func GetMappingOlvmHostTypeHostTypeEnum(val string) (OlvmHostTypeHostTypeEnum, bool)
GetMappingOlvmHostTypeHostTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostTypeHostTypeEnumValues ¶ added in v65.111.0
func GetOlvmHostTypeHostTypeEnumValues() []OlvmHostTypeHostTypeEnum
GetOlvmHostTypeHostTypeEnumValues Enumerates the set of values for OlvmHostTypeHostTypeEnum
type OlvmHostVgpuPlacementEnum ¶ added in v65.111.0
type OlvmHostVgpuPlacementEnum string
OlvmHostVgpuPlacementEnum Enum with underlying type: string
const ( OlvmHostVgpuPlacementConsolidated OlvmHostVgpuPlacementEnum = "CONSOLIDATED" OlvmHostVgpuPlacementSeparated OlvmHostVgpuPlacementEnum = "SEPARATED" )
Set of constants representing the allowable values for OlvmHostVgpuPlacementEnum
func GetMappingOlvmHostVgpuPlacementEnum ¶ added in v65.111.0
func GetMappingOlvmHostVgpuPlacementEnum(val string) (OlvmHostVgpuPlacementEnum, bool)
GetMappingOlvmHostVgpuPlacementEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmHostVgpuPlacementEnumValues ¶ added in v65.111.0
func GetOlvmHostVgpuPlacementEnumValues() []OlvmHostVgpuPlacementEnum
GetOlvmHostVgpuPlacementEnumValues Enumerates the set of values for OlvmHostVgpuPlacementEnum
type OlvmHostedEngine ¶ added in v65.111.0
type OlvmHostedEngine struct {
// Indicates if this hosted engine is active.
IsActive *bool `mandatory:"false" json:"isActive"`
// Indicates if this hosted engine is configured.
IsConfigured *bool `mandatory:"false" json:"isConfigured"`
// Indicates if this hosted engine under global maintenance.
IsGlobalMaintenance *bool `mandatory:"false" json:"isGlobalMaintenance"`
// Indicates if this hosted engine under local maintenance.
IsLocalMaintenance *bool `mandatory:"false" json:"isLocalMaintenance"`
// A numerical value representing the health and status of the Manager virtual machine
Score *int `mandatory:"false" json:"score"`
}
OlvmHostedEngine The self-hosted engine status of this host.
func (OlvmHostedEngine) String ¶ added in v65.111.0
func (m OlvmHostedEngine) String() string
func (OlvmHostedEngine) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmHostedEngine) 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
type OlvmIcon ¶ added in v65.111.0
type OlvmIcon struct {
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Base64 encode content of the icon file.
Data *string `mandatory:"false" json:"data"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// Format of icon file.
MediaType *string `mandatory:"false" json:"mediaType"`
// Name of the property.
Name *string `mandatory:"false" json:"name"`
}
OlvmIcon Icon of virtual machine or template.
func (OlvmIcon) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmInitialization ¶ added in v65.111.0
type OlvmInitialization struct {
// Active Directory Organizational Unit.
ActiveDirectoryOu *string `mandatory:"false" json:"activeDirectoryOu"`
// Defines the values for the cloud-init protocol. This protocol decides how the cloud-init network parameters are formatted before being passed to the virtual machine in order to be processed by cloud-init.
CloudInitNetworkProtocol OlvmInitializationCloudInitNetworkProtocolEnum `mandatory:"false" json:"cloudInitNetworkProtocol,omitempty"`
Configuration *OlvmConfiguration `mandatory:"false" json:"configuration"`
// Custom script that will be run when the VM starts.
CustomScript *string `mandatory:"false" json:"customScript"`
// DNS Search of the virtual machine.
DnsSearch *string `mandatory:"false" json:"dnsSearch"`
// DNS Servers of the virtual machine.
DnsServers *string `mandatory:"false" json:"dnsServers"`
// Domain of the virtual machine.
Domain *string `mandatory:"false" json:"domain"`
// Host name of the virtual machine.
HostName *string `mandatory:"false" json:"hostName"`
// Input locale of the virtual machine.
InputLocale *string `mandatory:"false" json:"inputLocale"`
// The configuration of a virtual network interface.
NicConfigurations []OlvmNicConfiguration `mandatory:"false" json:"nicConfigurations"`
// Organization name.
OrgName *string `mandatory:"false" json:"orgName"`
// Indicates if new IDs should be regenerated.
IsRegenerateIds *bool `mandatory:"false" json:"isRegenerateIds"`
// Indicates if new SSH Keys should be regenerated.
IsRegenerateSshKeys *bool `mandatory:"false" json:"isRegenerateSshKeys"`
// System locale of the virtual machine.
SystemLocale *string `mandatory:"false" json:"systemLocale"`
// Timezone of the virtual machine.
Timezone *string `mandatory:"false" json:"timezone"`
// UI Language of the virtual machine.
UiLanguage *string `mandatory:"false" json:"uiLanguage"`
// User Locale of the virtual machine.
UserLocale *string `mandatory:"false" json:"userLocale"`
// User name of the virtual machine.
Username *string `mandatory:"false" json:"username"`
// Windows License Key of the virtual machine.
WindowsLicenseKey *string `mandatory:"false" json:"windowsLicenseKey"`
}
OlvmInitialization Type representing initialization configuration of a virtual machine.
func (OlvmInitialization) String ¶ added in v65.111.0
func (m OlvmInitialization) String() string
func (OlvmInitialization) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmInitialization) 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
type OlvmInitializationCloudInitNetworkProtocolEnum ¶ added in v65.111.0
type OlvmInitializationCloudInitNetworkProtocolEnum string
OlvmInitializationCloudInitNetworkProtocolEnum Enum with underlying type: string
const ( OlvmInitializationCloudInitNetworkProtocolEni OlvmInitializationCloudInitNetworkProtocolEnum = "ENI" OlvmInitializationCloudInitNetworkProtocolOpenstackMetadata OlvmInitializationCloudInitNetworkProtocolEnum = "OPENSTACK_METADATA" )
Set of constants representing the allowable values for OlvmInitializationCloudInitNetworkProtocolEnum
func GetMappingOlvmInitializationCloudInitNetworkProtocolEnum ¶ added in v65.111.0
func GetMappingOlvmInitializationCloudInitNetworkProtocolEnum(val string) (OlvmInitializationCloudInitNetworkProtocolEnum, bool)
GetMappingOlvmInitializationCloudInitNetworkProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmInitializationCloudInitNetworkProtocolEnumValues ¶ added in v65.111.0
func GetOlvmInitializationCloudInitNetworkProtocolEnumValues() []OlvmInitializationCloudInitNetworkProtocolEnum
GetOlvmInitializationCloudInitNetworkProtocolEnumValues Enumerates the set of values for OlvmInitializationCloudInitNetworkProtocolEnum
type OlvmIp ¶ added in v65.111.0
type OlvmIp struct {
// The text representation of the IP address.
Address *string `mandatory:"false" json:"address"`
// The address of the default gateway.
Gateway *string `mandatory:"false" json:"gateway"`
// The network mask.
Netmask *string `mandatory:"false" json:"netmask"`
// The version of the IP protocol.
IpVersion OlvmIpIpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}
OlvmIp Represents the IP configuration of a network interface.
func (OlvmIp) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmIpIpVersionEnum ¶ added in v65.111.0
type OlvmIpIpVersionEnum string
OlvmIpIpVersionEnum Enum with underlying type: string
const ( OlvmIpIpVersionV4 OlvmIpIpVersionEnum = "V4" OlvmIpIpVersionV6 OlvmIpIpVersionEnum = "V6" )
Set of constants representing the allowable values for OlvmIpIpVersionEnum
func GetMappingOlvmIpIpVersionEnum ¶ added in v65.111.0
func GetMappingOlvmIpIpVersionEnum(val string) (OlvmIpIpVersionEnum, bool)
GetMappingOlvmIpIpVersionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmIpIpVersionEnumValues ¶ added in v65.111.0
func GetOlvmIpIpVersionEnumValues() []OlvmIpIpVersionEnum
GetOlvmIpIpVersionEnumValues Enumerates the set of values for OlvmIpIpVersionEnum
type OlvmIscsiDetails ¶ added in v65.111.0
type OlvmIscsiDetails struct {
// Address of iSCSI
Address *string `mandatory:"false" json:"address"`
// Disk ID of iSCSI
DiskId *string `mandatory:"false" json:"diskId"`
// Initiator of iSCSI
Initiator *string `mandatory:"false" json:"initiator"`
// LUN Mapping of iSCSI
LunMapping *int `mandatory:"false" json:"lunMapping"`
// Number of paths of iSCSI
Paths *int `mandatory:"false" json:"paths"`
// Port number of iSCSI
Port *int `mandatory:"false" json:"port"`
// Portal of iSCSI
Portal *string `mandatory:"false" json:"portal"`
// Product ID of iSCSI
ProductId *string `mandatory:"false" json:"productId"`
// Serial of iSCSI
Serial *string `mandatory:"false" json:"serial"`
// size of iSCSI
SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"`
// Status of iSCSI
Status *string `mandatory:"false" json:"status"`
// Storage Domain ID of iSCSI
StorageDomainId *string `mandatory:"false" json:"storageDomainId"`
// target of iSCSI
Target *string `mandatory:"false" json:"target"`
// Username of iSCSI
Username *string `mandatory:"false" json:"username"`
// Vendor ID of iSCSI
VendorId *string `mandatory:"false" json:"vendorId"`
// Volume Group ID of iSCSI
VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`
}
OlvmIscsiDetails The host iSCSI details.
func (OlvmIscsiDetails) String ¶ added in v65.111.0
func (m OlvmIscsiDetails) String() string
func (OlvmIscsiDetails) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmIscsiDetails) 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
type OlvmKernel ¶ added in v65.111.0
type OlvmKernel struct {
Version *OlvmVersion `mandatory:"false" json:"version"`
}
OlvmKernel Kernel version of the operating system.
func (OlvmKernel) String ¶ added in v65.111.0
func (m OlvmKernel) String() string
func (OlvmKernel) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmKernel) 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
type OlvmMemoryPolicy ¶ added in v65.111.0
type OlvmMemoryPolicy struct {
// Indicates if ballooning is enabled
IsBallooning *bool `mandatory:"false" json:"isBallooning"`
// The amount of memory, in bytes, that is guaranteed to not be drained by the balloon mechanism
GuaranteedMemoryInBytes *int64 `mandatory:"false" json:"guaranteedMemoryInBytes"`
// Maximum virtual machine memory in Bytes
MaxMemoryInBytes *int64 `mandatory:"false" json:"maxMemoryInBytes"`
MemoryOverCommit *MemoryOverCommit `mandatory:"false" json:"memoryOverCommit"`
TransparentHugePages *TransparentHugePages `mandatory:"false" json:"transparentHugePages"`
}
OlvmMemoryPolicy Logical grouping of memory-related properties of virtual machine-like entities.
func (OlvmMemoryPolicy) String ¶ added in v65.111.0
func (m OlvmMemoryPolicy) String() string
func (OlvmMemoryPolicy) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmMemoryPolicy) 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
type OlvmMigrationOptions ¶ added in v65.111.0
type OlvmMigrationOptions struct {
// Enum representing the boolean value that can be either set, or inherited from a higher level. The inheritance order is virtual machine → cluster → engine-config.
AutoConverge OlvmMigrationOptionsAutoConvergeEnum `mandatory:"false" json:"autoConverge,omitempty"`
Bandwidth *MigrationBandwidth `mandatory:"false" json:"bandwidth"`
// Enum representing the boolean value that can be either set, or inherited from a higher level. The inheritance order is virtual machine → cluster → engine-config.
Compressed OlvmMigrationOptionsCompressedEnum `mandatory:"false" json:"compressed,omitempty"`
// Specifies how many parallel migration connections to use.
CustomParallelMigrations *int `mandatory:"false" json:"customParallelMigrations"`
// Enum representing the boolean value that can be either set, or inherited from a higher level. The inheritance order is virtual machine → cluster → engine-config.
Encrypted OlvmMigrationOptionsEncryptedEnum `mandatory:"false" json:"encrypted,omitempty"`
// Type representing parallel migration connections policy.
ParallelMigrationsPolicy OlvmMigrationOptionsParallelMigrationsPolicyEnum `mandatory:"false" json:"parallelMigrationsPolicy,omitempty"`
}
OlvmMigrationOptions Reference to cluster-wide configuration of migration of a running virtual machine to another host.
func (OlvmMigrationOptions) String ¶ added in v65.111.0
func (m OlvmMigrationOptions) String() string
func (OlvmMigrationOptions) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmMigrationOptions) 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
type OlvmMigrationOptionsAutoConvergeEnum ¶ added in v65.111.0
type OlvmMigrationOptionsAutoConvergeEnum string
OlvmMigrationOptionsAutoConvergeEnum Enum with underlying type: string
const ( OlvmMigrationOptionsAutoConvergeFalse OlvmMigrationOptionsAutoConvergeEnum = "FALSE" OlvmMigrationOptionsAutoConvergeInherit OlvmMigrationOptionsAutoConvergeEnum = "INHERIT" OlvmMigrationOptionsAutoConvergeTrue OlvmMigrationOptionsAutoConvergeEnum = "TRUE" )
Set of constants representing the allowable values for OlvmMigrationOptionsAutoConvergeEnum
func GetMappingOlvmMigrationOptionsAutoConvergeEnum ¶ added in v65.111.0
func GetMappingOlvmMigrationOptionsAutoConvergeEnum(val string) (OlvmMigrationOptionsAutoConvergeEnum, bool)
GetMappingOlvmMigrationOptionsAutoConvergeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmMigrationOptionsAutoConvergeEnumValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsAutoConvergeEnumValues() []OlvmMigrationOptionsAutoConvergeEnum
GetOlvmMigrationOptionsAutoConvergeEnumValues Enumerates the set of values for OlvmMigrationOptionsAutoConvergeEnum
type OlvmMigrationOptionsCompressedEnum ¶ added in v65.111.0
type OlvmMigrationOptionsCompressedEnum string
OlvmMigrationOptionsCompressedEnum Enum with underlying type: string
const ( OlvmMigrationOptionsCompressedFalse OlvmMigrationOptionsCompressedEnum = "FALSE" OlvmMigrationOptionsCompressedInherit OlvmMigrationOptionsCompressedEnum = "INHERIT" OlvmMigrationOptionsCompressedTrue OlvmMigrationOptionsCompressedEnum = "TRUE" )
Set of constants representing the allowable values for OlvmMigrationOptionsCompressedEnum
func GetMappingOlvmMigrationOptionsCompressedEnum ¶ added in v65.111.0
func GetMappingOlvmMigrationOptionsCompressedEnum(val string) (OlvmMigrationOptionsCompressedEnum, bool)
GetMappingOlvmMigrationOptionsCompressedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmMigrationOptionsCompressedEnumValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsCompressedEnumValues() []OlvmMigrationOptionsCompressedEnum
GetOlvmMigrationOptionsCompressedEnumValues Enumerates the set of values for OlvmMigrationOptionsCompressedEnum
type OlvmMigrationOptionsEncryptedEnum ¶ added in v65.111.0
type OlvmMigrationOptionsEncryptedEnum string
OlvmMigrationOptionsEncryptedEnum Enum with underlying type: string
const ( OlvmMigrationOptionsEncryptedFalse OlvmMigrationOptionsEncryptedEnum = "FALSE" OlvmMigrationOptionsEncryptedInherit OlvmMigrationOptionsEncryptedEnum = "INHERIT" OlvmMigrationOptionsEncryptedTrue OlvmMigrationOptionsEncryptedEnum = "TRUE" )
Set of constants representing the allowable values for OlvmMigrationOptionsEncryptedEnum
func GetMappingOlvmMigrationOptionsEncryptedEnum ¶ added in v65.111.0
func GetMappingOlvmMigrationOptionsEncryptedEnum(val string) (OlvmMigrationOptionsEncryptedEnum, bool)
GetMappingOlvmMigrationOptionsEncryptedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmMigrationOptionsEncryptedEnumValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsEncryptedEnumValues() []OlvmMigrationOptionsEncryptedEnum
GetOlvmMigrationOptionsEncryptedEnumValues Enumerates the set of values for OlvmMigrationOptionsEncryptedEnum
type OlvmMigrationOptionsParallelMigrationsPolicyEnum ¶ added in v65.111.0
type OlvmMigrationOptionsParallelMigrationsPolicyEnum string
OlvmMigrationOptionsParallelMigrationsPolicyEnum Enum with underlying type: string
const ( OlvmMigrationOptionsParallelMigrationsPolicyAuto OlvmMigrationOptionsParallelMigrationsPolicyEnum = "AUTO" OlvmMigrationOptionsParallelMigrationsPolicyAutoParallel OlvmMigrationOptionsParallelMigrationsPolicyEnum = "AUTO_PARALLEL" OlvmMigrationOptionsParallelMigrationsPolicyCustom OlvmMigrationOptionsParallelMigrationsPolicyEnum = "CUSTOM" OlvmMigrationOptionsParallelMigrationsPolicyDisabled OlvmMigrationOptionsParallelMigrationsPolicyEnum = "DISABLED" OlvmMigrationOptionsParallelMigrationsPolicyInherit OlvmMigrationOptionsParallelMigrationsPolicyEnum = "INHERIT" )
Set of constants representing the allowable values for OlvmMigrationOptionsParallelMigrationsPolicyEnum
func GetMappingOlvmMigrationOptionsParallelMigrationsPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmMigrationOptionsParallelMigrationsPolicyEnum(val string) (OlvmMigrationOptionsParallelMigrationsPolicyEnum, bool)
GetMappingOlvmMigrationOptionsParallelMigrationsPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmMigrationOptionsParallelMigrationsPolicyEnumValues ¶ added in v65.111.0
func GetOlvmMigrationOptionsParallelMigrationsPolicyEnumValues() []OlvmMigrationOptionsParallelMigrationsPolicyEnum
GetOlvmMigrationOptionsParallelMigrationsPolicyEnumValues Enumerates the set of values for OlvmMigrationOptionsParallelMigrationsPolicyEnum
type OlvmNicConfiguration ¶ added in v65.111.0
type OlvmNicConfiguration struct {
BootProtocol *OlvmBootProtocol `mandatory:"false" json:"bootProtocol"`
Ip *OlvmIp `mandatory:"false" json:"ip"`
Ipv6 *OlvmIp `mandatory:"false" json:"ipv6"`
Ipv6BootProtocol *OlvmBootProtocol `mandatory:"false" json:"ipv6BootProtocol"`
// Network interface name.
Name *string `mandatory:"false" json:"name"`
// Specifies whether the network interface should be activated on the virtual machine guest operating system boot.
IsOnBoot *bool `mandatory:"false" json:"isOnBoot"`
}
OlvmNicConfiguration The type describes the configuration of a virtual network interface.
func (OlvmNicConfiguration) String ¶ added in v65.111.0
func (m OlvmNicConfiguration) String() string
func (OlvmNicConfiguration) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmNicConfiguration) 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
type OlvmOperatingSystem ¶ added in v65.111.0
type OlvmOperatingSystem struct {
// Configuration of the boot sequence of a virtual machine.
Boot []OlvmBootDeviceEnum `mandatory:"false" json:"boot"`
// Custom kernel parameters for starting the virtual machine if Linux operating system is used.
CmdLine *string `mandatory:"false" json:"cmdLine"`
// A custom part of the host kernel command line.
CustomKernelCmdLine *string `mandatory:"false" json:"customKernelCmdLine"`
// Path to custom initial ramdisk on ISO storage domain if Linux operating system is used.
InitRd *string `mandatory:"false" json:"initRd"`
// Path to custom kernel on ISO storage domain if Linux operating system is used.
Kernel *string `mandatory:"false" json:"kernel"`
// The host kernel command line as reported by a running host.
ReportedKernelCmdLine *string `mandatory:"false" json:"reportedKernelCmdLine"`
// Operating system name in human readable form
Type *string `mandatory:"false" json:"type"`
Version *OlvmVersion `mandatory:"false" json:"version"`
}
OlvmOperatingSystem Information describing the operating system. This is used for both virtual machines and hosts.
func (OlvmOperatingSystem) String ¶ added in v65.111.0
func (m OlvmOperatingSystem) String() string
func (OlvmOperatingSystem) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmOperatingSystem) 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
type OlvmPmProxy ¶ added in v65.111.0
type OlvmPmProxy struct {
// Pm Proxy Type
Type OlvmPmProxyTypeEnum `mandatory:"false" json:"type,omitempty"`
}
OlvmPmProxy Power management proxy types.
func (OlvmPmProxy) String ¶ added in v65.111.0
func (m OlvmPmProxy) String() string
func (OlvmPmProxy) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmPmProxy) 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
type OlvmPmProxyTypeEnum ¶ added in v65.111.0
type OlvmPmProxyTypeEnum string
OlvmPmProxyTypeEnum Enum with underlying type: string
const ( OlvmPmProxyTypeCluster OlvmPmProxyTypeEnum = "CLUSTER" OlvmPmProxyTypeDc OlvmPmProxyTypeEnum = "DC" OlvmPmProxyTypeOtherDc OlvmPmProxyTypeEnum = "OTHER_DC" )
Set of constants representing the allowable values for OlvmPmProxyTypeEnum
func GetMappingOlvmPmProxyTypeEnum ¶ added in v65.111.0
func GetMappingOlvmPmProxyTypeEnum(val string) (OlvmPmProxyTypeEnum, bool)
GetMappingOlvmPmProxyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmPmProxyTypeEnumValues ¶ added in v65.111.0
func GetOlvmPmProxyTypeEnumValues() []OlvmPmProxyTypeEnum
GetOlvmPmProxyTypeEnumValues Enumerates the set of values for OlvmPmProxyTypeEnum
type OlvmPowerManagement ¶ added in v65.111.0
type OlvmPowerManagement struct {
// Address of power management
Address *string `mandatory:"false" json:"address"`
// Supported sources of random number generator.
Agents []OlvmAgent `mandatory:"false" json:"agents"`
// Toggles the automated power control of the host in order to save energy.
IsAutomaticPmEnabled *bool `mandatory:"false" json:"isAutomaticPmEnabled"`
// Indicates whether power management configuration is enabled or disabled.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
// Toggles whether to determine if kdump is running on the host before it is shut down.
IsKDumpDetection *bool `mandatory:"false" json:"isKDumpDetection"`
// Determines the power management proxy.
PmProxies []OlvmPmProxy `mandatory:"false" json:"pmProxies"`
// Determines the power status of the host.
Status OlvmPowerManagementStatusEnum `mandatory:"false" json:"status,omitempty"`
// Fencing device code.
Type *string `mandatory:"false" json:"type"`
// A valid user name for power management.
Username *string `mandatory:"false" json:"username"`
}
OlvmPowerManagement OLVM Power management definitions
func (OlvmPowerManagement) String ¶ added in v65.111.0
func (m OlvmPowerManagement) String() string
func (OlvmPowerManagement) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmPowerManagement) 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
type OlvmPowerManagementStatusEnum ¶ added in v65.111.0
type OlvmPowerManagementStatusEnum string
OlvmPowerManagementStatusEnum Enum with underlying type: string
const ( OlvmPowerManagementStatusOff OlvmPowerManagementStatusEnum = "OFF" OlvmPowerManagementStatusOn OlvmPowerManagementStatusEnum = "ON" OlvmPowerManagementStatusUnknown OlvmPowerManagementStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for OlvmPowerManagementStatusEnum
func GetMappingOlvmPowerManagementStatusEnum ¶ added in v65.111.0
func GetMappingOlvmPowerManagementStatusEnum(val string) (OlvmPowerManagementStatusEnum, bool)
GetMappingOlvmPowerManagementStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmPowerManagementStatusEnumValues ¶ added in v65.111.0
func GetOlvmPowerManagementStatusEnumValues() []OlvmPowerManagementStatusEnum
GetOlvmPowerManagementStatusEnumValues Enumerates the set of values for OlvmPowerManagementStatusEnum
type OlvmProperty ¶ added in v65.111.0
type OlvmProperty struct {
// Name of the property.
Name *string `mandatory:"false" json:"name"`
// Value of the property.
Value *string `mandatory:"false" json:"value"`
}
OlvmProperty Property object in OLVM.
func (OlvmProperty) String ¶ added in v65.111.0
func (m OlvmProperty) String() string
func (OlvmProperty) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmProperty) 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
type OlvmSelinux ¶ added in v65.111.0
type OlvmSelinux struct {
// Represents an SELinux enforcement mode.
SeLinuxMode OlvmSelinuxSeLinuxModeEnum `mandatory:"false" json:"seLinuxMode,omitempty"`
}
OlvmSelinux Represents SELinux in the system
func (OlvmSelinux) String ¶ added in v65.111.0
func (m OlvmSelinux) String() string
func (OlvmSelinux) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmSelinux) 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
type OlvmSelinuxSeLinuxModeEnum ¶ added in v65.111.0
type OlvmSelinuxSeLinuxModeEnum string
OlvmSelinuxSeLinuxModeEnum Enum with underlying type: string
const ( OlvmSelinuxSeLinuxModeDisabled OlvmSelinuxSeLinuxModeEnum = "DISABLED" OlvmSelinuxSeLinuxModeEnforcing OlvmSelinuxSeLinuxModeEnum = "ENFORCING" OlvmSelinuxSeLinuxModePermissive OlvmSelinuxSeLinuxModeEnum = "PERMISSIVE" )
Set of constants representing the allowable values for OlvmSelinuxSeLinuxModeEnum
func GetMappingOlvmSelinuxSeLinuxModeEnum ¶ added in v65.111.0
func GetMappingOlvmSelinuxSeLinuxModeEnum(val string) (OlvmSelinuxSeLinuxModeEnum, bool)
GetMappingOlvmSelinuxSeLinuxModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmSelinuxSeLinuxModeEnumValues ¶ added in v65.111.0
func GetOlvmSelinuxSeLinuxModeEnumValues() []OlvmSelinuxSeLinuxModeEnum
GetOlvmSelinuxSeLinuxModeEnumValues Enumerates the set of values for OlvmSelinuxSeLinuxModeEnum
type OlvmSerialNumber ¶ added in v65.111.0
type OlvmSerialNumber struct {
// Type representing the policy of a Serial Number
Policy OlvmSerialNumberPolicyEnum `mandatory:"false" json:"policy,omitempty"`
// Value of the serial number policy.
Value *string `mandatory:"false" json:"value"`
}
OlvmSerialNumber Serial number object in OLVM
func (OlvmSerialNumber) String ¶ added in v65.111.0
func (m OlvmSerialNumber) String() string
func (OlvmSerialNumber) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmSerialNumber) 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
type OlvmSerialNumberPolicyEnum ¶ added in v65.111.0
type OlvmSerialNumberPolicyEnum string
OlvmSerialNumberPolicyEnum Enum with underlying type: string
const ( OlvmSerialNumberPolicyCustom OlvmSerialNumberPolicyEnum = "CUSTOM" OlvmSerialNumberPolicyHost OlvmSerialNumberPolicyEnum = "HOST" OlvmSerialNumberPolicyNone OlvmSerialNumberPolicyEnum = "NONE" OlvmSerialNumberPolicyVm OlvmSerialNumberPolicyEnum = "VM" )
Set of constants representing the allowable values for OlvmSerialNumberPolicyEnum
func GetMappingOlvmSerialNumberPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmSerialNumberPolicyEnum(val string) (OlvmSerialNumberPolicyEnum, bool)
GetMappingOlvmSerialNumberPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmSerialNumberPolicyEnumValues ¶ added in v65.111.0
func GetOlvmSerialNumberPolicyEnumValues() []OlvmSerialNumberPolicyEnum
GetOlvmSerialNumberPolicyEnumValues Enumerates the set of values for OlvmSerialNumberPolicyEnum
type OlvmSpm ¶ added in v65.111.0
type OlvmSpm struct {
// Priority of this SPM.
Priority *int `mandatory:"false" json:"priority"`
// Status of this SPM.
SpmStatus OlvmSpmSpmStatusEnum `mandatory:"false" json:"spmStatus,omitempty"`
}
OlvmSpm The host storage pool manager (SPM) status and definition.
func (OlvmSpm) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmSpmSpmStatusEnum ¶ added in v65.111.0
type OlvmSpmSpmStatusEnum string
OlvmSpmSpmStatusEnum Enum with underlying type: string
const ( OlvmSpmSpmStatusContending OlvmSpmSpmStatusEnum = "CONTENDING" OlvmSpmSpmStatusNone OlvmSpmSpmStatusEnum = "NONE" OlvmSpmSpmStatusSpm OlvmSpmSpmStatusEnum = "SPM" )
Set of constants representing the allowable values for OlvmSpmSpmStatusEnum
func GetMappingOlvmSpmSpmStatusEnum ¶ added in v65.111.0
func GetMappingOlvmSpmSpmStatusEnum(val string) (OlvmSpmSpmStatusEnum, bool)
GetMappingOlvmSpmSpmStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmSpmSpmStatusEnumValues ¶ added in v65.111.0
func GetOlvmSpmSpmStatusEnumValues() []OlvmSpmSpmStatusEnum
GetOlvmSpmSpmStatusEnumValues Enumerates the set of values for OlvmSpmSpmStatusEnum
type OlvmStorageDomainAssetDetails ¶ added in v65.111.0
type OlvmStorageDomainAssetDetails struct {
OlvmStorageDomain *OlvmStorageDomainProperties `mandatory:"true" json:"olvmStorageDomain"`
}
OlvmStorageDomainAssetDetails OLVM Storage Domain type of asset.
func (OlvmStorageDomainAssetDetails) String ¶ added in v65.111.0
func (m OlvmStorageDomainAssetDetails) String() string
func (OlvmStorageDomainAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmStorageDomainAssetDetails) 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
type OlvmStorageDomainProperties ¶ added in v65.111.0
type OlvmStorageDomainProperties struct {
// A human-readable name in plain text.
StorageDomainName *string `mandatory:"true" json:"storageDomainName"`
// A human-readable description in plain text.
StorageDomainDescription *string `mandatory:"false" json:"storageDomainDescription"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Space available in bytes.
AvailableSpaceInBytes *int64 `mandatory:"false" json:"availableSpaceInBytes"`
// Space used in bytes.
UsedSpaceInBytes *int64 `mandatory:"false" json:"usedSpaceInBytes"`
// Space committed in bytes.
CommittedSpaceInBytes *int64 `mandatory:"false" json:"committedSpaceInBytes"`
// Block size in bytes.
BlockSizeInBytes *int64 `mandatory:"false" json:"blockSizeInBytes"`
// Whether a data storage domain is used as backup domain or not.
IsBackup *bool `mandatory:"false" json:"isBackup"`
// Indicates if this is the primary (master) storage domain of a data center.
IsPrimary *bool `mandatory:"false" json:"isPrimary"`
// Whether this storage domain is imported.
IsImport *bool `mandatory:"false" json:"isImport"`
// Indicates whether disks' blocks on block storage domains will be discarded right before they are deleted.
IsDiscardAfterDelete *bool `mandatory:"false" json:"isDiscardAfterDelete"`
// Indicates whether a block storage domain supports discard operations
IsSupportDiscard *bool `mandatory:"false" json:"isSupportDiscard"`
// Indicates whether a block storage domain supports the property that discard zeroes the data.
IsSupportDiscardZeroesData *bool `mandatory:"false" json:"isSupportDiscardZeroesData"`
// Serves as the default value of wipe_after_delete for disks on this storage domain.
IsWipeAfterDelete *bool `mandatory:"false" json:"isWipeAfterDelete"`
// Ensure storage domain always has at least this amount of unoccupied space in GBs.
CriticalSpaceActionBlockerInGBs *int `mandatory:"false" json:"criticalSpaceActionBlockerInGBs"`
// If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.
WarningLowSpaceIndicatorInPercentage *int `mandatory:"false" json:"warningLowSpaceIndicatorInPercentage"`
// Status of storage domain.
ExternalStatus OlvmStorageDomainPropertiesExternalStatusEnum `mandatory:"false" json:"externalStatus,omitempty"`
// Status of storage domain.
StorageDomainStatus OlvmStorageDomainPropertiesStorageDomainStatusEnum `mandatory:"false" json:"storageDomainStatus,omitempty"`
Storage *Storage `mandatory:"false" json:"storage"`
// Type which represents a format of storage domain.
StorageFormat OlvmStorageDomainPropertiesStorageFormatEnum `mandatory:"false" json:"storageFormat,omitempty"`
// Indicates the kind of data managed by a storage domain.
StorageDomainType OlvmStorageDomainPropertiesStorageDomainTypeEnum `mandatory:"false" json:"storageDomainType,omitempty"`
// List of data centers where storage domain belongs
DataCenters []OlvmDataCenter `mandatory:"false" json:"dataCenters"`
}
OlvmStorageDomainProperties OLVM Storage Domain properties.
func (OlvmStorageDomainProperties) String ¶ added in v65.111.0
func (m OlvmStorageDomainProperties) String() string
func (OlvmStorageDomainProperties) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmStorageDomainProperties) 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
type OlvmStorageDomainPropertiesExternalStatusEnum ¶ added in v65.111.0
type OlvmStorageDomainPropertiesExternalStatusEnum string
OlvmStorageDomainPropertiesExternalStatusEnum Enum with underlying type: string
const ( OlvmStorageDomainPropertiesExternalStatusError OlvmStorageDomainPropertiesExternalStatusEnum = "ERROR" OlvmStorageDomainPropertiesExternalStatusFailure OlvmStorageDomainPropertiesExternalStatusEnum = "FAILURE" OlvmStorageDomainPropertiesExternalStatusInfo OlvmStorageDomainPropertiesExternalStatusEnum = "INFO" OlvmStorageDomainPropertiesExternalStatusOk OlvmStorageDomainPropertiesExternalStatusEnum = "OK" OlvmStorageDomainPropertiesExternalStatusWarning OlvmStorageDomainPropertiesExternalStatusEnum = "WARNING" )
Set of constants representing the allowable values for OlvmStorageDomainPropertiesExternalStatusEnum
func GetMappingOlvmStorageDomainPropertiesExternalStatusEnum ¶ added in v65.111.0
func GetMappingOlvmStorageDomainPropertiesExternalStatusEnum(val string) (OlvmStorageDomainPropertiesExternalStatusEnum, bool)
GetMappingOlvmStorageDomainPropertiesExternalStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmStorageDomainPropertiesExternalStatusEnumValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesExternalStatusEnumValues() []OlvmStorageDomainPropertiesExternalStatusEnum
GetOlvmStorageDomainPropertiesExternalStatusEnumValues Enumerates the set of values for OlvmStorageDomainPropertiesExternalStatusEnum
type OlvmStorageDomainPropertiesStorageDomainStatusEnum ¶ added in v65.111.0
type OlvmStorageDomainPropertiesStorageDomainStatusEnum string
OlvmStorageDomainPropertiesStorageDomainStatusEnum Enum with underlying type: string
const ( OlvmStorageDomainPropertiesStorageDomainStatusActivating OlvmStorageDomainPropertiesStorageDomainStatusEnum = "ACTIVATING" OlvmStorageDomainPropertiesStorageDomainStatusActive OlvmStorageDomainPropertiesStorageDomainStatusEnum = "ACTIVE" OlvmStorageDomainPropertiesStorageDomainStatusDetaching OlvmStorageDomainPropertiesStorageDomainStatusEnum = "DETACHING" OlvmStorageDomainPropertiesStorageDomainStatusInactive OlvmStorageDomainPropertiesStorageDomainStatusEnum = "INACTIVE" OlvmStorageDomainPropertiesStorageDomainStatusLocked OlvmStorageDomainPropertiesStorageDomainStatusEnum = "LOCKED" OlvmStorageDomainPropertiesStorageDomainStatusMaintenance OlvmStorageDomainPropertiesStorageDomainStatusEnum = "MAINTENANCE" OlvmStorageDomainPropertiesStorageDomainStatusMixed OlvmStorageDomainPropertiesStorageDomainStatusEnum = "MIXED" OlvmStorageDomainPropertiesStorageDomainStatusPreparingForMaintenance OlvmStorageDomainPropertiesStorageDomainStatusEnum = "PREPARING_FOR_MAINTENANCE" OlvmStorageDomainPropertiesStorageDomainStatusUnattached OlvmStorageDomainPropertiesStorageDomainStatusEnum = "UNATTACHED" OlvmStorageDomainPropertiesStorageDomainStatusUnknown OlvmStorageDomainPropertiesStorageDomainStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for OlvmStorageDomainPropertiesStorageDomainStatusEnum
func GetMappingOlvmStorageDomainPropertiesStorageDomainStatusEnum ¶ added in v65.111.0
func GetMappingOlvmStorageDomainPropertiesStorageDomainStatusEnum(val string) (OlvmStorageDomainPropertiesStorageDomainStatusEnum, bool)
GetMappingOlvmStorageDomainPropertiesStorageDomainStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmStorageDomainPropertiesStorageDomainStatusEnumValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageDomainStatusEnumValues() []OlvmStorageDomainPropertiesStorageDomainStatusEnum
GetOlvmStorageDomainPropertiesStorageDomainStatusEnumValues Enumerates the set of values for OlvmStorageDomainPropertiesStorageDomainStatusEnum
type OlvmStorageDomainPropertiesStorageDomainTypeEnum ¶ added in v65.111.0
type OlvmStorageDomainPropertiesStorageDomainTypeEnum string
OlvmStorageDomainPropertiesStorageDomainTypeEnum Enum with underlying type: string
const ( OlvmStorageDomainPropertiesStorageDomainTypeData OlvmStorageDomainPropertiesStorageDomainTypeEnum = "DATA" OlvmStorageDomainPropertiesStorageDomainTypeExport OlvmStorageDomainPropertiesStorageDomainTypeEnum = "EXPORT" OlvmStorageDomainPropertiesStorageDomainTypeImage OlvmStorageDomainPropertiesStorageDomainTypeEnum = "IMAGE" OlvmStorageDomainPropertiesStorageDomainTypeIso OlvmStorageDomainPropertiesStorageDomainTypeEnum = "ISO" OlvmStorageDomainPropertiesStorageDomainTypeManagedBlockStorage OlvmStorageDomainPropertiesStorageDomainTypeEnum = "MANAGED_BLOCK_STORAGE" OlvmStorageDomainPropertiesStorageDomainTypeVolume OlvmStorageDomainPropertiesStorageDomainTypeEnum = "VOLUME" )
Set of constants representing the allowable values for OlvmStorageDomainPropertiesStorageDomainTypeEnum
func GetMappingOlvmStorageDomainPropertiesStorageDomainTypeEnum ¶ added in v65.111.0
func GetMappingOlvmStorageDomainPropertiesStorageDomainTypeEnum(val string) (OlvmStorageDomainPropertiesStorageDomainTypeEnum, bool)
GetMappingOlvmStorageDomainPropertiesStorageDomainTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmStorageDomainPropertiesStorageDomainTypeEnumValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageDomainTypeEnumValues() []OlvmStorageDomainPropertiesStorageDomainTypeEnum
GetOlvmStorageDomainPropertiesStorageDomainTypeEnumValues Enumerates the set of values for OlvmStorageDomainPropertiesStorageDomainTypeEnum
type OlvmStorageDomainPropertiesStorageFormatEnum ¶ added in v65.111.0
type OlvmStorageDomainPropertiesStorageFormatEnum string
OlvmStorageDomainPropertiesStorageFormatEnum Enum with underlying type: string
const ( OlvmStorageDomainPropertiesStorageFormatV1 OlvmStorageDomainPropertiesStorageFormatEnum = "V1" OlvmStorageDomainPropertiesStorageFormatV2 OlvmStorageDomainPropertiesStorageFormatEnum = "V2" OlvmStorageDomainPropertiesStorageFormatV3 OlvmStorageDomainPropertiesStorageFormatEnum = "V3" OlvmStorageDomainPropertiesStorageFormatV4 OlvmStorageDomainPropertiesStorageFormatEnum = "V4" OlvmStorageDomainPropertiesStorageFormatV5 OlvmStorageDomainPropertiesStorageFormatEnum = "V5" )
Set of constants representing the allowable values for OlvmStorageDomainPropertiesStorageFormatEnum
func GetMappingOlvmStorageDomainPropertiesStorageFormatEnum ¶ added in v65.111.0
func GetMappingOlvmStorageDomainPropertiesStorageFormatEnum(val string) (OlvmStorageDomainPropertiesStorageFormatEnum, bool)
GetMappingOlvmStorageDomainPropertiesStorageFormatEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmStorageDomainPropertiesStorageFormatEnumValues ¶ added in v65.111.0
func GetOlvmStorageDomainPropertiesStorageFormatEnumValues() []OlvmStorageDomainPropertiesStorageFormatEnum
GetOlvmStorageDomainPropertiesStorageFormatEnumValues Enumerates the set of values for OlvmStorageDomainPropertiesStorageFormatEnum
type OlvmTemplateAssetDetails ¶ added in v65.111.0
type OlvmTemplateAssetDetails struct {
OlvmTemplate *OlvmTemplateProperties `mandatory:"true" json:"olvmTemplate"`
}
OlvmTemplateAssetDetails OLVM Template type of asset.
func (OlvmTemplateAssetDetails) String ¶ added in v65.111.0
func (m OlvmTemplateAssetDetails) String() string
func (OlvmTemplateAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmTemplateAssetDetails) 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
type OlvmTemplateProperties ¶ added in v65.111.0
type OlvmTemplateProperties struct {
// Name of the property.
TemplateName *string `mandatory:"true" json:"templateName"`
// Specifies if and how the auto CPU and NUMA configuration is applied.
AutoPinningPolicy OlvmTemplatePropertiesAutoPinningPolicyEnum `mandatory:"false" json:"autoPinningPolicy,omitempty"`
Bios *OlvmBios `mandatory:"false" json:"bios"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
Console *OlvmConsole `mandatory:"false" json:"console"`
Cpu *OlvmCpu `mandatory:"false" json:"cpu"`
// Type representing the CPU and NUMA pinning policy.
CpuPinningPolicy OlvmTemplatePropertiesCpuPinningPolicyEnum `mandatory:"false" json:"cpuPinningPolicy,omitempty"`
CpuShares *int `mandatory:"false" json:"cpuShares"`
// Creation time.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
CustomCompatibilityVersion *OlvmVersion `mandatory:"false" json:"customCompatibilityVersion"`
// Custom CPU model
CustomCpuModel *string `mandatory:"false" json:"customCpuModel"`
// Custom Emulated machine
CustomEmulatedMachine *string `mandatory:"false" json:"customEmulatedMachine"`
// Custom properties applied to the vNIC profile.
CustomProperties []OlvmCustomProperty `mandatory:"false" json:"customProperties"`
// If true, the virtual machine cannot be deleted.
IsDeleteProtected *bool `mandatory:"false" json:"isDeleteProtected"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
Display *OlvmDisplay `mandatory:"false" json:"display"`
Domain *OlvmDomain `mandatory:"false" json:"domain"`
HighAvailability *OlvmHighAvailability `mandatory:"false" json:"highAvailability"`
Initialization *OlvmInitialization `mandatory:"false" json:"initialization"`
// For performance tuning of IO threading.
IoThreads *int `mandatory:"false" json:"ioThreads"`
LargeIcon *OlvmIcon `mandatory:"false" json:"largeIcon"`
StorageDomainLease *OlvmStorageDomainProperties `mandatory:"false" json:"storageDomainLease"`
// The virtual machine’s memory, in bytes.
MemoryInBytes *int64 `mandatory:"false" json:"memoryInBytes"`
MemoryPolicy *OlvmMemoryPolicy `mandatory:"false" json:"memoryPolicy"`
MigrationPolicy *OlvmMigrationOptions `mandatory:"false" json:"migrationPolicy"`
// Maximum time the virtual machine can be non responsive during its live migration to another host in ms.
MigrationDowntimeInMs *int `mandatory:"false" json:"migrationDowntimeInMs"`
// If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.
IsMultiQueuesEnabled *bool `mandatory:"false" json:"isMultiQueuesEnabled"`
// The origin of this virtual machine.
Origin *string `mandatory:"false" json:"origin"`
Os *OlvmOperatingSystem `mandatory:"false" json:"os"`
PlacementPolicy *OlvmVmPlacementPolicy `mandatory:"false" json:"placementPolicy"`
SerialNumber *OlvmSerialNumber `mandatory:"false" json:"serialNumber"`
SmallIcon *OlvmIcon `mandatory:"false" json:"smallIcon"`
// If true, the sound card is added to the virtual machine.
IsSoundcardEnabled *bool `mandatory:"false" json:"isSoundcardEnabled"`
// If true, the virtual machine will be initially in 'paused' state after start.
IsStartPaused *bool `mandatory:"false" json:"isStartPaused"`
// If true, the virtual machine is stateless - it’s state (disks) are rolled-back after shutdown.
IsStateless *bool `mandatory:"false" json:"isStateless"`
// The status of the template.
Status OlvmTemplatePropertiesStatusEnum `mandatory:"false" json:"status,omitempty"`
// Determines how the virtual machine will be resumed after storage error.
StorageErrorResumeBehavior OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum `mandatory:"false" json:"storageErrorResumeBehavior,omitempty"`
// Name of time zone.
Timezone *string `mandatory:"false" json:"timezone"`
// If true, a TPM device is added to the virtual machine.
IsTpmEnabled *bool `mandatory:"false" json:"isTpmEnabled"`
// If true, the network data transfer will be encrypted during virtual machine live migration.
IsTunnelMigration *bool `mandatory:"false" json:"isTunnelMigration"`
Type *OlvmVmType `mandatory:"false" json:"type"`
Usb *OlvmUsb `mandatory:"false" json:"usb"`
Version *OlvmTemplateVersion `mandatory:"false" json:"version"`
// Indicates if Virtio SCSI Support is enabled.
IsVirtioScsiEnabled *bool `mandatory:"false" json:"isVirtioScsiEnabled"`
// Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info
VirtioScsiMultiQueues *int `mandatory:"false" json:"virtioScsiMultiQueues"`
// If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues
IsVirtioScsiMultiQueuesEnabled *bool `mandatory:"false" json:"isVirtioScsiMultiQueuesEnabled"`
Vm *OlvmVirtualMachine `mandatory:"false" json:"vm"`
}
OlvmTemplateProperties OLVM Template properties.
func (OlvmTemplateProperties) String ¶ added in v65.111.0
func (m OlvmTemplateProperties) String() string
func (OlvmTemplateProperties) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmTemplateProperties) 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
type OlvmTemplatePropertiesAutoPinningPolicyEnum ¶ added in v65.111.0
type OlvmTemplatePropertiesAutoPinningPolicyEnum string
OlvmTemplatePropertiesAutoPinningPolicyEnum Enum with underlying type: string
const ( OlvmTemplatePropertiesAutoPinningPolicyAdjust OlvmTemplatePropertiesAutoPinningPolicyEnum = "ADJUST" OlvmTemplatePropertiesAutoPinningPolicyDisabled OlvmTemplatePropertiesAutoPinningPolicyEnum = "DISABLED" OlvmTemplatePropertiesAutoPinningPolicyExisting OlvmTemplatePropertiesAutoPinningPolicyEnum = "EXISTING" )
Set of constants representing the allowable values for OlvmTemplatePropertiesAutoPinningPolicyEnum
func GetMappingOlvmTemplatePropertiesAutoPinningPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmTemplatePropertiesAutoPinningPolicyEnum(val string) (OlvmTemplatePropertiesAutoPinningPolicyEnum, bool)
GetMappingOlvmTemplatePropertiesAutoPinningPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmTemplatePropertiesAutoPinningPolicyEnumValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesAutoPinningPolicyEnumValues() []OlvmTemplatePropertiesAutoPinningPolicyEnum
GetOlvmTemplatePropertiesAutoPinningPolicyEnumValues Enumerates the set of values for OlvmTemplatePropertiesAutoPinningPolicyEnum
type OlvmTemplatePropertiesCpuPinningPolicyEnum ¶ added in v65.111.0
type OlvmTemplatePropertiesCpuPinningPolicyEnum string
OlvmTemplatePropertiesCpuPinningPolicyEnum Enum with underlying type: string
const ( OlvmTemplatePropertiesCpuPinningPolicyDedicated OlvmTemplatePropertiesCpuPinningPolicyEnum = "DEDICATED" OlvmTemplatePropertiesCpuPinningPolicyIsolatedThreads OlvmTemplatePropertiesCpuPinningPolicyEnum = "ISOLATED_THREADS" OlvmTemplatePropertiesCpuPinningPolicyManual OlvmTemplatePropertiesCpuPinningPolicyEnum = "MANUAL" OlvmTemplatePropertiesCpuPinningPolicyNone OlvmTemplatePropertiesCpuPinningPolicyEnum = "NONE" OlvmTemplatePropertiesCpuPinningPolicyResizeAndPinNuma OlvmTemplatePropertiesCpuPinningPolicyEnum = "RESIZE_AND_PIN_NUMA" )
Set of constants representing the allowable values for OlvmTemplatePropertiesCpuPinningPolicyEnum
func GetMappingOlvmTemplatePropertiesCpuPinningPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmTemplatePropertiesCpuPinningPolicyEnum(val string) (OlvmTemplatePropertiesCpuPinningPolicyEnum, bool)
GetMappingOlvmTemplatePropertiesCpuPinningPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmTemplatePropertiesCpuPinningPolicyEnumValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesCpuPinningPolicyEnumValues() []OlvmTemplatePropertiesCpuPinningPolicyEnum
GetOlvmTemplatePropertiesCpuPinningPolicyEnumValues Enumerates the set of values for OlvmTemplatePropertiesCpuPinningPolicyEnum
type OlvmTemplatePropertiesStatusEnum ¶ added in v65.111.0
type OlvmTemplatePropertiesStatusEnum string
OlvmTemplatePropertiesStatusEnum Enum with underlying type: string
const ( OlvmTemplatePropertiesStatusIllegal OlvmTemplatePropertiesStatusEnum = "ILLEGAL" OlvmTemplatePropertiesStatusLocked OlvmTemplatePropertiesStatusEnum = "LOCKED" OlvmTemplatePropertiesStatusOk OlvmTemplatePropertiesStatusEnum = "OK" )
Set of constants representing the allowable values for OlvmTemplatePropertiesStatusEnum
func GetMappingOlvmTemplatePropertiesStatusEnum ¶ added in v65.111.0
func GetMappingOlvmTemplatePropertiesStatusEnum(val string) (OlvmTemplatePropertiesStatusEnum, bool)
GetMappingOlvmTemplatePropertiesStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmTemplatePropertiesStatusEnumValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesStatusEnumValues() []OlvmTemplatePropertiesStatusEnum
GetOlvmTemplatePropertiesStatusEnumValues Enumerates the set of values for OlvmTemplatePropertiesStatusEnum
type OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum ¶ added in v65.111.0
type OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum string
OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum Enum with underlying type: string
const ( OlvmTemplatePropertiesStorageErrorResumeBehaviorAutoResume OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum = "AUTO_RESUME" OlvmTemplatePropertiesStorageErrorResumeBehaviorKill OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum = "KILL" OlvmTemplatePropertiesStorageErrorResumeBehaviorLeavePaused OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum = "LEAVE_PAUSED" )
Set of constants representing the allowable values for OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum
func GetMappingOlvmTemplatePropertiesStorageErrorResumeBehaviorEnum ¶ added in v65.111.0
func GetMappingOlvmTemplatePropertiesStorageErrorResumeBehaviorEnum(val string) (OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum, bool)
GetMappingOlvmTemplatePropertiesStorageErrorResumeBehaviorEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumValues ¶ added in v65.111.0
func GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumValues() []OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum
GetOlvmTemplatePropertiesStorageErrorResumeBehaviorEnumValues Enumerates the set of values for OlvmTemplatePropertiesStorageErrorResumeBehaviorEnum
type OlvmTemplateVersion ¶ added in v65.111.0
type OlvmTemplateVersion struct {
// The name of this version.
VersionName *string `mandatory:"false" json:"versionName"`
// The index of this version in the versions hierarchy of the template.
VersionNumber *int `mandatory:"false" json:"versionNumber"`
}
OlvmTemplateVersion Indicates whether this is the base version or a sub-version of another template.
func (OlvmTemplateVersion) String ¶ added in v65.111.0
func (m OlvmTemplateVersion) String() string
func (OlvmTemplateVersion) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmTemplateVersion) 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
type OlvmUsb ¶ added in v65.111.0
type OlvmUsb struct {
// Determines whether the USB device should be included or not.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
// Type of USB device redirection
UsbType OlvmUsbUsbTypeEnum `mandatory:"false" json:"usbType,omitempty"`
}
OlvmUsb Configuration of USB devices for this virtual machine (count, type).
func (OlvmUsb) ValidateEnumValue ¶ added in v65.111.0
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
type OlvmUsbUsbTypeEnum ¶ added in v65.111.0
type OlvmUsbUsbTypeEnum string
OlvmUsbUsbTypeEnum Enum with underlying type: string
const ( OlvmUsbUsbTypeLegacy OlvmUsbUsbTypeEnum = "LEGACY" OlvmUsbUsbTypeNative OlvmUsbUsbTypeEnum = "NATIVE" )
Set of constants representing the allowable values for OlvmUsbUsbTypeEnum
func GetMappingOlvmUsbUsbTypeEnum ¶ added in v65.111.0
func GetMappingOlvmUsbUsbTypeEnum(val string) (OlvmUsbUsbTypeEnum, bool)
GetMappingOlvmUsbUsbTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmUsbUsbTypeEnumValues ¶ added in v65.111.0
func GetOlvmUsbUsbTypeEnumValues() []OlvmUsbUsbTypeEnum
GetOlvmUsbUsbTypeEnumValues Enumerates the set of values for OlvmUsbUsbTypeEnum
type OlvmVersion ¶ added in v65.111.0
type OlvmVersion struct {
// Build number of this version
Build *int `mandatory:"false" json:"build"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// Full version
FullVersion *string `mandatory:"false" json:"fullVersion"`
// A unique identifier
Id *string `mandatory:"false" json:"id"`
// Major version
Major *int `mandatory:"false" json:"major"`
// Minor version
Minor *int `mandatory:"false" json:"minor"`
// A human-readable name in plain text
Name *string `mandatory:"false" json:"name"`
// Revision number
Revision *int `mandatory:"false" json:"revision"`
}
OlvmVersion Version in OLVM
func (OlvmVersion) String ¶ added in v65.111.0
func (m OlvmVersion) String() string
func (OlvmVersion) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVersion) 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
type OlvmVirtualMachine ¶ added in v65.111.0
type OlvmVirtualMachine struct {
// Specifies if and how the auto CPU and NUMA configuration is applied.
AutoPinningPolicy OlvmVirtualMachineAutoPinningPolicyEnum `mandatory:"false" json:"autoPinningPolicy,omitempty"`
Bios *OlvmBios `mandatory:"false" json:"bios"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
Console *OlvmConsole `mandatory:"false" json:"console"`
Cpu *OlvmCpu `mandatory:"false" json:"cpu"`
// Type representing the CPU and NUMA pinning policy.
CpuPinningPolicy OlvmVirtualMachineCpuPinningPolicyEnum `mandatory:"false" json:"cpuPinningPolicy,omitempty"`
CpuShares *int `mandatory:"false" json:"cpuShares"`
// Creation time.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
CustomCompatibilityVersion *OlvmVersion `mandatory:"false" json:"customCompatibilityVersion"`
// Custom CPU model
CustomCpuModel *string `mandatory:"false" json:"customCpuModel"`
// Custom Emulated machine
CustomEmulatedMachine *string `mandatory:"false" json:"customEmulatedMachine"`
// Custom properties applied to the vNIC profile.
CustomProperties []OlvmCustomProperty `mandatory:"false" json:"customProperties"`
// If true, the virtual machine cannot be deleted.
IsDeleteProtected *bool `mandatory:"false" json:"isDeleteProtected"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
Display *OlvmDisplay `mandatory:"false" json:"display"`
Domain *OlvmDomain `mandatory:"false" json:"domain"`
// Fully qualified domain name of the virtual machine.
Fqdn *string `mandatory:"false" json:"fqdn"`
GuestOperatingSystem *OlvmGuestOperatingSystem `mandatory:"false" json:"guestOperatingSystem"`
// What time zone is used by the virtual machine (as returned by guest agent).
GuestTimeZone *string `mandatory:"false" json:"guestTimeZone"`
// Indicates whether the virtual machine has snapshots with disks in ILLEGAL state.
IsContainIllegalImages *bool `mandatory:"false" json:"isContainIllegalImages"`
HighAvailability *OlvmHighAvailability `mandatory:"false" json:"highAvailability"`
Initialization *OlvmInitialization `mandatory:"false" json:"initialization"`
// For performance tuning of IO threading.
IoThreads *int `mandatory:"false" json:"ioThreads"`
LargeIcon *OlvmIcon `mandatory:"false" json:"largeIcon"`
StorageDomainLease *OlvmStorageDomainProperties `mandatory:"false" json:"storageDomainLease"`
// The virtual machine’s memory, in bytes.
MemoryInBytes *int64 `mandatory:"false" json:"memoryInBytes"`
MemoryPolicy *OlvmMemoryPolicy `mandatory:"false" json:"memoryPolicy"`
MigrationPolicy *OlvmMigrationOptions `mandatory:"false" json:"migrationPolicy"`
// Maximum time the virtual machine can be non responsive during its live migration to another host in ms.
MigrationDowntimeInMs *int `mandatory:"false" json:"migrationDowntimeInMs"`
// If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.
IsMultiQueuesEnabled *bool `mandatory:"false" json:"isMultiQueuesEnabled"`
// Name of the property.
VirtualMachineName *string `mandatory:"false" json:"virtualMachineName"`
// Indicates if virtual machine configuration has been changed and requires restart of the virtual machine.
IsNextRunConfigurationExists *bool `mandatory:"false" json:"isNextRunConfigurationExists"`
// How the NUMA topology is applied.
NumaTuneMode OlvmVirtualMachineNumaTuneModeEnum `mandatory:"false" json:"numaTuneMode,omitempty"`
// The origin of this virtual machine.
Origin *string `mandatory:"false" json:"origin"`
Os *OlvmOperatingSystem `mandatory:"false" json:"os"`
PlacementPolicy *OlvmVmPlacementPolicy `mandatory:"false" json:"placementPolicy"`
// If true, the virtual machine has been started using the run once command, meaning it’s configuration might differ from the stored one for the purpose of this single run.
IsRunOnce *bool `mandatory:"false" json:"isRunOnce"`
SerialNumber *OlvmSerialNumber `mandatory:"false" json:"serialNumber"`
SmallIcon *OlvmIcon `mandatory:"false" json:"smallIcon"`
// If true, the sound card is added to the virtual machine.
IsSoundcardEnabled *bool `mandatory:"false" json:"isSoundcardEnabled"`
// If true, the virtual machine will be initially in 'paused' state after start.
IsStartPaused *bool `mandatory:"false" json:"isStartPaused"`
// The date in which the virtual machine was started.
TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`
// If true, the virtual machine is stateless - it’s state (disks) are rolled-back after shutdown.
IsStateless *bool `mandatory:"false" json:"isStateless"`
Status *OlvmVmStatus `mandatory:"false" json:"status"`
// Human readable detail of current status.
StatusDetail *string `mandatory:"false" json:"statusDetail"`
// The reason the virtual machine was stopped.
StopReason *string `mandatory:"false" json:"stopReason"`
// The date in which the virtual machine was stopped.
TimeStop *common.SDKTime `mandatory:"false" json:"timeStop"`
// Determines how the virtual machine will be resumed after storage error.
StorageErrorResumeBehavior OlvmVirtualMachineStorageErrorResumeBehaviorEnum `mandatory:"false" json:"storageErrorResumeBehavior,omitempty"`
// Name of time zone.
Timezone *string `mandatory:"false" json:"timezone"`
// If true, a TPM device is added to the virtual machine.
IsTpmEnabled *bool `mandatory:"false" json:"isTpmEnabled"`
// If true, the network data transfer will be encrypted during virtual machine live migration.
IsTunnelMigration *bool `mandatory:"false" json:"isTunnelMigration"`
Type *OlvmVmType `mandatory:"false" json:"type"`
Usb *OlvmUsb `mandatory:"false" json:"usb"`
// If true, the virtual machine is reconfigured to the latest version of it’s template when it is started.
IsUseLatestTemplateVersion *bool `mandatory:"false" json:"isUseLatestTemplateVersion"`
// Indicates if Virtio SCSI Support is enabled.
IsVirtioScsiEnabled *bool `mandatory:"false" json:"isVirtioScsiEnabled"`
// Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info
VirtioScsiMultiQueues *int `mandatory:"false" json:"virtioScsiMultiQueues"`
// If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues
IsVirtioScsiMultiQueuesEnabled *bool `mandatory:"false" json:"isVirtioScsiMultiQueuesEnabled"`
}
OlvmVirtualMachine Represents a virtual machine.
func (OlvmVirtualMachine) String ¶ added in v65.111.0
func (m OlvmVirtualMachine) String() string
func (OlvmVirtualMachine) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVirtualMachine) 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
type OlvmVirtualMachineAutoPinningPolicyEnum ¶ added in v65.111.0
type OlvmVirtualMachineAutoPinningPolicyEnum string
OlvmVirtualMachineAutoPinningPolicyEnum Enum with underlying type: string
const ( OlvmVirtualMachineAutoPinningPolicyAdjust OlvmVirtualMachineAutoPinningPolicyEnum = "ADJUST" OlvmVirtualMachineAutoPinningPolicyDisabled OlvmVirtualMachineAutoPinningPolicyEnum = "DISABLED" OlvmVirtualMachineAutoPinningPolicyExisting OlvmVirtualMachineAutoPinningPolicyEnum = "EXISTING" )
Set of constants representing the allowable values for OlvmVirtualMachineAutoPinningPolicyEnum
func GetMappingOlvmVirtualMachineAutoPinningPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmVirtualMachineAutoPinningPolicyEnum(val string) (OlvmVirtualMachineAutoPinningPolicyEnum, bool)
GetMappingOlvmVirtualMachineAutoPinningPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVirtualMachineAutoPinningPolicyEnumValues ¶ added in v65.111.0
func GetOlvmVirtualMachineAutoPinningPolicyEnumValues() []OlvmVirtualMachineAutoPinningPolicyEnum
GetOlvmVirtualMachineAutoPinningPolicyEnumValues Enumerates the set of values for OlvmVirtualMachineAutoPinningPolicyEnum
type OlvmVirtualMachineCpuPinningPolicyEnum ¶ added in v65.111.0
type OlvmVirtualMachineCpuPinningPolicyEnum string
OlvmVirtualMachineCpuPinningPolicyEnum Enum with underlying type: string
const ( OlvmVirtualMachineCpuPinningPolicyDedicated OlvmVirtualMachineCpuPinningPolicyEnum = "DEDICATED" OlvmVirtualMachineCpuPinningPolicyIsolatedThreads OlvmVirtualMachineCpuPinningPolicyEnum = "ISOLATED_THREADS" OlvmVirtualMachineCpuPinningPolicyManual OlvmVirtualMachineCpuPinningPolicyEnum = "MANUAL" OlvmVirtualMachineCpuPinningPolicyNone OlvmVirtualMachineCpuPinningPolicyEnum = "NONE" OlvmVirtualMachineCpuPinningPolicyResizeAndPinNuma OlvmVirtualMachineCpuPinningPolicyEnum = "RESIZE_AND_PIN_NUMA" )
Set of constants representing the allowable values for OlvmVirtualMachineCpuPinningPolicyEnum
func GetMappingOlvmVirtualMachineCpuPinningPolicyEnum ¶ added in v65.111.0
func GetMappingOlvmVirtualMachineCpuPinningPolicyEnum(val string) (OlvmVirtualMachineCpuPinningPolicyEnum, bool)
GetMappingOlvmVirtualMachineCpuPinningPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVirtualMachineCpuPinningPolicyEnumValues ¶ added in v65.111.0
func GetOlvmVirtualMachineCpuPinningPolicyEnumValues() []OlvmVirtualMachineCpuPinningPolicyEnum
GetOlvmVirtualMachineCpuPinningPolicyEnumValues Enumerates the set of values for OlvmVirtualMachineCpuPinningPolicyEnum
type OlvmVirtualMachineNumaTuneModeEnum ¶ added in v65.111.0
type OlvmVirtualMachineNumaTuneModeEnum string
OlvmVirtualMachineNumaTuneModeEnum Enum with underlying type: string
const ( OlvmVirtualMachineNumaTuneModeInterleave OlvmVirtualMachineNumaTuneModeEnum = "INTERLEAVE" OlvmVirtualMachineNumaTuneModePreferred OlvmVirtualMachineNumaTuneModeEnum = "PREFERRED" OlvmVirtualMachineNumaTuneModeStrict OlvmVirtualMachineNumaTuneModeEnum = "STRICT" )
Set of constants representing the allowable values for OlvmVirtualMachineNumaTuneModeEnum
func GetMappingOlvmVirtualMachineNumaTuneModeEnum ¶ added in v65.111.0
func GetMappingOlvmVirtualMachineNumaTuneModeEnum(val string) (OlvmVirtualMachineNumaTuneModeEnum, bool)
GetMappingOlvmVirtualMachineNumaTuneModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVirtualMachineNumaTuneModeEnumValues ¶ added in v65.111.0
func GetOlvmVirtualMachineNumaTuneModeEnumValues() []OlvmVirtualMachineNumaTuneModeEnum
GetOlvmVirtualMachineNumaTuneModeEnumValues Enumerates the set of values for OlvmVirtualMachineNumaTuneModeEnum
type OlvmVirtualMachineStorageErrorResumeBehaviorEnum ¶ added in v65.111.0
type OlvmVirtualMachineStorageErrorResumeBehaviorEnum string
OlvmVirtualMachineStorageErrorResumeBehaviorEnum Enum with underlying type: string
const ( OlvmVirtualMachineStorageErrorResumeBehaviorAutoResume OlvmVirtualMachineStorageErrorResumeBehaviorEnum = "AUTO_RESUME" OlvmVirtualMachineStorageErrorResumeBehaviorKill OlvmVirtualMachineStorageErrorResumeBehaviorEnum = "KILL" OlvmVirtualMachineStorageErrorResumeBehaviorLeavePaused OlvmVirtualMachineStorageErrorResumeBehaviorEnum = "LEAVE_PAUSED" )
Set of constants representing the allowable values for OlvmVirtualMachineStorageErrorResumeBehaviorEnum
func GetMappingOlvmVirtualMachineStorageErrorResumeBehaviorEnum ¶ added in v65.111.0
func GetMappingOlvmVirtualMachineStorageErrorResumeBehaviorEnum(val string) (OlvmVirtualMachineStorageErrorResumeBehaviorEnum, bool)
GetMappingOlvmVirtualMachineStorageErrorResumeBehaviorEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumValues ¶ added in v65.111.0
func GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumValues() []OlvmVirtualMachineStorageErrorResumeBehaviorEnum
GetOlvmVirtualMachineStorageErrorResumeBehaviorEnumValues Enumerates the set of values for OlvmVirtualMachineStorageErrorResumeBehaviorEnum
type OlvmVmPlacementPolicy ¶ added in v65.111.0
type OlvmVmPlacementPolicy struct {
// Affinity of the virtual machine.
VmAffinity OlvmVmPlacementPolicyVmAffinityEnum `mandatory:"false" json:"vmAffinity,omitempty"`
// List of hosts.
Hosts []OlvmHost `mandatory:"false" json:"hosts"`
}
OlvmVmPlacementPolicy The configuration of the virtual machine’s placement policy.
func (OlvmVmPlacementPolicy) String ¶ added in v65.111.0
func (m OlvmVmPlacementPolicy) String() string
func (OlvmVmPlacementPolicy) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVmPlacementPolicy) 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
type OlvmVmPlacementPolicyVmAffinityEnum ¶ added in v65.111.0
type OlvmVmPlacementPolicyVmAffinityEnum string
OlvmVmPlacementPolicyVmAffinityEnum Enum with underlying type: string
const ( OlvmVmPlacementPolicyVmAffinityMigratable OlvmVmPlacementPolicyVmAffinityEnum = "MIGRATABLE" OlvmVmPlacementPolicyVmAffinityPinned OlvmVmPlacementPolicyVmAffinityEnum = "PINNED" OlvmVmPlacementPolicyVmAffinityUserMigratable OlvmVmPlacementPolicyVmAffinityEnum = "USER_MIGRATABLE" )
Set of constants representing the allowable values for OlvmVmPlacementPolicyVmAffinityEnum
func GetMappingOlvmVmPlacementPolicyVmAffinityEnum ¶ added in v65.111.0
func GetMappingOlvmVmPlacementPolicyVmAffinityEnum(val string) (OlvmVmPlacementPolicyVmAffinityEnum, bool)
GetMappingOlvmVmPlacementPolicyVmAffinityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVmPlacementPolicyVmAffinityEnumValues ¶ added in v65.111.0
func GetOlvmVmPlacementPolicyVmAffinityEnumValues() []OlvmVmPlacementPolicyVmAffinityEnum
GetOlvmVmPlacementPolicyVmAffinityEnumValues Enumerates the set of values for OlvmVmPlacementPolicyVmAffinityEnum
type OlvmVmStatus ¶ added in v65.111.0
type OlvmVmStatus struct {
// Type representing a status of a virtual machine.
Status OlvmVmStatusStatusEnum `mandatory:"false" json:"status,omitempty"`
}
OlvmVmStatus The current status of the virtual machine.
func (OlvmVmStatus) String ¶ added in v65.111.0
func (m OlvmVmStatus) String() string
func (OlvmVmStatus) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVmStatus) 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
type OlvmVmStatusStatusEnum ¶ added in v65.111.0
type OlvmVmStatusStatusEnum string
OlvmVmStatusStatusEnum Enum with underlying type: string
const ( OlvmVmStatusStatusDown OlvmVmStatusStatusEnum = "DOWN" OlvmVmStatusStatusImageLocked OlvmVmStatusStatusEnum = "IMAGE_LOCKED" OlvmVmStatusStatusMigrating OlvmVmStatusStatusEnum = "MIGRATING" OlvmVmStatusStatusNotResponding OlvmVmStatusStatusEnum = "NOT_RESPONDING" OlvmVmStatusStatusPaused OlvmVmStatusStatusEnum = "PAUSED" OlvmVmStatusStatusPoweringDown OlvmVmStatusStatusEnum = "POWERING_DOWN" OlvmVmStatusStatusPoweringUp OlvmVmStatusStatusEnum = "POWERING_UP" OlvmVmStatusStatusRebootInProgress OlvmVmStatusStatusEnum = "REBOOT_IN_PROGRESS" OlvmVmStatusStatusRestoringState OlvmVmStatusStatusEnum = "RESTORING_STATE" OlvmVmStatusStatusSavingState OlvmVmStatusStatusEnum = "SAVING_STATE" OlvmVmStatusStatusSuspended OlvmVmStatusStatusEnum = "SUSPENDED" OlvmVmStatusStatusUnassigned OlvmVmStatusStatusEnum = "UNASSIGNED" OlvmVmStatusStatusUnknown OlvmVmStatusStatusEnum = "UNKNOWN" OlvmVmStatusStatusUp OlvmVmStatusStatusEnum = "UP" OlvmVmStatusStatusWaitForLaunch OlvmVmStatusStatusEnum = "WAIT_FOR_LAUNCH" )
Set of constants representing the allowable values for OlvmVmStatusStatusEnum
func GetMappingOlvmVmStatusStatusEnum ¶ added in v65.111.0
func GetMappingOlvmVmStatusStatusEnum(val string) (OlvmVmStatusStatusEnum, bool)
GetMappingOlvmVmStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVmStatusStatusEnumValues ¶ added in v65.111.0
func GetOlvmVmStatusStatusEnumValues() []OlvmVmStatusStatusEnum
GetOlvmVmStatusStatusEnumValues Enumerates the set of values for OlvmVmStatusStatusEnum
type OlvmVmSummary ¶ added in v65.111.0
type OlvmVmSummary struct {
// The number of virtual machines active on the host.
Active *int `mandatory:"false" json:"active"`
// The number of virtual machines migrating to or from the host.
Migrating *int `mandatory:"false" json:"migrating"`
// The number of virtual machines present on the host.
Total *int `mandatory:"false" json:"total"`
}
OlvmVmSummary Type containing information related to virtual machines on a particular host.
func (OlvmVmSummary) String ¶ added in v65.111.0
func (m OlvmVmSummary) String() string
func (OlvmVmSummary) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVmSummary) 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
type OlvmVmType ¶ added in v65.111.0
type OlvmVmType struct {
// Type representing what the virtual machine is optimized for.
VmType OlvmVmTypeVmTypeEnum `mandatory:"false" json:"vmType,omitempty"`
}
OlvmVmType Determines whether the virtual machine is optimized for desktop or server.
func (OlvmVmType) String ¶ added in v65.111.0
func (m OlvmVmType) String() string
func (OlvmVmType) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVmType) 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
type OlvmVmTypeVmTypeEnum ¶ added in v65.111.0
type OlvmVmTypeVmTypeEnum string
OlvmVmTypeVmTypeEnum Enum with underlying type: string
const ( OlvmVmTypeVmTypeDesktop OlvmVmTypeVmTypeEnum = "DESKTOP" OlvmVmTypeVmTypeHighPerformance OlvmVmTypeVmTypeEnum = "HIGH_PERFORMANCE" OlvmVmTypeVmTypeServer OlvmVmTypeVmTypeEnum = "SERVER" )
Set of constants representing the allowable values for OlvmVmTypeVmTypeEnum
func GetMappingOlvmVmTypeVmTypeEnum ¶ added in v65.111.0
func GetMappingOlvmVmTypeVmTypeEnum(val string) (OlvmVmTypeVmTypeEnum, bool)
GetMappingOlvmVmTypeVmTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVmTypeVmTypeEnumValues ¶ added in v65.111.0
func GetOlvmVmTypeVmTypeEnumValues() []OlvmVmTypeVmTypeEnum
GetOlvmVmTypeVmTypeEnumValues Enumerates the set of values for OlvmVmTypeVmTypeEnum
type OlvmVnicProfileAssetDetails ¶ added in v65.111.0
type OlvmVnicProfileAssetDetails struct {
OlvmVnicProfile *OlvmVnicProfileProperties `mandatory:"true" json:"olvmVnicProfile"`
}
OlvmVnicProfileAssetDetails OLVM Vnic Profile type of asset.
func (OlvmVnicProfileAssetDetails) String ¶ added in v65.111.0
func (m OlvmVnicProfileAssetDetails) String() string
func (OlvmVnicProfileAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVnicProfileAssetDetails) 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
type OlvmVnicProfileProperties ¶ added in v65.111.0
type OlvmVnicProfileProperties struct {
// A human-readable name in plain text
VnicProfileName *string `mandatory:"true" json:"vnicProfileName"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// Custom properties applied to the vNIC profile.
CustomProperties []OlvmCustomProperty `mandatory:"false" json:"customProperties"`
// A human-readable description in plain text.
Description *string `mandatory:"false" json:"description"`
// Indicates whether passThrough NIC is migratable or not.
IsMigratable *bool `mandatory:"false" json:"isMigratable"`
// Describes whether the vNIC is to be implemented as a pass-through device or a virtual one.
PassThrough OlvmVnicProfilePropertiesPassThroughEnum `mandatory:"false" json:"passThrough,omitempty"`
// Indicates if port mirroring is enabled.
IsPortMirroring *bool `mandatory:"false" json:"isPortMirroring"`
}
OlvmVnicProfileProperties OLVM Vnic Profile properties.
func (OlvmVnicProfileProperties) String ¶ added in v65.111.0
func (m OlvmVnicProfileProperties) String() string
func (OlvmVnicProfileProperties) ValidateEnumValue ¶ added in v65.111.0
func (m OlvmVnicProfileProperties) 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
type OlvmVnicProfilePropertiesPassThroughEnum ¶ added in v65.111.0
type OlvmVnicProfilePropertiesPassThroughEnum string
OlvmVnicProfilePropertiesPassThroughEnum Enum with underlying type: string
const ( OlvmVnicProfilePropertiesPassThroughDisabled OlvmVnicProfilePropertiesPassThroughEnum = "DISABLED" OlvmVnicProfilePropertiesPassThroughEnabled OlvmVnicProfilePropertiesPassThroughEnum = "ENABLED" )
Set of constants representing the allowable values for OlvmVnicProfilePropertiesPassThroughEnum
func GetMappingOlvmVnicProfilePropertiesPassThroughEnum ¶ added in v65.111.0
func GetMappingOlvmVnicProfilePropertiesPassThroughEnum(val string) (OlvmVnicProfilePropertiesPassThroughEnum, bool)
GetMappingOlvmVnicProfilePropertiesPassThroughEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOlvmVnicProfilePropertiesPassThroughEnumValues ¶ added in v65.111.0
func GetOlvmVnicProfilePropertiesPassThroughEnumValues() []OlvmVnicProfilePropertiesPassThroughEnum
GetOlvmVnicProfilePropertiesPassThroughEnumValues Enumerates the set of values for OlvmVnicProfilePropertiesPassThroughEnum
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateEnvironment OperationTypeEnum = "CREATE_ENVIRONMENT" OperationTypeUpdateEnvironment OperationTypeEnum = "UPDATE_ENVIRONMENT" OperationTypeDeleteEnvironment OperationTypeEnum = "DELETE_ENVIRONMENT" OperationTypeMoveEnvironment OperationTypeEnum = "MOVE_ENVIRONMENT" OperationTypeCreateOcbAgent OperationTypeEnum = "CREATE_OCB_AGENT" OperationTypeUpdateOcbAgent OperationTypeEnum = "UPDATE_OCB_AGENT" OperationTypeDeleteOcbAgent OperationTypeEnum = "DELETE_OCB_AGENT" OperationTypeMoveOcbAgent OperationTypeEnum = "MOVE_OCB_AGENT" OperationTypeCreateAgentDependency OperationTypeEnum = "CREATE_AGENT_DEPENDENCY" OperationTypeUpdateAgentDependency OperationTypeEnum = "UPDATE_AGENT_DEPENDENCY" OperationTypeDeleteAgentDependency OperationTypeEnum = "DELETE_AGENT_DEPENDENCY" OperationTypeMoveAgentDependency OperationTypeEnum = "MOVE_AGENT_DEPENDENCY" OperationTypeCreateInventory OperationTypeEnum = "CREATE_INVENTORY" OperationTypeDeleteInventory OperationTypeEnum = "DELETE_INVENTORY" OperationTypeImportInventory OperationTypeEnum = "IMPORT_INVENTORY" OperationTypeDeleteAssetSource OperationTypeEnum = "DELETE_ASSET_SOURCE" OperationTypeRefreshAssetSource OperationTypeEnum = "REFRESH_ASSET_SOURCE" OperationTypeCreateAssetSource OperationTypeEnum = "CREATE_ASSET_SOURCE" OperationTypeUpdateAssetSource OperationTypeEnum = "UPDATE_ASSET_SOURCE" OperationTypeUpdatePluginState OperationTypeEnum = "UPDATE_PLUGIN_STATE" OperationTypeCloudAwsDiscovery OperationTypeEnum = "CLOUD_AWS_DISCOVERY" OperationTypeCollectAwsRealtimeMetrics OperationTypeEnum = "COLLECT_AWS_REALTIME_METRICS" OperationTypeCollectAwsHistoricalMetrics OperationTypeEnum = "COLLECT_AWS_HISTORICAL_METRICS" OperationTypeOlvmDiscovery OperationTypeEnum = "OLVM_DISCOVERY" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type Placement ¶ added in v65.77.0
type Placement struct {
// The affinity setting for the instance on the Dedicated Host.
Affinity *string `mandatory:"false" json:"affinity"`
// The Availability Zone of the instance.
AvailabilityZone *string `mandatory:"false" json:"availabilityZone"`
// The name of the placement group the instance is in.
GroupName *string `mandatory:"false" json:"groupName"`
// The ID of the Dedicated Host on which the instance resides.
HostKey *string `mandatory:"false" json:"hostKey"`
// The ARN of the host resource group in which to launch the instances.
HostResourceGroupArn *string `mandatory:"false" json:"hostResourceGroupArn"`
// The number of the partition that the instance is in.
PartitionNumber *int `mandatory:"false" json:"partitionNumber"`
// Reserved for future use.
SpreadDomain *string `mandatory:"false" json:"spreadDomain"`
// The tenancy of the instance (if the instance is running in a VPC).
Tenancy *string `mandatory:"false" json:"tenancy"`
}
Placement Describes the placement of an instance.
func (Placement) ValidateEnumValue ¶ added in v65.77.0
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
type Plugin ¶
type Plugin struct {
// Plugin identifier, which can be renamed.
Name *string `mandatory:"true" json:"name"`
// Agent identifier.
AgentId *string `mandatory:"true" json:"agentId"`
// Plugin version.
PluginVersion *string `mandatory:"true" json:"pluginVersion"`
// The time when the Agent was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current state of the plugin.
LifecycleState PluginLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// State to which the customer wants the plugin to move to.
DesiredState PluginDesiredStateEnum `mandatory:"false" json:"desiredState,omitempty"`
// The time when the Agent 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 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.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.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.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"`
}
Plugin Description of plugin
func (Plugin) ValidateEnumValue ¶
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
type PluginDesiredStateEnum ¶
type PluginDesiredStateEnum string
PluginDesiredStateEnum Enum with underlying type: string
const ( PluginDesiredStateEnabled PluginDesiredStateEnum = "ENABLED" PluginDesiredStateDisabled PluginDesiredStateEnum = "DISABLED" )
Set of constants representing the allowable values for PluginDesiredStateEnum
func GetMappingPluginDesiredStateEnum ¶
func GetMappingPluginDesiredStateEnum(val string) (PluginDesiredStateEnum, bool)
GetMappingPluginDesiredStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPluginDesiredStateEnumValues ¶
func GetPluginDesiredStateEnumValues() []PluginDesiredStateEnum
GetPluginDesiredStateEnumValues Enumerates the set of values for PluginDesiredStateEnum
type PluginLifecycleStateEnum ¶
type PluginLifecycleStateEnum string
PluginLifecycleStateEnum Enum with underlying type: string
const ( PluginLifecycleStateUpdating PluginLifecycleStateEnum = "UPDATING" PluginLifecycleStateActive PluginLifecycleStateEnum = "ACTIVE" PluginLifecycleStateInactive PluginLifecycleStateEnum = "INACTIVE" PluginLifecycleStateNeedsAttention PluginLifecycleStateEnum = "NEEDS_ATTENTION" PluginLifecycleStateDeleted PluginLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for PluginLifecycleStateEnum
func GetMappingPluginLifecycleStateEnum ¶
func GetMappingPluginLifecycleStateEnum(val string) (PluginLifecycleStateEnum, bool)
GetMappingPluginLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPluginLifecycleStateEnumValues ¶
func GetPluginLifecycleStateEnumValues() []PluginLifecycleStateEnum
GetPluginLifecycleStateEnumValues Enumerates the set of values for PluginLifecycleStateEnum
type PluginSummary ¶
type PluginSummary struct {
// Plugin identifier, which can be renamed.
Name *string `mandatory:"true" json:"name"`
// Agent identifier.
AgentId *string `mandatory:"true" json:"agentId"`
// Plugin version.
PluginVersion *string `mandatory:"true" json:"pluginVersion"`
// The time when the plugin was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current state of the plugin.
LifecycleState PluginLifecycleStateEnum `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.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.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 plugin 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.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"`
}
PluginSummary Summary of the plugin in an Agent.
func (PluginSummary) String ¶
func (m PluginSummary) String() string
func (PluginSummary) ValidateEnumValue ¶
func (m PluginSummary) 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
type RefreshAssetSourceRequest ¶
type RefreshAssetSourceRequest struct {
// The OCID (https://docs.oracle.com/iaas/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"`
// 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
}
RefreshAssetSourceRequest wrapper for the RefreshAssetSource operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/RefreshAssetSource.go.html to see an example of how to use RefreshAssetSourceRequest.
func (RefreshAssetSourceRequest) BinaryRequestBody ¶
func (request RefreshAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RefreshAssetSourceRequest) HTTPRequest ¶
func (request RefreshAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RefreshAssetSourceRequest) RetryPolicy ¶
func (request RefreshAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RefreshAssetSourceRequest) String ¶
func (request RefreshAssetSourceRequest) String() string
func (RefreshAssetSourceRequest) ValidateEnumValue ¶
func (request RefreshAssetSourceRequest) 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
type RefreshAssetSourceResponse ¶
type RefreshAssetSourceResponse 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"`
}
RefreshAssetSourceResponse wrapper for the RefreshAssetSource operation
func (RefreshAssetSourceResponse) HTTPResponse ¶
func (response RefreshAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RefreshAssetSourceResponse) String ¶
func (response RefreshAssetSourceResponse) String() string
type RemoveAgentDependencyDetails ¶
type RemoveAgentDependencyDetails struct {
// The OCID of the agentDependency that should be removed from the source environment.
AgentDependencyId *string `mandatory:"true" json:"agentDependencyId"`
}
RemoveAgentDependencyDetails The information to be updated.
func (RemoveAgentDependencyDetails) String ¶
func (m RemoveAgentDependencyDetails) String() string
func (RemoveAgentDependencyDetails) ValidateEnumValue ¶
func (m RemoveAgentDependencyDetails) 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
type RemoveAgentDependencyRequest ¶
type RemoveAgentDependencyRequest struct {
// Unique environment identifier.
EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"`
// The information to be updated.
RemoveAgentDependencyDetails `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
}
RemoveAgentDependencyRequest wrapper for the RemoveAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/RemoveAgentDependency.go.html to see an example of how to use RemoveAgentDependencyRequest.
func (RemoveAgentDependencyRequest) BinaryRequestBody ¶
func (request RemoveAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RemoveAgentDependencyRequest) HTTPRequest ¶
func (request RemoveAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RemoveAgentDependencyRequest) RetryPolicy ¶
func (request RemoveAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RemoveAgentDependencyRequest) String ¶
func (request RemoveAgentDependencyRequest) String() string
func (RemoveAgentDependencyRequest) ValidateEnumValue ¶
func (request RemoveAgentDependencyRequest) 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
type RemoveAgentDependencyResponse ¶
type RemoveAgentDependencyResponse 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"`
}
RemoveAgentDependencyResponse wrapper for the RemoveAgentDependency operation
func (RemoveAgentDependencyResponse) HTTPResponse ¶
func (response RemoveAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RemoveAgentDependencyResponse) String ¶
func (response RemoveAgentDependencyResponse) String() string
type RngSourceEnum ¶ added in v65.111.0
type RngSourceEnum string
RngSourceEnum Enum with underlying type: string
const ( RngSourceHwrng RngSourceEnum = "HWRNG" RngSourceRandom RngSourceEnum = "RANDOM" RngSourceUrandom RngSourceEnum = "URANDOM" )
Set of constants representing the allowable values for RngSourceEnum
func GetMappingRngSourceEnum ¶ added in v65.111.0
func GetMappingRngSourceEnum(val string) (RngSourceEnum, bool)
GetMappingRngSourceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRngSourceEnumValues ¶ added in v65.111.0
func GetRngSourceEnumValues() []RngSourceEnum
GetRngSourceEnumValues Enumerates the set of values for RngSourceEnum
type ScsiController ¶
type ScsiController struct {
// Provides a label and summary information for the device.
Label *string `mandatory:"false" json:"label"`
// The unit number of the SCSI controller.
UnitNumber *int `mandatory:"false" json:"unitNumber"`
SharedBus *string `mandatory:"false" json:"sharedBus"`
}
ScsiController The assets SCSI controller.
func (ScsiController) String ¶
func (m ScsiController) String() string
func (ScsiController) ValidateEnumValue ¶
func (m ScsiController) 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
type SkipIfConnectivityBroken ¶ added in v65.111.0
type SkipIfConnectivityBroken struct {
// If enabled, we will not fence a host in case more than a configurable percentage of hosts in the cluster lost connectivity as well.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
// Threshold for connectivity testing.
Threshold *int `mandatory:"false" json:"threshold"`
}
SkipIfConnectivityBroken If enabled, we will not fence a host in case more than a configurable percentage of hosts in the cluster lost connectivity as well.
func (SkipIfConnectivityBroken) String ¶ added in v65.111.0
func (m SkipIfConnectivityBroken) String() string
func (SkipIfConnectivityBroken) ValidateEnumValue ¶ added in v65.111.0
func (m SkipIfConnectivityBroken) 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
type SkipIfSdActive ¶ added in v65.111.0
type SkipIfSdActive struct {
// If enabled, we will skip fencing in case the host maintains its lease in the storage.
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}
SkipIfSdActive If enabled, we will skip fencing in case the host maintains its lease in the storage.
func (SkipIfSdActive) String ¶ added in v65.111.0
func (m SkipIfSdActive) String() string
func (SkipIfSdActive) ValidateEnumValue ¶ added in v65.111.0
func (m SkipIfSdActive) 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
type SortOrdersEnum ¶
type SortOrdersEnum string
SortOrdersEnum Enum with underlying type: string
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
Set of constants representing the allowable values for SortOrdersEnum
func GetMappingSortOrdersEnum ¶
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues ¶
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
type Storage ¶ added in v65.111.0
type Storage struct {
// A unique identifier.
Id *string `mandatory:"false" json:"id"`
// Address of storage domain.
Address *string `mandatory:"false" json:"address"`
// Free text containing comments about this object.
Comment *string `mandatory:"false" json:"comment"`
// A human-readable description in plain text.
StorageDescription *string `mandatory:"false" json:"storageDescription"`
// The options to be passed when creating a storage domain using a cinder driver.
DriverOptions []OlvmProperty `mandatory:"false" json:"driverOptions"`
// The options containing sensitive information to be passed when creating a storage domain using a cinder driver.
DriverSensitiveOptions []OlvmProperty `mandatory:"false" json:"driverSensitiveOptions"`
// Logical Units of the host storage
LogicalUnits []LogicalUnit `mandatory:"false" json:"logicalUnits"`
// Mount options
MountOptions *string `mandatory:"false" json:"mountOptions"`
// The number of times to retry a request before attempting further recovery actions.
NfsRetrans *int `mandatory:"false" json:"nfsRetrans"`
// The time in tenths of a second to wait for a response before retrying NFS requests.
NfsTimeo *int `mandatory:"false" json:"nfsTimeo"`
// Version of NFS used.
NfsVersion StorageNfsVersionEnum `mandatory:"false" json:"nfsVersion,omitempty"`
// Whether to override LUNs
IsOverrideLuns *bool `mandatory:"false" json:"isOverrideLuns"`
// Password of the host storage.
Password *string `mandatory:"false" json:"password"`
// Paths of the host storage.
Paths *int `mandatory:"false" json:"paths"`
// Port of the host storage.
Port *int `mandatory:"false" json:"port"`
// Portal of the host storage.
Portal *string `mandatory:"false" json:"portal"`
// Target of the host storage.
Target *string `mandatory:"false" json:"target"`
// Username of the host storage.
Username *string `mandatory:"false" json:"username"`
// Type representing a storage domain type.
Type StorageTypeEnum `mandatory:"false" json:"type,omitempty"`
// Type of VFS
VfsType *string `mandatory:"false" json:"vfsType"`
VolumeGroup *VolumeGroup `mandatory:"false" json:"volumeGroup"`
}
Storage Host storage information
func (Storage) ValidateEnumValue ¶ added in v65.111.0
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
type StorageNfsVersionEnum ¶ added in v65.111.0
type StorageNfsVersionEnum string
StorageNfsVersionEnum Enum with underlying type: string
const ( StorageNfsVersionAuto StorageNfsVersionEnum = "AUTO" StorageNfsVersionV3 StorageNfsVersionEnum = "V3" StorageNfsVersionV4 StorageNfsVersionEnum = "V4" StorageNfsVersionV40 StorageNfsVersionEnum = "V4_0" StorageNfsVersionV41 StorageNfsVersionEnum = "V4_1" StorageNfsVersionV42 StorageNfsVersionEnum = "V4_2" )
Set of constants representing the allowable values for StorageNfsVersionEnum
func GetMappingStorageNfsVersionEnum ¶ added in v65.111.0
func GetMappingStorageNfsVersionEnum(val string) (StorageNfsVersionEnum, bool)
GetMappingStorageNfsVersionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStorageNfsVersionEnumValues ¶ added in v65.111.0
func GetStorageNfsVersionEnumValues() []StorageNfsVersionEnum
GetStorageNfsVersionEnumValues Enumerates the set of values for StorageNfsVersionEnum
type StorageTypeEnum ¶ added in v65.111.0
type StorageTypeEnum string
StorageTypeEnum Enum with underlying type: string
const ( StorageTypeCinder StorageTypeEnum = "CINDER" StorageTypeFcp StorageTypeEnum = "FCP" StorageTypeGlance StorageTypeEnum = "GLANCE" StorageTypeGlusterfs StorageTypeEnum = "GLUSTERFS" StorageTypeIscsi StorageTypeEnum = "ISCSI" StorageTypeLocalfs StorageTypeEnum = "LOCALFS" StorageTypeManagedBlockStorage StorageTypeEnum = "MANAGED_BLOCK_STORAGE" StorageTypeNfs StorageTypeEnum = "NFS" StorageTypePosixfs StorageTypeEnum = "POSIXFS" )
Set of constants representing the allowable values for StorageTypeEnum
func GetMappingStorageTypeEnum ¶ added in v65.111.0
func GetMappingStorageTypeEnum(val string) (StorageTypeEnum, bool)
GetMappingStorageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStorageTypeEnumValues ¶ added in v65.111.0
func GetStorageTypeEnumValues() []StorageTypeEnum
GetStorageTypeEnumValues Enumerates the set of values for StorageTypeEnum
type SubmitHistoricalMetricsDetails ¶
type SubmitHistoricalMetricsDetails struct {
// List of asset historical metrics.
HistoricalMetrics []HistoricalMetric `mandatory:"true" json:"historicalMetrics"`
}
SubmitHistoricalMetricsDetails Post historical metric details.
func (SubmitHistoricalMetricsDetails) String ¶
func (m SubmitHistoricalMetricsDetails) String() string
func (SubmitHistoricalMetricsDetails) ValidateEnumValue ¶
func (m SubmitHistoricalMetricsDetails) 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
type SubmitHistoricalMetricsRequest ¶
type SubmitHistoricalMetricsRequest struct {
// Creates or updates all metrics related to the asset.
SubmitHistoricalMetricsDetails `contributesTo:"body"`
// 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
}
SubmitHistoricalMetricsRequest wrapper for the SubmitHistoricalMetrics operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/SubmitHistoricalMetrics.go.html to see an example of how to use SubmitHistoricalMetricsRequest.
func (SubmitHistoricalMetricsRequest) BinaryRequestBody ¶
func (request SubmitHistoricalMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SubmitHistoricalMetricsRequest) HTTPRequest ¶
func (request SubmitHistoricalMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SubmitHistoricalMetricsRequest) RetryPolicy ¶
func (request SubmitHistoricalMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SubmitHistoricalMetricsRequest) String ¶
func (request SubmitHistoricalMetricsRequest) String() string
func (SubmitHistoricalMetricsRequest) ValidateEnumValue ¶
func (request SubmitHistoricalMetricsRequest) 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
type SubmitHistoricalMetricsResponse ¶
type SubmitHistoricalMetricsResponse struct {
// The underlying http response
RawResponse *http.Response
// The HistoricalMetricCollection instance
HistoricalMetricCollection `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"`
}
SubmitHistoricalMetricsResponse wrapper for the SubmitHistoricalMetrics operation
func (SubmitHistoricalMetricsResponse) HTTPResponse ¶
func (response SubmitHistoricalMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SubmitHistoricalMetricsResponse) String ¶
func (response SubmitHistoricalMetricsResponse) String() string
type SupportedCloudRegionCollection ¶ added in v65.77.0
type SupportedCloudRegionCollection struct {
// List of supported cloud regions.
Items []SupportedCloudRegionSummary `mandatory:"true" json:"items"`
}
SupportedCloudRegionCollection Collection of supported cloud regions.
func (SupportedCloudRegionCollection) String ¶ added in v65.77.0
func (m SupportedCloudRegionCollection) String() string
func (SupportedCloudRegionCollection) ValidateEnumValue ¶ added in v65.77.0
func (m SupportedCloudRegionCollection) 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
type SupportedCloudRegionLifecycleStateEnum ¶ added in v65.77.0
type SupportedCloudRegionLifecycleStateEnum string
SupportedCloudRegionLifecycleStateEnum Enum with underlying type: string
const ( SupportedCloudRegionLifecycleStateActive SupportedCloudRegionLifecycleStateEnum = "ACTIVE" SupportedCloudRegionLifecycleStateInactive SupportedCloudRegionLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for SupportedCloudRegionLifecycleStateEnum
func GetMappingSupportedCloudRegionLifecycleStateEnum ¶ added in v65.77.0
func GetMappingSupportedCloudRegionLifecycleStateEnum(val string) (SupportedCloudRegionLifecycleStateEnum, bool)
GetMappingSupportedCloudRegionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSupportedCloudRegionLifecycleStateEnumValues ¶ added in v65.77.0
func GetSupportedCloudRegionLifecycleStateEnumValues() []SupportedCloudRegionLifecycleStateEnum
GetSupportedCloudRegionLifecycleStateEnumValues Enumerates the set of values for SupportedCloudRegionLifecycleStateEnum
type SupportedCloudRegionSummary ¶ added in v65.77.0
type SupportedCloudRegionSummary struct {
// The asset source type associated with the supported cloud region.
AssetSourceType AssetSourceTypeEnum `mandatory:"true" json:"assetSourceType"`
// The supported cloud region name.
Name *string `mandatory:"true" json:"name"`
// The current state of the supported cloud region.
LifecycleState SupportedCloudRegionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
SupportedCloudRegionSummary Summary of the supported cloud region.
func (SupportedCloudRegionSummary) String ¶ added in v65.77.0
func (m SupportedCloudRegionSummary) String() string
func (SupportedCloudRegionSummary) ValidateEnumValue ¶ added in v65.77.0
func (m SupportedCloudRegionSummary) 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
type Tag ¶ added in v65.77.0
type Tag struct {
// The key of the tag.
Key *string `mandatory:"false" json:"key"`
// The value of the tag.
Value *string `mandatory:"false" json:"value"`
}
Tag Describes a tag.
func (Tag) ValidateEnumValue ¶ added in v65.77.0
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
type TransparentHugePages ¶ added in v65.111.0
type TransparentHugePages struct {
// Whether to enable THP support
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}
TransparentHugePages Type representing a transparent huge pages (THP) support.
func (TransparentHugePages) String ¶ added in v65.111.0
func (m TransparentHugePages) String() string
func (TransparentHugePages) ValidateEnumValue ¶ added in v65.111.0
func (m TransparentHugePages) 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
type UpdateAgentDependencyDetails ¶
type UpdateAgentDependencyDetails struct {
// Display name of the Agent dependency.
DisplayName *string `mandatory:"false" json:"displayName"`
// Name of the dependency type. This should match the whitelisted enum of dependency names.
DependencyName *string `mandatory:"false" json:"dependencyName"`
// Version of the Agent dependency.
DependencyVersion *string `mandatory:"false" json:"dependencyVersion"`
// Description about the Agent dependency.
Description *string `mandatory:"false" json:"description"`
// Object storage namespace associated with the customer's tenancy.
Namespace *string `mandatory:"false" json:"namespace"`
// Object storage bucket where the dependency is uploaded.
Bucket *string `mandatory:"false" json:"bucket"`
// Name of the dependency object uploaded by the customer.
ObjectName *string `mandatory:"false" json:"objectName"`
// 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.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.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.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"`
}
UpdateAgentDependencyDetails The information about new AgentDependency.
func (UpdateAgentDependencyDetails) String ¶
func (m UpdateAgentDependencyDetails) String() string
func (UpdateAgentDependencyDetails) ValidateEnumValue ¶
func (m UpdateAgentDependencyDetails) 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
type UpdateAgentDependencyRequest ¶
type UpdateAgentDependencyRequest struct {
// A unique AgentDependency identifier.
AgentDependencyId *string `mandatory:"true" contributesTo:"path" name:"agentDependencyId"`
// The information to be updated.
UpdateAgentDependencyDetails `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
}
UpdateAgentDependencyRequest wrapper for the UpdateAgentDependency operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAgentDependency.go.html to see an example of how to use UpdateAgentDependencyRequest.
func (UpdateAgentDependencyRequest) BinaryRequestBody ¶
func (request UpdateAgentDependencyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAgentDependencyRequest) HTTPRequest ¶
func (request UpdateAgentDependencyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAgentDependencyRequest) RetryPolicy ¶
func (request UpdateAgentDependencyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAgentDependencyRequest) String ¶
func (request UpdateAgentDependencyRequest) String() string
func (UpdateAgentDependencyRequest) ValidateEnumValue ¶
func (request UpdateAgentDependencyRequest) 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
type UpdateAgentDependencyResponse ¶
type UpdateAgentDependencyResponse 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"`
}
UpdateAgentDependencyResponse wrapper for the UpdateAgentDependency operation
func (UpdateAgentDependencyResponse) HTTPResponse ¶
func (response UpdateAgentDependencyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAgentDependencyResponse) String ¶
func (response UpdateAgentDependencyResponse) String() string
type UpdateAgentDetails ¶
type UpdateAgentDetails struct {
// Agent 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
UpdateAgentDetails The information to be updated.
func (UpdateAgentDetails) String ¶
func (m UpdateAgentDetails) String() string
func (UpdateAgentDetails) ValidateEnumValue ¶
func (m UpdateAgentDetails) 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
type UpdateAgentRequest ¶
type UpdateAgentRequest struct {
// Unique Agent identifier path parameter.
AgentId *string `mandatory:"true" contributesTo:"path" name:"agentId"`
// The information to be updated.
UpdateAgentDetails `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
}
UpdateAgentRequest wrapper for the UpdateAgent operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAgent.go.html to see an example of how to use UpdateAgentRequest.
func (UpdateAgentRequest) BinaryRequestBody ¶
func (request UpdateAgentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAgentRequest) HTTPRequest ¶
func (request UpdateAgentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAgentRequest) RetryPolicy ¶
func (request UpdateAgentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAgentRequest) String ¶
func (request UpdateAgentRequest) String() string
func (UpdateAgentRequest) ValidateEnumValue ¶
func (request UpdateAgentRequest) 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
type UpdateAgentResponse ¶
type UpdateAgentResponse 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"`
}
UpdateAgentResponse wrapper for the UpdateAgent operation
func (UpdateAgentResponse) HTTPResponse ¶
func (response UpdateAgentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAgentResponse) String ¶
func (response UpdateAgentResponse) String() string
type UpdateAssetDetails ¶
type UpdateAssetDetails interface {
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
GetDefinedTags() map[string]map[string]interface{}
}
UpdateAssetDetails The information of asset to be updated.
type UpdateAssetRequest ¶
type UpdateAssetRequest struct {
// Unique asset identifier.
AssetId *string `mandatory:"true" contributesTo:"path" name:"assetId"`
// The information to be updated.
UpdateAssetDetails `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"`
// 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
}
UpdateAssetRequest wrapper for the UpdateAsset operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAsset.go.html to see an example of how to use UpdateAssetRequest.
func (UpdateAssetRequest) BinaryRequestBody ¶
func (request UpdateAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAssetRequest) HTTPRequest ¶
func (request UpdateAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAssetRequest) RetryPolicy ¶
func (request UpdateAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAssetRequest) String ¶
func (request UpdateAssetRequest) String() string
func (UpdateAssetRequest) ValidateEnumValue ¶
func (request UpdateAssetRequest) 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
type UpdateAssetResponse ¶
type UpdateAssetResponse 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"`
}
UpdateAssetResponse wrapper for the UpdateAsset operation
func (UpdateAssetResponse) HTTPResponse ¶
func (response UpdateAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAssetResponse) String ¶
func (response UpdateAssetResponse) String() string
type UpdateAssetSourceDetails ¶
type UpdateAssetSourceDetails interface {
// 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.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
GetAssetsCompartmentId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
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.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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{orcl-cloud: {free-tier-retain: true}}`
GetSystemTags() map[string]map[string]interface{}
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
GetEnvironmentType() EnvironmentTypeEnum
}
UpdateAssetSourceDetails Asset source update request.
type UpdateAssetSourceRequest ¶
type UpdateAssetSourceRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asset source.
AssetSourceId *string `mandatory:"true" contributesTo:"path" name:"assetSourceId"`
// Asset source information to be updated.
UpdateAssetSourceDetails `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"`
// 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
}
UpdateAssetSourceRequest wrapper for the UpdateAssetSource operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateAssetSource.go.html to see an example of how to use UpdateAssetSourceRequest.
func (UpdateAssetSourceRequest) BinaryRequestBody ¶
func (request UpdateAssetSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateAssetSourceRequest) HTTPRequest ¶
func (request UpdateAssetSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAssetSourceRequest) RetryPolicy ¶
func (request UpdateAssetSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAssetSourceRequest) String ¶
func (request UpdateAssetSourceRequest) String() string
func (UpdateAssetSourceRequest) ValidateEnumValue ¶
func (request UpdateAssetSourceRequest) 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
type UpdateAssetSourceResponse ¶
type UpdateAssetSourceResponse 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"`
}
UpdateAssetSourceResponse wrapper for the UpdateAssetSource operation
func (UpdateAssetSourceResponse) HTTPResponse ¶
func (response UpdateAssetSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAssetSourceResponse) String ¶
func (response UpdateAssetSourceResponse) String() string
type UpdateAwsAssetSourceDetails ¶ added in v65.77.0
type UpdateAwsAssetSourceDetails struct {
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"false" json:"assetsCompartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
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.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.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.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"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"false" json:"discoveryCredentials"`
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"`
// Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
IsCostInformationCollected *bool `mandatory:"false" json:"isCostInformationCollected"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
UpdateAwsAssetSourceDetails AWS asset source update request.
func (UpdateAwsAssetSourceDetails) GetAssetsCompartmentId ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (UpdateAwsAssetSourceDetails) GetDefinedTags ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateAwsAssetSourceDetails) GetDiscoveryScheduleId ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (UpdateAwsAssetSourceDetails) GetDisplayName ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateAwsAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m UpdateAwsAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (UpdateAwsAssetSourceDetails) GetFreeformTags ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateAwsAssetSourceDetails) GetSystemTags ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (UpdateAwsAssetSourceDetails) MarshalJSON ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateAwsAssetSourceDetails) String ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) String() string
func (UpdateAwsAssetSourceDetails) ValidateEnumValue ¶ added in v65.77.0
func (m UpdateAwsAssetSourceDetails) 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
type UpdateAwsEbsAssetDetails ¶ added in v65.77.0
type UpdateAwsEbsAssetDetails struct {
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
AwsEbs *AwsEbsProperties `mandatory:"false" json:"awsEbs"`
}
UpdateAwsEbsAssetDetails The information of AWS EBS asset to be updated.
func (UpdateAwsEbsAssetDetails) GetAssetSourceIds ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (UpdateAwsEbsAssetDetails) GetDefinedTags ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateAwsEbsAssetDetails) GetDisplayName ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateAwsEbsAssetDetails) GetFreeformTags ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateAwsEbsAssetDetails) MarshalJSON ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateAwsEbsAssetDetails) String ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) String() string
func (UpdateAwsEbsAssetDetails) ValidateEnumValue ¶ added in v65.77.0
func (m UpdateAwsEbsAssetDetails) 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
type UpdateAwsEc2AssetDetails ¶ added in v65.77.0
type UpdateAwsEc2AssetDetails struct {
// 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.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.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"`
AwsEc2 *AwsEc2Properties `mandatory:"false" json:"awsEc2"`
AwsEc2Cost *MonthlyCostSummary `mandatory:"false" json:"awsEc2Cost"`
AttachedEbsVolumesCost *MonthlyCostSummary `mandatory:"false" json:"attachedEbsVolumesCost"`
}
UpdateAwsEc2AssetDetails The information of AWS VM asset to be updated.
func (UpdateAwsEc2AssetDetails) GetAssetSourceIds ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (UpdateAwsEc2AssetDetails) GetDefinedTags ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateAwsEc2AssetDetails) GetDisplayName ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateAwsEc2AssetDetails) GetFreeformTags ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateAwsEc2AssetDetails) MarshalJSON ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateAwsEc2AssetDetails) String ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) String() string
func (UpdateAwsEc2AssetDetails) ValidateEnumValue ¶ added in v65.77.0
func (m UpdateAwsEc2AssetDetails) 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
type UpdateDiscoveryScheduleDetails ¶
type UpdateDiscoveryScheduleDetails struct {
// 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:"false" json:"displayName"`
// Recurrence specification for the discovery schedule execution.
ExecutionRecurrences *string `mandatory:"false" json:"executionRecurrences"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
UpdateDiscoveryScheduleDetails Information about discovery schedule to be updated.
func (UpdateDiscoveryScheduleDetails) String ¶
func (m UpdateDiscoveryScheduleDetails) String() string
func (UpdateDiscoveryScheduleDetails) ValidateEnumValue ¶
func (m UpdateDiscoveryScheduleDetails) 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
type UpdateDiscoveryScheduleRequest ¶
type UpdateDiscoveryScheduleRequest struct {
// Discovery schedule information to be updated.
UpdateDiscoveryScheduleDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/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
}
UpdateDiscoveryScheduleRequest wrapper for the UpdateDiscoverySchedule operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateDiscoverySchedule.go.html to see an example of how to use UpdateDiscoveryScheduleRequest.
func (UpdateDiscoveryScheduleRequest) BinaryRequestBody ¶
func (request UpdateDiscoveryScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDiscoveryScheduleRequest) HTTPRequest ¶
func (request UpdateDiscoveryScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDiscoveryScheduleRequest) RetryPolicy ¶
func (request UpdateDiscoveryScheduleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDiscoveryScheduleRequest) String ¶
func (request UpdateDiscoveryScheduleRequest) String() string
func (UpdateDiscoveryScheduleRequest) ValidateEnumValue ¶
func (request UpdateDiscoveryScheduleRequest) 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
type UpdateDiscoveryScheduleResponse ¶
type UpdateDiscoveryScheduleResponse 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"`
}
UpdateDiscoveryScheduleResponse wrapper for the UpdateDiscoverySchedule operation
func (UpdateDiscoveryScheduleResponse) HTTPResponse ¶
func (response UpdateDiscoveryScheduleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDiscoveryScheduleResponse) String ¶
func (response UpdateDiscoveryScheduleResponse) String() string
type UpdateEnvironmentDetails ¶
type UpdateEnvironmentDetails struct {
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
UpdateEnvironmentDetails The information to be updated.
func (UpdateEnvironmentDetails) String ¶
func (m UpdateEnvironmentDetails) String() string
func (UpdateEnvironmentDetails) ValidateEnumValue ¶
func (m UpdateEnvironmentDetails) 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
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct {
// Unique environment identifier.
EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"`
// The information to be updated.
UpdateEnvironmentDetails `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
}
UpdateEnvironmentRequest wrapper for the UpdateEnvironment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateEnvironment.go.html to see an example of how to use UpdateEnvironmentRequest.
func (UpdateEnvironmentRequest) BinaryRequestBody ¶
func (request UpdateEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateEnvironmentRequest) HTTPRequest ¶
func (request UpdateEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateEnvironmentRequest) RetryPolicy ¶
func (request UpdateEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateEnvironmentRequest) String ¶
func (request UpdateEnvironmentRequest) String() string
func (UpdateEnvironmentRequest) ValidateEnumValue ¶
func (request UpdateEnvironmentRequest) 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
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse 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"`
}
UpdateEnvironmentResponse wrapper for the UpdateEnvironment operation
func (UpdateEnvironmentResponse) HTTPResponse ¶
func (response UpdateEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateEnvironmentResponse) String ¶
func (response UpdateEnvironmentResponse) String() string
type UpdateInventoryAssetDetails ¶ added in v65.111.0
type UpdateInventoryAssetDetails struct {
// The class name of the asset.
AssetClassName *string `mandatory:"true" json:"assetClassName"`
// The version of the asset class.
AssetClassVersion *string `mandatory:"true" json:"assetClassVersion"`
// The details of the asset.
AssetDetails map[string]interface{} `mandatory:"true" json:"assetDetails"`
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
UpdateInventoryAssetDetails The information of a JSON formatted asset to be updated.
func (UpdateInventoryAssetDetails) GetAssetSourceIds ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (UpdateInventoryAssetDetails) GetDefinedTags ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateInventoryAssetDetails) GetDisplayName ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateInventoryAssetDetails) GetFreeformTags ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateInventoryAssetDetails) MarshalJSON ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateInventoryAssetDetails) String ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) String() string
func (UpdateInventoryAssetDetails) ValidateEnumValue ¶ added in v65.111.0
func (m UpdateInventoryAssetDetails) 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
type UpdateInventoryDetails ¶
type UpdateInventoryDetails struct {
// Inventory displayName.
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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
UpdateInventoryDetails Description for updating inventory details.
func (UpdateInventoryDetails) String ¶
func (m UpdateInventoryDetails) String() string
func (UpdateInventoryDetails) ValidateEnumValue ¶
func (m UpdateInventoryDetails) 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
type UpdateInventoryRequest ¶
type UpdateInventoryRequest struct {
// Inventory OCID.
InventoryId *string `mandatory:"true" contributesTo:"path" name:"inventoryId"`
// The information to be updated.
UpdateInventoryDetails `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"`
// 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
}
UpdateInventoryRequest wrapper for the UpdateInventory operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdateInventory.go.html to see an example of how to use UpdateInventoryRequest.
func (UpdateInventoryRequest) BinaryRequestBody ¶
func (request UpdateInventoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateInventoryRequest) HTTPRequest ¶
func (request UpdateInventoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateInventoryRequest) RetryPolicy ¶
func (request UpdateInventoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateInventoryRequest) String ¶
func (request UpdateInventoryRequest) String() string
func (UpdateInventoryRequest) ValidateEnumValue ¶
func (request UpdateInventoryRequest) 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
type UpdateInventoryResponse ¶
type UpdateInventoryResponse 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"`
}
UpdateInventoryResponse wrapper for the UpdateInventory operation
func (UpdateInventoryResponse) HTTPResponse ¶
func (response UpdateInventoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateInventoryResponse) String ¶
func (response UpdateInventoryResponse) String() string
type UpdateOlvmAssetSourceDetails ¶ added in v65.111.0
type UpdateOlvmAssetSourceDetails struct {
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"false" json:"assetsCompartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
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.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.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.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"`
// Endpoint for OLVM asset discovery and replication in the form of “`https://<host>:<port>“`
OlvmEndpoint *string `mandatory:"false" json:"olvmEndpoint"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"false" json:"discoveryCredentials"`
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"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
UpdateOlvmAssetSourceDetails OLVM asset source update request.
func (UpdateOlvmAssetSourceDetails) GetAssetsCompartmentId ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (UpdateOlvmAssetSourceDetails) GetDefinedTags ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateOlvmAssetSourceDetails) GetDiscoveryScheduleId ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (UpdateOlvmAssetSourceDetails) GetDisplayName ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateOlvmAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (UpdateOlvmAssetSourceDetails) GetFreeformTags ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateOlvmAssetSourceDetails) GetSystemTags ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (UpdateOlvmAssetSourceDetails) MarshalJSON ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateOlvmAssetSourceDetails) String ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) String() string
func (UpdateOlvmAssetSourceDetails) ValidateEnumValue ¶ added in v65.111.0
func (m UpdateOlvmAssetSourceDetails) 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
type UpdatePluginDetails ¶
type UpdatePluginDetails struct {
// State to which the customer wants the plugin to move to.
DesiredState PluginDesiredStateEnum `mandatory:"true" json:"desiredState"`
}
UpdatePluginDetails The information to be updated.
func (UpdatePluginDetails) String ¶
func (m UpdatePluginDetails) String() string
func (UpdatePluginDetails) ValidateEnumValue ¶
func (m UpdatePluginDetails) 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
type UpdatePluginRequest ¶
type UpdatePluginRequest 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 information to be updated.
UpdatePluginDetails `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"`
// 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
}
UpdatePluginRequest wrapper for the UpdatePlugin operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudbridge/UpdatePlugin.go.html to see an example of how to use UpdatePluginRequest.
func (UpdatePluginRequest) BinaryRequestBody ¶
func (request UpdatePluginRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdatePluginRequest) HTTPRequest ¶
func (request UpdatePluginRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdatePluginRequest) RetryPolicy ¶
func (request UpdatePluginRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdatePluginRequest) String ¶
func (request UpdatePluginRequest) String() string
func (UpdatePluginRequest) ValidateEnumValue ¶
func (request UpdatePluginRequest) 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
type UpdatePluginResponse ¶
type UpdatePluginResponse 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"`
}
UpdatePluginResponse wrapper for the UpdatePlugin operation
func (UpdatePluginResponse) HTTPResponse ¶
func (response UpdatePluginResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdatePluginResponse) String ¶
func (response UpdatePluginResponse) String() string
type UpdateVmAssetDetails ¶
type UpdateVmAssetDetails struct {
// 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.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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Operations": {"CostCenter": "42"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
UpdateVmAssetDetails The information of VM asset to be updated.
func (UpdateVmAssetDetails) GetAssetSourceIds ¶
func (m UpdateVmAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (UpdateVmAssetDetails) GetDefinedTags ¶
func (m UpdateVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateVmAssetDetails) GetDisplayName ¶
func (m UpdateVmAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateVmAssetDetails) GetFreeformTags ¶
func (m UpdateVmAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateVmAssetDetails) MarshalJSON ¶
func (m UpdateVmAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateVmAssetDetails) String ¶
func (m UpdateVmAssetDetails) String() string
func (UpdateVmAssetDetails) ValidateEnumValue ¶
func (m UpdateVmAssetDetails) 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
type UpdateVmWareAssetSourceDetails ¶
type UpdateVmWareAssetSourceDetails struct {
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"false" json:"assetsCompartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
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.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.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.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"`
// Endpoint for VMware asset discovery and replication in the form of “`https://<host>:<port>/sdk“`
VcenterEndpoint *string `mandatory:"false" json:"vcenterEndpoint"`
DiscoveryCredentials *AssetSourceCredentials `mandatory:"false" json:"discoveryCredentials"`
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"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
UpdateVmWareAssetSourceDetails VMware asset source update request.
func (UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId ¶
func (m UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (UpdateVmWareAssetSourceDetails) GetDefinedTags ¶
func (m UpdateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateVmWareAssetSourceDetails) GetDiscoveryScheduleId ¶ added in v65.77.0
func (m UpdateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (UpdateVmWareAssetSourceDetails) GetDisplayName ¶
func (m UpdateVmWareAssetSourceDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateVmWareAssetSourceDetails) GetEnvironmentType ¶ added in v65.111.0
func (m UpdateVmWareAssetSourceDetails) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (UpdateVmWareAssetSourceDetails) GetFreeformTags ¶
func (m UpdateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateVmWareAssetSourceDetails) GetSystemTags ¶
func (m UpdateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (UpdateVmWareAssetSourceDetails) MarshalJSON ¶
func (m UpdateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateVmWareAssetSourceDetails) String ¶
func (m UpdateVmWareAssetSourceDetails) String() string
func (UpdateVmWareAssetSourceDetails) ValidateEnumValue ¶
func (m UpdateVmWareAssetSourceDetails) 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
type UpdateVmwareVmAssetDetails ¶
type UpdateVmwareVmAssetDetails struct {
// 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.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.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"`
}
UpdateVmwareVmAssetDetails The information of VMware VM asset to be updated.
func (UpdateVmwareVmAssetDetails) GetAssetSourceIds ¶
func (m UpdateVmwareVmAssetDetails) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (UpdateVmwareVmAssetDetails) GetDefinedTags ¶
func (m UpdateVmwareVmAssetDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateVmwareVmAssetDetails) GetDisplayName ¶
func (m UpdateVmwareVmAssetDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateVmwareVmAssetDetails) GetFreeformTags ¶
func (m UpdateVmwareVmAssetDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateVmwareVmAssetDetails) MarshalJSON ¶
func (m UpdateVmwareVmAssetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateVmwareVmAssetDetails) String ¶
func (m UpdateVmwareVmAssetDetails) String() string
func (UpdateVmwareVmAssetDetails) ValidateEnumValue ¶
func (m UpdateVmwareVmAssetDetails) 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
type VcpuPin ¶ added in v65.111.0
type VcpuPin struct {
// CPU Set
CpuSet *string `mandatory:"false" json:"cpuSet"`
// vCPU number
Vcpu *int `mandatory:"false" json:"vcpu"`
}
VcpuPin vCPU Pin
func (VcpuPin) ValidateEnumValue ¶ added in v65.111.0
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
type VmAsset ¶
type VmAsset struct {
// Inventory ID to which an 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 to which an asset belongs to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The source key that the asset belongs to.
SourceKey *string `mandatory:"true" json:"sourceKey"`
// The key of the asset from the external environment.
ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
// 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"`
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
// 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.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.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.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"`
// The current state of the asset.
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
VmAsset VM type of asset.
func (VmAsset) GetAssetSourceIds ¶
GetAssetSourceIds returns AssetSourceIds
func (VmAsset) GetCompartmentId ¶
GetCompartmentId returns CompartmentId
func (VmAsset) GetDefinedTags ¶
GetDefinedTags returns DefinedTags
func (VmAsset) GetDisplayName ¶
GetDisplayName returns DisplayName
func (VmAsset) GetEnvironmentType ¶ added in v65.111.0
func (m VmAsset) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (VmAsset) GetExternalAssetKey ¶
GetExternalAssetKey returns ExternalAssetKey
func (VmAsset) GetFreeformTags ¶
GetFreeformTags returns FreeformTags
func (VmAsset) GetInventoryId ¶
GetInventoryId returns InventoryId
func (VmAsset) GetLifecycleState ¶
func (m VmAsset) GetLifecycleState() AssetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (VmAsset) GetSourceKey ¶
GetSourceKey returns SourceKey
func (VmAsset) GetSystemTags ¶
GetSystemTags returns SystemTags
func (VmAsset) GetTimeCreated ¶
GetTimeCreated returns TimeCreated
func (VmAsset) GetTimeUpdated ¶
GetTimeUpdated returns TimeUpdated
func (VmAsset) MarshalJSON ¶
MarshalJSON marshals to json representation
func (VmAsset) ValidateEnumValue ¶
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
type VmProperties ¶
type VmProperties struct {
// Hypervisor vendor.
HypervisorVendor *string `mandatory:"false" json:"hypervisorVendor"`
// Hypervisor version.
HypervisorVersion *string `mandatory:"false" json:"hypervisorVersion"`
// Host name/IP address of VM on which the host is running.
HypervisorHost *string `mandatory:"false" json:"hypervisorHost"`
}
VmProperties Virtual machine related properties.
func (VmProperties) String ¶
func (m VmProperties) String() string
func (VmProperties) ValidateEnumValue ¶
func (m VmProperties) 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
type VmWareAssetSource ¶
type VmWareAssetSource struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The time when the asset source was created in the RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The point in time that the asset source was last updated in the RFC3339 format.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// 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"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an attached discovery schedule.
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.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.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.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"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
VmWareAssetSource VMware asset source. Used for discovery of virtual machines (VMs) registered in the VMware vCenter installation.
func (VmWareAssetSource) GetAssetsCompartmentId ¶
func (m VmWareAssetSource) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (VmWareAssetSource) GetCompartmentId ¶
func (m VmWareAssetSource) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (VmWareAssetSource) GetDefinedTags ¶
func (m VmWareAssetSource) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (VmWareAssetSource) GetDiscoveryScheduleId ¶
func (m VmWareAssetSource) GetDiscoveryScheduleId() *string
GetDiscoveryScheduleId returns DiscoveryScheduleId
func (VmWareAssetSource) GetDisplayName ¶
func (m VmWareAssetSource) GetDisplayName() *string
GetDisplayName returns DisplayName
func (VmWareAssetSource) GetEnvironmentId ¶
func (m VmWareAssetSource) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (VmWareAssetSource) GetEnvironmentType ¶ added in v65.111.0
func (m VmWareAssetSource) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (VmWareAssetSource) GetFreeformTags ¶
func (m VmWareAssetSource) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (VmWareAssetSource) GetInventoryId ¶
func (m VmWareAssetSource) GetInventoryId() *string
GetInventoryId returns InventoryId
func (VmWareAssetSource) GetLifecycleDetails ¶
func (m VmWareAssetSource) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (VmWareAssetSource) GetLifecycleState ¶
func (m VmWareAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (VmWareAssetSource) GetSystemTags ¶
func (m VmWareAssetSource) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (VmWareAssetSource) GetTimeCreated ¶
func (m VmWareAssetSource) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (VmWareAssetSource) GetTimeUpdated ¶
func (m VmWareAssetSource) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (VmWareAssetSource) MarshalJSON ¶
func (m VmWareAssetSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (VmWareAssetSource) String ¶
func (m VmWareAssetSource) String() string
func (VmWareAssetSource) ValidateEnumValue ¶
func (m VmWareAssetSource) 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
type VmWareAssetSourceSummary ¶
type VmWareAssetSourceSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment.
EnvironmentId *string `mandatory:"true" json:"environmentId"`
// A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The detailed state of the asset source.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
InventoryId *string `mandatory:"true" json:"inventoryId"`
// The OCID (https://docs.oracle.com/iaas/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"`
// The time when the asset source was created in RFC3339 format.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The point in time that the asset source was last updated in RFC3339 format.
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.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.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.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"`
// The current state of the asset source.
LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
VmWareAssetSourceSummary Summary of an VMware asset source provided in the list.
func (VmWareAssetSourceSummary) GetAssetsCompartmentId ¶
func (m VmWareAssetSourceSummary) GetAssetsCompartmentId() *string
GetAssetsCompartmentId returns AssetsCompartmentId
func (VmWareAssetSourceSummary) GetCompartmentId ¶
func (m VmWareAssetSourceSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (VmWareAssetSourceSummary) GetDefinedTags ¶
func (m VmWareAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (VmWareAssetSourceSummary) GetDisplayName ¶
func (m VmWareAssetSourceSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (VmWareAssetSourceSummary) GetEnvironmentId ¶
func (m VmWareAssetSourceSummary) GetEnvironmentId() *string
GetEnvironmentId returns EnvironmentId
func (VmWareAssetSourceSummary) GetEnvironmentType ¶ added in v65.111.0
func (m VmWareAssetSourceSummary) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (VmWareAssetSourceSummary) GetFreeformTags ¶
func (m VmWareAssetSourceSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (VmWareAssetSourceSummary) GetId ¶
func (m VmWareAssetSourceSummary) GetId() *string
GetId returns Id
func (VmWareAssetSourceSummary) GetInventoryId ¶
func (m VmWareAssetSourceSummary) GetInventoryId() *string
GetInventoryId returns InventoryId
func (VmWareAssetSourceSummary) GetLifecycleDetails ¶
func (m VmWareAssetSourceSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (VmWareAssetSourceSummary) GetLifecycleState ¶
func (m VmWareAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (VmWareAssetSourceSummary) GetSystemTags ¶
func (m VmWareAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (VmWareAssetSourceSummary) GetTimeCreated ¶
func (m VmWareAssetSourceSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (VmWareAssetSourceSummary) GetTimeUpdated ¶
func (m VmWareAssetSourceSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (VmWareAssetSourceSummary) MarshalJSON ¶
func (m VmWareAssetSourceSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (VmWareAssetSourceSummary) String ¶
func (m VmWareAssetSourceSummary) String() string
func (VmWareAssetSourceSummary) ValidateEnumValue ¶
func (m VmWareAssetSourceSummary) 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
type VmwareVCenterProperties ¶
type VmwareVCenterProperties struct {
// vCenter unique key.
VcenterKey *string `mandatory:"false" json:"vcenterKey"`
// Dot-separated version string.
VcenterVersion *string `mandatory:"false" json:"vcenterVersion"`
// Data center name.
DataCenter *string `mandatory:"false" json:"dataCenter"`
}
VmwareVCenterProperties VMware vCenter related properties.
func (VmwareVCenterProperties) String ¶
func (m VmwareVCenterProperties) String() string
func (VmwareVCenterProperties) ValidateEnumValue ¶
func (m VmwareVCenterProperties) 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
type VmwareVmAsset ¶
type VmwareVmAsset struct {
// Inventory ID to which an 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 to which an asset belongs to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The source key that the asset belongs to.
SourceKey *string `mandatory:"true" json:"sourceKey"`
// The key of the asset from the external environment.
ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
// 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"`
Compute *ComputeProperties `mandatory:"true" json:"compute"`
Vm *VmProperties `mandatory:"true" json:"vm"`
VmwareVm *VmwareVmProperties `mandatory:"true" json:"vmwareVm"`
VmwareVCenter *VmwareVCenterProperties `mandatory:"true" json:"vmwareVCenter"`
// 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.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.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.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"`
// The current state of the asset.
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
EnvironmentType EnvironmentTypeEnum `mandatory:"false" json:"environmentType,omitempty"`
}
VmwareVmAsset VMware VM type of asset.
func (VmwareVmAsset) GetAssetSourceIds ¶
func (m VmwareVmAsset) GetAssetSourceIds() []string
GetAssetSourceIds returns AssetSourceIds
func (VmwareVmAsset) GetCompartmentId ¶
func (m VmwareVmAsset) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (VmwareVmAsset) GetDefinedTags ¶
func (m VmwareVmAsset) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (VmwareVmAsset) GetDisplayName ¶
func (m VmwareVmAsset) GetDisplayName() *string
GetDisplayName returns DisplayName
func (VmwareVmAsset) GetEnvironmentType ¶ added in v65.111.0
func (m VmwareVmAsset) GetEnvironmentType() EnvironmentTypeEnum
GetEnvironmentType returns EnvironmentType
func (VmwareVmAsset) GetExternalAssetKey ¶
func (m VmwareVmAsset) GetExternalAssetKey() *string
GetExternalAssetKey returns ExternalAssetKey
func (VmwareVmAsset) GetFreeformTags ¶
func (m VmwareVmAsset) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (VmwareVmAsset) GetInventoryId ¶
func (m VmwareVmAsset) GetInventoryId() *string
GetInventoryId returns InventoryId
func (VmwareVmAsset) GetLifecycleState ¶
func (m VmwareVmAsset) GetLifecycleState() AssetLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (VmwareVmAsset) GetSourceKey ¶
func (m VmwareVmAsset) GetSourceKey() *string
GetSourceKey returns SourceKey
func (VmwareVmAsset) GetSystemTags ¶
func (m VmwareVmAsset) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (VmwareVmAsset) GetTimeCreated ¶
func (m VmwareVmAsset) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (VmwareVmAsset) GetTimeUpdated ¶
func (m VmwareVmAsset) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (VmwareVmAsset) MarshalJSON ¶
func (m VmwareVmAsset) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (VmwareVmAsset) String ¶
func (m VmwareVmAsset) String() string
func (VmwareVmAsset) ValidateEnumValue ¶
func (m VmwareVmAsset) 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
type VmwareVmProperties ¶
type VmwareVmProperties struct {
// Cluster name.
Cluster *string `mandatory:"false" json:"cluster"`
// Customer fields.
CustomerFields []string `mandatory:"false" json:"customerFields"`
// Customer defined tags.
CustomerTags []CustomerTag `mandatory:"false" json:"customerTags"`
// vCenter-specific identifier of the virtual machine.
InstanceUuid *string `mandatory:"false" json:"instanceUuid"`
// Path directory of the asset.
Path *string `mandatory:"false" json:"path"`
// VMware tools status.
VmwareToolsStatus *string `mandatory:"false" json:"vmwareToolsStatus"`
// Whether changed block tracking for this VM's disk is active.
IsDisksUuidEnabled *bool `mandatory:"false" json:"isDisksUuidEnabled"`
// Indicates that change tracking is supported for virtual disks of this virtual machine.
// However, even if change tracking is supported, it might not be available for all disks of the virtual machine.
IsDisksCbtEnabled *bool `mandatory:"false" json:"isDisksCbtEnabled"`
// Fault tolerance state.
FaultToleranceState *string `mandatory:"false" json:"faultToleranceState"`
// Fault tolerance bandwidth.
FaultToleranceBandwidth *int `mandatory:"false" json:"faultToleranceBandwidth"`
// Fault tolerance to secondary latency.
FaultToleranceSecondaryLatency *int `mandatory:"false" json:"faultToleranceSecondaryLatency"`
}
VmwareVmProperties VMware virtual machine related properties.
func (VmwareVmProperties) String ¶
func (m VmwareVmProperties) String() string
func (VmwareVmProperties) ValidateEnumValue ¶
func (m VmwareVmProperties) 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
type VolumeAttachment ¶ added in v65.77.0
type VolumeAttachment struct {
// Indicates whether the EBS volume is deleted on instance termination.
IsDeleteOnTermination *bool `mandatory:"false" json:"isDeleteOnTermination"`
// The device name.
Device *string `mandatory:"false" json:"device"`
// The ID of the instance.
InstanceKey *string `mandatory:"false" json:"instanceKey"`
// The attachment state of the volume.
Status *string `mandatory:"false" json:"status"`
// The ID of the volume.
VolumeKey *string `mandatory:"false" json:"volumeKey"`
}
VolumeAttachment Describes volume attachment details.
func (VolumeAttachment) String ¶ added in v65.77.0
func (m VolumeAttachment) String() string
func (VolumeAttachment) ValidateEnumValue ¶ added in v65.77.0
func (m VolumeAttachment) 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
type VolumeGroup ¶ added in v65.111.0
type VolumeGroup struct {
// A unique identifier of the volume group
Id *string `mandatory:"false" json:"id"`
// List of logical units of the volume group
LogicalUnits []LogicalUnit `mandatory:"false" json:"logicalUnits"`
}
VolumeGroup Volume Group of the host storage
func (VolumeGroup) String ¶ added in v65.111.0
func (m VolumeGroup) String() string
func (VolumeGroup) ValidateEnumValue ¶ added in v65.111.0
func (m VolumeGroup) 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
type WorkRequest ¶
type WorkRequest struct {
// Type of work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// Status of the current work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID of the compartment that contains the work request. Work requests should be scoped to
// the same compartment as the resource that the work request affects. If the work request affects multiple resources,
// and these resources are not in the same compartment, the service team can choose the primary
// resource whose compartment should be used.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time when the request was created, as described in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time when the request started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
// section 14.29.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time when the object was complete, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
WorkRequest A description of work request status.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) 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
type WorkRequestError ¶
type WorkRequestError struct {
// A machine-usable code for the error that occurred. Error codes are listed at,
// https://docs.oracle.com/iaas/Content/API/References/apierrors.htm
Code *string `mandatory:"true" json:"code"`
// A human-readable description of the issue encountered.
Message *string `mandatory:"true" json:"message"`
// The time when the error occurred. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) 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
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct {
// List of workRequestError objects.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) 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
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct {
// Human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The time when the log message was written. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) 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
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct {
// List of workRequestLogEntries.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) 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
type WorkRequestResource ¶
type WorkRequestResource struct {
// The resource type that the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the work is tracked in the work request.
// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
// work is complete for that resource. At that point, the resource will transition to CREATED, UPDATED,
// or DELETED, respectively.
ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
// The identifier of the resource that the work request affects.
Identifier *string `mandatory:"true" json:"identifier"`
// The URI path where you can perform a GET operation to access the resource metadata.
EntityUri *string `mandatory:"false" json:"entityUri"`
// Additional information that helps to explain the resource.
Metadata map[string]string `mandatory:"false" json:"metadata"`
}
WorkRequestResource A resource that a work request creates and operates on.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) 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
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const (
WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetMappingWorkRequestResourceMetadataKeyEnum ¶
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct {
// Type of work request.
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// Status of the current work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The OCID of the work request.
Id *string `mandatory:"true" json:"id"`
// The OCID of the compartment that contains the work request. Work requests should be scoped to
// the same compartment as the resource the work request affects. If the work request affects multiple resources,
// and these resources are not in the same compartment, the service team can choose the primary
// resource whose compartment should be used.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time when the request was created, as described in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time when the request started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
// section 14.29.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time when the object was complete, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) 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
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct {
// List of workRequestSummary objects.
Items []WorkRequestSummary `mandatory:"true" json:"items"`
}
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) 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
Source Files
¶
- action_type.go
- add_agent_dependency_details.go
- add_agent_dependency_request_response.go
- agent.go
- agent_collection.go
- agent_dependency.go
- agent_dependency_collection.go
- agent_dependency_summary.go
- agent_summary.go
- analyze_assets_request_response.go
- appliance_image_collection.go
- appliance_image_summary.go
- asset.go
- asset_aggregation.go
- asset_aggregation_collection.go
- asset_collection.go
- asset_source.go
- asset_source_collection.go
- asset_source_connection.go
- asset_source_connection_collection.go
- asset_source_connection_lifecycle_state.go
- asset_source_connection_type.go
- asset_source_credentials.go
- asset_source_credentials_type.go
- asset_source_lifecycle_state.go
- asset_source_summary.go
- asset_source_type.go
- asset_summary.go
- asset_type.go
- aws_asset_source.go
- aws_asset_source_summary.go
- aws_ebs_asset.go
- aws_ebs_asset_details.go
- aws_ebs_properties.go
- aws_ec2_asset.go
- aws_ec2_asset_details.go
- aws_ec2_properties.go
- cancel_work_request_request_response.go
- change_agent_compartment_details.go
- change_agent_compartment_request_response.go
- change_agent_dependency_compartment_details.go
- change_agent_dependency_compartment_request_response.go
- change_asset_compartment_details.go
- change_asset_compartment_request_response.go
- change_asset_source_compartment_details.go
- change_asset_source_compartment_request_response.go
- change_asset_tags_details.go
- change_asset_tags_request_response.go
- change_discovery_schedule_compartment_details.go
- change_discovery_schedule_compartment_request_response.go
- change_environment_compartment_details.go
- change_environment_compartment_request_response.go
- cloudbridge_common_client.go
- cloudbridge_discovery_client.go
- cloudbridge_inventory_client.go
- cloudbridge_ocbagentsvc_client.go
- compute_properties.go
- create_agent_dependency_details.go
- create_agent_dependency_request_response.go
- create_agent_details.go
- create_agent_request_response.go
- create_asset_details.go
- create_asset_request_response.go
- create_asset_source_details.go
- create_asset_source_request_response.go
- create_aws_asset_source_details.go
- create_aws_ebs_asset_details.go
- create_aws_ec2_asset_details.go
- create_discovery_schedule_details.go
- create_discovery_schedule_request_response.go
- create_environment_details.go
- create_environment_request_response.go
- create_inventory_asset_details.go
- create_inventory_details.go
- create_inventory_request_response.go
- create_olvm_asset_source_details.go
- create_vm_ware_asset_source_details.go
- create_vmware_vm_asset_details.go
- customer_tag.go
- delete_agent_dependency_request_response.go
- delete_agent_request_response.go
- delete_asset_request_response.go
- delete_asset_source_request_response.go
- delete_discovery_schedule_request_response.go
- delete_environment_request_response.go
- delete_inventory_request_response.go
- discovery_schedule.go
- discovery_schedule_collection.go
- discovery_schedule_lifecycle_state.go
- discovery_schedule_summary.go
- disk.go
- environment.go
- environment_collection.go
- environment_summary.go
- environment_type.go
- get_agent_dependency_request_response.go
- get_agent_request_response.go
- get_asset_request_response.go
- get_asset_source_request_response.go
- get_discovery_schedule_request_response.go
- get_environment_request_response.go
- get_inventory_request_response.go
- get_plugin_request_response.go
- get_work_request_request_response.go
- gpu_device.go
- group_identifier.go
- historical_metric.go
- historical_metric_collection.go
- historical_metric_summary.go
- import_inventory_details.go
- import_inventory_request_response.go
- import_inventory_via_assets_details.go
- instance_network_interface.go
- instance_network_interface_association.go
- instance_network_interface_attachment.go
- instance_private_ip_address.go
- instance_state.go
- inventory.go
- inventory_asset.go
- inventory_collection.go
- inventory_summary.go
- ksm.go
- list_agent_dependencies_request_response.go
- list_agents_request_response.go
- list_appliance_images_request_response.go
- list_asset_source_connections_request_response.go
- list_asset_sources_request_response.go
- list_assets_request_response.go
- list_discovery_schedules_request_response.go
- list_environments_request_response.go
- list_historical_metrics_request_response.go
- list_inventories_request_response.go
- list_supported_cloud_regions_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- logical_unit.go
- memory_over_commit.go
- migration_bandwidth.go
- monthly_cost_summary.go
- nic.go
- nvdimm.go
- nvdimm_controller.go
- olvm_agent.go
- olvm_asset_source.go
- olvm_asset_source_summary.go
- olvm_bios.go
- olvm_bios_type.go
- olvm_boot_device.go
- olvm_boot_menu.go
- olvm_boot_protocol.go
- olvm_certificate.go
- olvm_cluster_asset_details.go
- olvm_cluster_properties.go
- olvm_configuration.go
- olvm_console.go
- olvm_core.go
- olvm_cpu.go
- olvm_cpu_topology.go
- olvm_cpu_tune.go
- olvm_custom_property.go
- olvm_data_center.go
- olvm_display.go
- olvm_domain.go
- olvm_error_handling.go
- olvm_fencing_policy.go
- olvm_guest_operating_system.go
- olvm_hardware_information.go
- olvm_high_availability.go
- olvm_host.go
- olvm_host_status.go
- olvm_host_type.go
- olvm_hosted_engine.go
- olvm_icon.go
- olvm_initialization.go
- olvm_ip.go
- olvm_iscsi_details.go
- olvm_kernel.go
- olvm_memory_policy.go
- olvm_migration_options.go
- olvm_nic_configuration.go
- olvm_operating_system.go
- olvm_pm_proxy.go
- olvm_power_management.go
- olvm_property.go
- olvm_selinux.go
- olvm_serial_number.go
- olvm_spm.go
- olvm_storage_domain_asset_details.go
- olvm_storage_domain_properties.go
- olvm_template_asset_details.go
- olvm_template_properties.go
- olvm_template_version.go
- olvm_usb.go
- olvm_version.go
- olvm_virtual_machine.go
- olvm_vm_placement_policy.go
- olvm_vm_status.go
- olvm_vm_summary.go
- olvm_vm_type.go
- olvm_vnic_profile_asset_details.go
- olvm_vnic_profile_properties.go
- operation_status.go
- operation_type.go
- placement.go
- plugin.go
- plugin_summary.go
- refresh_asset_source_request_response.go
- remove_agent_dependency_details.go
- remove_agent_dependency_request_response.go
- rng_source.go
- scsi_controller.go
- skip_if_connectivity_broken.go
- skip_if_sd_active.go
- sort_orders.go
- storage.go
- submit_historical_metrics_details.go
- submit_historical_metrics_request_response.go
- supported_cloud_region_collection.go
- supported_cloud_region_lifecycle_state.go
- supported_cloud_region_summary.go
- tag.go
- transparent_huge_pages.go
- update_agent_dependency_details.go
- update_agent_dependency_request_response.go
- update_agent_details.go
- update_agent_request_response.go
- update_asset_details.go
- update_asset_request_response.go
- update_asset_source_details.go
- update_asset_source_request_response.go
- update_aws_asset_source_details.go
- update_aws_ebs_asset_details.go
- update_aws_ec2_asset_details.go
- update_discovery_schedule_details.go
- update_discovery_schedule_request_response.go
- update_environment_details.go
- update_environment_request_response.go
- update_inventory_asset_details.go
- update_inventory_details.go
- update_inventory_request_response.go
- update_olvm_asset_source_details.go
- update_plugin_details.go
- update_plugin_request_response.go
- update_vm_asset_details.go
- update_vm_ware_asset_source_details.go
- update_vmware_vm_asset_details.go
- vcpu_pin.go
- vm_asset.go
- vm_properties.go
- vm_ware_asset_source.go
- vm_ware_asset_source_summary.go
- vmware_v_center_properties.go
- vmware_vm_asset.go
- vmware_vm_properties.go
- volume_attachment.go
- volume_group.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_resource_metadata_key.go
- work_request_summary.go
- work_request_summary_collection.go