func GetActionKindHeaderEnumStringValues() []string
GetActionKindHeaderEnumStringValues Enumerates the set of values in String for ActionKindHeaderEnum
func GetGetNetworkAnchorSubscriptionServiceNameEnumStringValues() []string
GetGetNetworkAnchorSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for GetNetworkAnchorSubscriptionServiceNameEnum
func GetGetResourceAnchorSubscriptionServiceNameEnumStringValues() []string
GetGetResourceAnchorSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for GetResourceAnchorSubscriptionServiceNameEnum
func GetListExternalLocationDetailsMetadataEntityTypeEnumStringValues() []string
GetListExternalLocationDetailsMetadataEntityTypeEnumStringValues Enumerates the set of values in String for ListExternalLocationDetailsMetadataEntityTypeEnum
func GetListExternalLocationDetailsMetadataSortByEnumStringValues() []string
GetListExternalLocationDetailsMetadataSortByEnumStringValues Enumerates the set of values in String for ListExternalLocationDetailsMetadataSortByEnum
func GetListExternalLocationDetailsMetadataSortOrderEnumStringValues() []string
GetListExternalLocationDetailsMetadataSortOrderEnumStringValues Enumerates the set of values in String for ListExternalLocationDetailsMetadataSortOrderEnum
func GetListExternalLocationDetailsMetadataSubscriptionServiceNameEnumStringValues() []string
GetListExternalLocationDetailsMetadataSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum
func GetListExternalLocationMappingMetadataSortByEnumStringValues() []string
GetListExternalLocationMappingMetadataSortByEnumStringValues Enumerates the set of values in String for ListExternalLocationMappingMetadataSortByEnum
func GetListExternalLocationMappingMetadataSortOrderEnumStringValues() []string
GetListExternalLocationMappingMetadataSortOrderEnumStringValues Enumerates the set of values in String for ListExternalLocationMappingMetadataSortOrderEnum
func GetListExternalLocationSummariesMetadataEntityTypeEnumStringValues() []string
GetListExternalLocationSummariesMetadataEntityTypeEnumStringValues Enumerates the set of values in String for ListExternalLocationSummariesMetadataEntityTypeEnum
func GetListExternalLocationSummariesMetadataSortByEnumStringValues() []string
GetListExternalLocationSummariesMetadataSortByEnumStringValues Enumerates the set of values in String for ListExternalLocationSummariesMetadataSortByEnum
func GetListExternalLocationSummariesMetadataSortOrderEnumStringValues() []string
GetListExternalLocationSummariesMetadataSortOrderEnumStringValues Enumerates the set of values in String for ListExternalLocationSummariesMetadataSortOrderEnum
func GetListExternalLocationSummariesMetadataSubscriptionServiceNameEnumStringValues() []string
GetListExternalLocationSummariesMetadataSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum
func GetListMultiCloudMetadataSortByEnumStringValues() []string
GetListMultiCloudMetadataSortByEnumStringValues Enumerates the set of values in String for ListMultiCloudMetadataSortByEnum
func GetListMultiCloudMetadataSortOrderEnumStringValues() []string
GetListMultiCloudMetadataSortOrderEnumStringValues Enumerates the set of values in String for ListMultiCloudMetadataSortOrderEnum
func GetListNetworkAnchorsSortByEnumStringValues() []string
GetListNetworkAnchorsSortByEnumStringValues Enumerates the set of values in String for ListNetworkAnchorsSortByEnum
func GetListNetworkAnchorsSortOrderEnumStringValues() []string
GetListNetworkAnchorsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkAnchorsSortOrderEnum
func GetListNetworkAnchorsSubscriptionServiceNameEnumStringValues() []string
GetListNetworkAnchorsSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for ListNetworkAnchorsSubscriptionServiceNameEnum
func GetListResourceAnchorsSortByEnumStringValues() []string
GetListResourceAnchorsSortByEnumStringValues Enumerates the set of values in String for ListResourceAnchorsSortByEnum
func GetListResourceAnchorsSortOrderEnumStringValues() []string
GetListResourceAnchorsSortOrderEnumStringValues Enumerates the set of values in String for ListResourceAnchorsSortOrderEnum
func GetListResourceAnchorsSubscriptionServiceNameEnumStringValues() []string
GetListResourceAnchorsSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for ListResourceAnchorsSubscriptionServiceNameEnum
func GetNetworkAnchorLifecycleStateEnumStringValues() []string
GetNetworkAnchorLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkAnchorLifecycleStateEnum
func GetNetworkAnchorSetupModeEnumStringValues() []string
GetNetworkAnchorSetupModeEnumStringValues Enumerates the set of values in String for NetworkAnchorSetupModeEnum
func GetOciNetworkMetadataNetworkAnchorConnectionStatusEnumStringValues() []string
GetOciNetworkMetadataNetworkAnchorConnectionStatusEnumStringValues Enumerates the set of values in String for OciNetworkMetadataNetworkAnchorConnectionStatusEnum
func GetOciNetworkSubnetTypeEnumStringValues() []string
GetOciNetworkSubnetTypeEnumStringValues Enumerates the set of values in String for OciNetworkSubnetTypeEnum
func GetResourceAnchorLifecycleStateEnumStringValues() []string
GetResourceAnchorLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceAnchorLifecycleStateEnum
func GetResourceAnchorSetupModeEnumStringValues() []string
GetResourceAnchorSetupModeEnumStringValues Enumerates the set of values in String for ResourceAnchorSetupModeEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSubscriptionTypeEnumStringValues() []string
GetSubscriptionTypeEnumStringValues Enumerates the set of values in String for SubscriptionTypeEnum
ActionKindHeaderEnum Enum with underlying type: string
type ActionKindHeaderEnum string
Set of constants representing the allowable values for ActionKindHeaderEnum
const ( ActionKindHeaderCreate ActionKindHeaderEnum = "create" ActionKindHeaderUpdate ActionKindHeaderEnum = "update" )
func GetActionKindHeaderEnumValues() []ActionKindHeaderEnum
GetActionKindHeaderEnumValues Enumerates the set of values for ActionKindHeaderEnum
func GetMappingActionKindHeaderEnum(val string) (ActionKindHeaderEnum, bool)
GetMappingActionKindHeaderEnum performs case Insensitive comparison on enum value and return the desired enum
AwsCloudServiceProviderMetadataItem Aws Cloud Service Provider metadata item.
type AwsCloudServiceProviderMetadataItem struct { // CSP resource anchor ID or name. ResourceAnchorName *string `mandatory:"true" json:"resourceAnchorName"` // AWS accountId that was used for creating this resource anchor resource. AccountId *string `mandatory:"true" json:"accountId"` // The Azure, AWS or GCP region. Region *string `mandatory:"false" json:"region"` // CSP resource anchor Uri. ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"` }
func (m AwsCloudServiceProviderMetadataItem) GetRegion() *string
GetRegion returns Region
func (m AwsCloudServiceProviderMetadataItem) GetResourceAnchorName() *string
GetResourceAnchorName returns ResourceAnchorName
func (m AwsCloudServiceProviderMetadataItem) GetResourceAnchorUri() *string
GetResourceAnchorUri returns ResourceAnchorUri
func (m AwsCloudServiceProviderMetadataItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwsCloudServiceProviderMetadataItem) String() string
func (m AwsCloudServiceProviderMetadataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AzureCloudServiceProviderMetadataItem Azure Cloud Service Provider metadata item.
type AzureCloudServiceProviderMetadataItem struct { // CSP resource anchor ID or name. ResourceAnchorName *string `mandatory:"true" json:"resourceAnchorName"` // Azure resource group that was used for creating this resource. ResourceGroup *string `mandatory:"true" json:"resourceGroup"` // Azure subscription that was used for creating this resource. Subscription *string `mandatory:"true" json:"subscription"` // The Azure, AWS or GCP region. Region *string `mandatory:"false" json:"region"` // CSP resource anchor Uri. ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"` }
func (m AzureCloudServiceProviderMetadataItem) GetRegion() *string
GetRegion returns Region
func (m AzureCloudServiceProviderMetadataItem) GetResourceAnchorName() *string
GetResourceAnchorName returns ResourceAnchorName
func (m AzureCloudServiceProviderMetadataItem) GetResourceAnchorUri() *string
GetResourceAnchorUri returns ResourceAnchorUri
func (m AzureCloudServiceProviderMetadataItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AzureCloudServiceProviderMetadataItem) String() string
func (m AzureCloudServiceProviderMetadataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloudServiceProviderMetadataItem Cloud Service Provider metadata item. Warning - In future this object can change to generic object with future Cloud Service Provider based on CloudServiceProvider field. This can be one of CSP provider type Azure, GCP and AWS.
type CloudServiceProviderMetadataItem interface { // CSP resource anchor ID or name. GetResourceAnchorName() *string // The Azure, AWS or GCP region. GetRegion() *string // CSP resource anchor Uri. GetResourceAnchorUri() *string }
CloudServiceProviderNetworkMetadataItem Cloud Service Provider metadata item. Warning - In future this object can change to generic object with future Cloud Service Provider based on CloudServiceProvider field. This can be one of CSP provider type Azure, GCP and AWS
type CloudServiceProviderNetworkMetadataItem struct { // Azure/GCP/AWS region Region *string `mandatory:"true" json:"region"` // CSP oracle database network anchor unique ID/name OdbNetworkId *string `mandatory:"true" json:"odbNetworkId"` // An Azure/GCP/AWS cidrBlocks CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` // CSP network anchor Uri NetworkAnchorUri *string `mandatory:"false" json:"networkAnchorUri"` // DNS domain ip mapping forwarding configuration DnsForwardingConfig []map[string]string `mandatory:"false" json:"dnsForwardingConfig"` }
func (m CloudServiceProviderNetworkMetadataItem) String() string
func (m CloudServiceProviderNetworkMetadataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CspZoneKeyReferenceId This is CSP zone key reference
type CspZoneKeyReferenceId struct { // Value of keyName // GcpProjectName: A human-readable name for your project. The project name isn't used by any Google APIs. You can edit the project name at any time during or after project creation. Project names do not need to be unique. // AzureSubscriptionId: A unique alphanumeric string that identifies your Azure subscription. // AwsAccountId: a unique 12-digit number that identifies an Amazon Web Services (AWS) account KeyValue *string `mandatory:"true" json:"keyValue"` // KeyName for Azure=AzureSubscriptionId Aws=AwsAccountId GCP=GcpProjectName KeyName *string `mandatory:"true" json:"keyName"` }
func (m CspZoneKeyReferenceId) String() string
func (m CspZoneKeyReferenceId) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocation External location for CSP Region, CSP-Physical-AZ
type ExternalLocation struct { // CSP region corresponding to the given OCI region CspRegion *string `mandatory:"true" json:"cspRegion"` // CSP region display Name corresponding to the given OCI region CspRegionDisplayName *string `mandatory:"true" json:"cspRegionDisplayName"` // A mapping of OCI site group name to CSP physical availability zone name CspPhysicalAz *string `mandatory:"true" json:"cspPhysicalAz"` // User friendly display name for cspPhysicalAZ CspPhysicalAzDisplayName *string `mandatory:"true" json:"cspPhysicalAzDisplayName"` // The serviceName that externalLocation map object belongs to ServiceName SubscriptionTypeEnum `mandatory:"false" json:"serviceName,omitempty"` }
func (m ExternalLocation) String() string
func (m ExternalLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationDetail External location for CSP Region, CSP-Physical-AZ, CSP-Logical-AZ
type ExternalLocationDetail struct { // CSP region corresponding to the given OCI region CspRegion *string `mandatory:"true" json:"cspRegion"` // CSP region display Name corresponding to the given OCI region CspRegionDisplayName *string `mandatory:"true" json:"cspRegionDisplayName"` // A mapping of OCI site group name to CSP physical availability zone name CspPhysicalAz *string `mandatory:"true" json:"cspPhysicalAz"` // User friendly display name for cspPhysicalAZ CspPhysicalAzDisplayName *string `mandatory:"true" json:"cspPhysicalAzDisplayName"` CspZoneKeyReferenceId *CspZoneKeyReferenceId `mandatory:"false" json:"cspZoneKeyReferenceId"` // A mapping of CSP physical availability zone to CSP logical availability zone. CspLogicalAz *string `mandatory:"false" json:"cspLogicalAz"` // The serviceName that externalLocation map object belongs to. ServiceName SubscriptionTypeEnum `mandatory:"false" json:"serviceName,omitempty"` }
func (m ExternalLocationDetail) String() string
func (m ExternalLocationDetail) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationMappingMetadatumSummary Flat Map of CSP Region -> CSP-Physical-AZ -> OCI Site Group All fields in this object has immutable mappings. Please don't add any field that case change for any customer as this is only for Oracle Cloud Infrastructure internal service use.
type ExternalLocationMappingMetadatumSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` ExternalLocation *ExternalLocation `mandatory:"true" json:"externalLocation"` // OCI physical ad name OciPhysicalAd *string `mandatory:"true" json:"ociPhysicalAd"` // OCI logical ad name OciLogicalAd *string `mandatory:"true" json:"ociLogicalAd"` // OCI region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm OciRegion *string `mandatory:"true" json:"ociRegion"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ExternalLocationMappingMetadatumSummary) String() string
func (m ExternalLocationMappingMetadatumSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationMappingMetadatumSummaryCollection External location information from OCI primitives to a CSP
type ExternalLocationMappingMetadatumSummaryCollection struct { // List of ExternalLocationMappingMetadatumSummary Items []ExternalLocationMappingMetadatumSummary `mandatory:"true" json:"items"` }
func (m ExternalLocationMappingMetadatumSummaryCollection) String() string
func (m ExternalLocationMappingMetadatumSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationSummariesMetadatumSummary Flat Map of CSP Region to OCI Region
type ExternalLocationSummariesMetadatumSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // OCI region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm OciRegion *string `mandatory:"true" json:"ociRegion"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` ExternalLocation *ExternalLocationSummary `mandatory:"false" json:"externalLocation"` }
func (m ExternalLocationSummariesMetadatumSummary) String() string
func (m ExternalLocationSummariesMetadatumSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationSummariesMetadatumSummaryCollection External location summary information from OCI primitives to any CSP across all regions
type ExternalLocationSummariesMetadatumSummaryCollection struct { // List of ExternalLocationSummariesMetadatumSummary Items []ExternalLocationSummariesMetadatumSummary `mandatory:"true" json:"items"` }
func (m ExternalLocationSummariesMetadatumSummaryCollection) String() string
func (m ExternalLocationSummariesMetadatumSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationSummary External location for CSP Region
type ExternalLocationSummary struct { // CSP region corresponding to the given OCI region CspRegion *string `mandatory:"true" json:"cspRegion"` // CSP region display Name corresponding to the given OCI region CspRegionDisplayName *string `mandatory:"true" json:"cspRegionDisplayName"` }
func (m ExternalLocationSummary) String() string
func (m ExternalLocationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationsMetadatumCollection External location information from OCI primitives to any CSP
type ExternalLocationsMetadatumCollection struct { // List of ExternalLocationsMetadatumSummary Items []ExternalLocationsMetadatumSummary `mandatory:"true" json:"items"` }
func (m ExternalLocationsMetadatumCollection) String() string
func (m ExternalLocationsMetadatumCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalLocationsMetadatumSummary Flat Map of CSP Region -> CSP-Physical-AZ -> CSP-Logical-AZ -> OCI Site Group -> CPG-ID
type ExternalLocationsMetadatumSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` ExternalLocation *ExternalLocationDetail `mandatory:"true" json:"externalLocation"` // OCI physical ad name OciPhysicalAd *string `mandatory:"true" json:"ociPhysicalAd"` // OCI region identifier https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm OciRegion *string `mandatory:"true" json:"ociRegion"` // Cluster Placement Group OCID CpgId *string `mandatory:"true" json:"cpgId"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // OCI logical ad name OciLogicalAd *string `mandatory:"false" json:"ociLogicalAd"` }
func (m ExternalLocationsMetadatumSummary) String() string
func (m ExternalLocationsMetadatumSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GcpCloudServiceProviderMetadataItem GCP Cloud Service Provider metadata item.
type GcpCloudServiceProviderMetadataItem struct { // CSP resource anchor ID or name. ResourceAnchorName *string `mandatory:"true" json:"resourceAnchorName"` // GCP project number that was used for creating this resource anchor resource. ProjectNumber *string `mandatory:"true" json:"projectNumber"` // The Azure, AWS or GCP region. Region *string `mandatory:"false" json:"region"` // CSP resource anchor Uri. ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"` }
func (m GcpCloudServiceProviderMetadataItem) GetRegion() *string
GetRegion returns Region
func (m GcpCloudServiceProviderMetadataItem) GetResourceAnchorName() *string
GetResourceAnchorName returns ResourceAnchorName
func (m GcpCloudServiceProviderMetadataItem) GetResourceAnchorUri() *string
GetResourceAnchorUri returns ResourceAnchorUri
func (m GcpCloudServiceProviderMetadataItem) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GcpCloudServiceProviderMetadataItem) String() string
func (m GcpCloudServiceProviderMetadataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetMultiCloudMetadataRequest wrapper for the GetMultiCloudMetadata operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetMultiCloudMetadata.go.html to see an example of how to use GetMultiCloudMetadataRequest.
type GetMultiCloudMetadataRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 OCI subscription. SubscriptionId *string `mandatory:"true" contributesTo:"path" name:"subscriptionId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetMultiCloudMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMultiCloudMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMultiCloudMetadataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMultiCloudMetadataRequest) String() string
func (request GetMultiCloudMetadataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetMultiCloudMetadataResponse wrapper for the GetMultiCloudMetadata operation
type GetMultiCloudMetadataResponse struct { // The underlying http response RawResponse *http.Response // The MultiCloudMetadata instance MultiCloudMetadata `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetMultiCloudMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMultiCloudMetadataResponse) String() string
GetNetworkAnchorRequest wrapper for the GetNetworkAnchor operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetNetworkAnchor.go.html to see an example of how to use GetNetworkAnchorRequest.
type GetNetworkAnchorRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. NetworkAnchorId *string `mandatory:"true" contributesTo:"path" name:"networkAnchorId"` // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName GetNetworkAnchorSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // OMHub Control Plane must know underlying CSP CP Region External Location Name. ExternalLocation *string `mandatory:"false" contributesTo:"query" name:"externalLocation"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetNetworkAnchorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNetworkAnchorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNetworkAnchorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNetworkAnchorRequest) String() string
func (request GetNetworkAnchorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetNetworkAnchorResponse wrapper for the GetNetworkAnchor operation
type GetNetworkAnchorResponse struct { // The underlying http response RawResponse *http.Response // The NetworkAnchor instance NetworkAnchor `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetNetworkAnchorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNetworkAnchorResponse) String() string
GetNetworkAnchorSubscriptionServiceNameEnum Enum with underlying type: string
type GetNetworkAnchorSubscriptionServiceNameEnum string
Set of constants representing the allowable values for GetNetworkAnchorSubscriptionServiceNameEnum
const ( GetNetworkAnchorSubscriptionServiceNameOracledbatazure GetNetworkAnchorSubscriptionServiceNameEnum = "ORACLEDBATAZURE" GetNetworkAnchorSubscriptionServiceNameOracledbatgoogle GetNetworkAnchorSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" GetNetworkAnchorSubscriptionServiceNameOracledbataws GetNetworkAnchorSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetGetNetworkAnchorSubscriptionServiceNameEnumValues() []GetNetworkAnchorSubscriptionServiceNameEnum
GetGetNetworkAnchorSubscriptionServiceNameEnumValues Enumerates the set of values for GetNetworkAnchorSubscriptionServiceNameEnum
func GetMappingGetNetworkAnchorSubscriptionServiceNameEnum(val string) (GetNetworkAnchorSubscriptionServiceNameEnum, bool)
GetMappingGetNetworkAnchorSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
GetResourceAnchorRequest wrapper for the GetResourceAnchor operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetResourceAnchor.go.html to see an example of how to use GetResourceAnchorRequest.
type GetResourceAnchorRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor. ResourceAnchorId *string `mandatory:"true" contributesTo:"path" name:"resourceAnchorId"` // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName GetResourceAnchorSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetResourceAnchorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResourceAnchorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResourceAnchorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResourceAnchorRequest) String() string
func (request GetResourceAnchorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetResourceAnchorResponse wrapper for the GetResourceAnchor operation
type GetResourceAnchorResponse struct { // The underlying http response RawResponse *http.Response // The ResourceAnchor instance ResourceAnchor `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetResourceAnchorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResourceAnchorResponse) String() string
GetResourceAnchorSubscriptionServiceNameEnum Enum with underlying type: string
type GetResourceAnchorSubscriptionServiceNameEnum string
Set of constants representing the allowable values for GetResourceAnchorSubscriptionServiceNameEnum
const ( GetResourceAnchorSubscriptionServiceNameOracledbatazure GetResourceAnchorSubscriptionServiceNameEnum = "ORACLEDBATAZURE" GetResourceAnchorSubscriptionServiceNameOracledbatgoogle GetResourceAnchorSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" GetResourceAnchorSubscriptionServiceNameOracledbataws GetResourceAnchorSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetGetResourceAnchorSubscriptionServiceNameEnumValues() []GetResourceAnchorSubscriptionServiceNameEnum
GetGetResourceAnchorSubscriptionServiceNameEnumValues Enumerates the set of values for GetResourceAnchorSubscriptionServiceNameEnum
func GetMappingGetResourceAnchorSubscriptionServiceNameEnum(val string) (GetResourceAnchorSubscriptionServiceNameEnum, bool)
GetMappingGetResourceAnchorSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationDetailsMetadataEntityTypeEnum Enum with underlying type: string
type ListExternalLocationDetailsMetadataEntityTypeEnum string
Set of constants representing the allowable values for ListExternalLocationDetailsMetadataEntityTypeEnum
const ( ListExternalLocationDetailsMetadataEntityTypeDbsystem ListExternalLocationDetailsMetadataEntityTypeEnum = "dbsystem" )
func GetListExternalLocationDetailsMetadataEntityTypeEnumValues() []ListExternalLocationDetailsMetadataEntityTypeEnum
GetListExternalLocationDetailsMetadataEntityTypeEnumValues Enumerates the set of values for ListExternalLocationDetailsMetadataEntityTypeEnum
func GetMappingListExternalLocationDetailsMetadataEntityTypeEnum(val string) (ListExternalLocationDetailsMetadataEntityTypeEnum, bool)
GetMappingListExternalLocationDetailsMetadataEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationDetailsMetadataRequest wrapper for the ListExternalLocationDetailsMetadata operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationDetailsMetadata.go.html to see an example of how to use ListExternalLocationDetailsMetadataRequest.
type ListExternalLocationDetailsMetadataRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // The resource type query (i.e. dbsystem, instance etc.) EntityType ListExternalLocationDetailsMetadataEntityTypeEnum `mandatory:"false" contributesTo:"query" name:"entityType" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which linked to Resource. LinkedCompartmentId *string `mandatory:"false" contributesTo:"query" name:"linkedCompartmentId"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListExternalLocationDetailsMetadataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListExternalLocationDetailsMetadataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListExternalLocationDetailsMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExternalLocationDetailsMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExternalLocationDetailsMetadataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExternalLocationDetailsMetadataRequest) String() string
func (request ListExternalLocationDetailsMetadataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListExternalLocationDetailsMetadataResponse wrapper for the ListExternalLocationDetailsMetadata operation
type ListExternalLocationDetailsMetadataResponse struct { // The underlying http response RawResponse *http.Response // A list of ExternalLocationsMetadatumCollection instances ExternalLocationsMetadatumCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListExternalLocationDetailsMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExternalLocationDetailsMetadataResponse) String() string
ListExternalLocationDetailsMetadataSortByEnum Enum with underlying type: string
type ListExternalLocationDetailsMetadataSortByEnum string
Set of constants representing the allowable values for ListExternalLocationDetailsMetadataSortByEnum
const ( ListExternalLocationDetailsMetadataSortByTimecreated ListExternalLocationDetailsMetadataSortByEnum = "timeCreated" ListExternalLocationDetailsMetadataSortByDisplayname ListExternalLocationDetailsMetadataSortByEnum = "displayName" )
func GetListExternalLocationDetailsMetadataSortByEnumValues() []ListExternalLocationDetailsMetadataSortByEnum
GetListExternalLocationDetailsMetadataSortByEnumValues Enumerates the set of values for ListExternalLocationDetailsMetadataSortByEnum
func GetMappingListExternalLocationDetailsMetadataSortByEnum(val string) (ListExternalLocationDetailsMetadataSortByEnum, bool)
GetMappingListExternalLocationDetailsMetadataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationDetailsMetadataSortOrderEnum Enum with underlying type: string
type ListExternalLocationDetailsMetadataSortOrderEnum string
Set of constants representing the allowable values for ListExternalLocationDetailsMetadataSortOrderEnum
const ( ListExternalLocationDetailsMetadataSortOrderAsc ListExternalLocationDetailsMetadataSortOrderEnum = "ASC" ListExternalLocationDetailsMetadataSortOrderDesc ListExternalLocationDetailsMetadataSortOrderEnum = "DESC" )
func GetListExternalLocationDetailsMetadataSortOrderEnumValues() []ListExternalLocationDetailsMetadataSortOrderEnum
GetListExternalLocationDetailsMetadataSortOrderEnumValues Enumerates the set of values for ListExternalLocationDetailsMetadataSortOrderEnum
func GetMappingListExternalLocationDetailsMetadataSortOrderEnum(val string) (ListExternalLocationDetailsMetadataSortOrderEnum, bool)
GetMappingListExternalLocationDetailsMetadataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum Enum with underlying type: string
type ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum string
Set of constants representing the allowable values for ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum
const ( ListExternalLocationDetailsMetadataSubscriptionServiceNameOracledbatazure ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum = "ORACLEDBATAZURE" ListExternalLocationDetailsMetadataSubscriptionServiceNameOracledbatgoogle ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" ListExternalLocationDetailsMetadataSubscriptionServiceNameOracledbataws ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetListExternalLocationDetailsMetadataSubscriptionServiceNameEnumValues() []ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum
GetListExternalLocationDetailsMetadataSubscriptionServiceNameEnumValues Enumerates the set of values for ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum
func GetMappingListExternalLocationDetailsMetadataSubscriptionServiceNameEnum(val string) (ListExternalLocationDetailsMetadataSubscriptionServiceNameEnum, bool)
GetMappingListExternalLocationDetailsMetadataSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationMappingMetadataRequest wrapper for the ListExternalLocationMappingMetadata operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationMappingMetadata.go.html to see an example of how to use ListExternalLocationMappingMetadataRequest.
type ListExternalLocationMappingMetadataRequest struct { // The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName []SubscriptionTypeEnum `contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true" collectionFormat:"multi"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 subscription in which to list resources. SubscriptionId *string `mandatory:"false" contributesTo:"query" name:"subscriptionId"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListExternalLocationMappingMetadataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListExternalLocationMappingMetadataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListExternalLocationMappingMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExternalLocationMappingMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExternalLocationMappingMetadataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExternalLocationMappingMetadataRequest) String() string
func (request ListExternalLocationMappingMetadataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListExternalLocationMappingMetadataResponse wrapper for the ListExternalLocationMappingMetadata operation
type ListExternalLocationMappingMetadataResponse struct { // The underlying http response RawResponse *http.Response // A list of ExternalLocationMappingMetadatumSummaryCollection instances ExternalLocationMappingMetadatumSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListExternalLocationMappingMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExternalLocationMappingMetadataResponse) String() string
ListExternalLocationMappingMetadataSortByEnum Enum with underlying type: string
type ListExternalLocationMappingMetadataSortByEnum string
Set of constants representing the allowable values for ListExternalLocationMappingMetadataSortByEnum
const ( ListExternalLocationMappingMetadataSortByTimecreated ListExternalLocationMappingMetadataSortByEnum = "timeCreated" ListExternalLocationMappingMetadataSortByDisplayname ListExternalLocationMappingMetadataSortByEnum = "displayName" )
func GetListExternalLocationMappingMetadataSortByEnumValues() []ListExternalLocationMappingMetadataSortByEnum
GetListExternalLocationMappingMetadataSortByEnumValues Enumerates the set of values for ListExternalLocationMappingMetadataSortByEnum
func GetMappingListExternalLocationMappingMetadataSortByEnum(val string) (ListExternalLocationMappingMetadataSortByEnum, bool)
GetMappingListExternalLocationMappingMetadataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationMappingMetadataSortOrderEnum Enum with underlying type: string
type ListExternalLocationMappingMetadataSortOrderEnum string
Set of constants representing the allowable values for ListExternalLocationMappingMetadataSortOrderEnum
const ( ListExternalLocationMappingMetadataSortOrderAsc ListExternalLocationMappingMetadataSortOrderEnum = "ASC" ListExternalLocationMappingMetadataSortOrderDesc ListExternalLocationMappingMetadataSortOrderEnum = "DESC" )
func GetListExternalLocationMappingMetadataSortOrderEnumValues() []ListExternalLocationMappingMetadataSortOrderEnum
GetListExternalLocationMappingMetadataSortOrderEnumValues Enumerates the set of values for ListExternalLocationMappingMetadataSortOrderEnum
func GetMappingListExternalLocationMappingMetadataSortOrderEnum(val string) (ListExternalLocationMappingMetadataSortOrderEnum, bool)
GetMappingListExternalLocationMappingMetadataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationSummariesMetadataEntityTypeEnum Enum with underlying type: string
type ListExternalLocationSummariesMetadataEntityTypeEnum string
Set of constants representing the allowable values for ListExternalLocationSummariesMetadataEntityTypeEnum
const ( ListExternalLocationSummariesMetadataEntityTypeDbsystem ListExternalLocationSummariesMetadataEntityTypeEnum = "dbsystem" )
func GetListExternalLocationSummariesMetadataEntityTypeEnumValues() []ListExternalLocationSummariesMetadataEntityTypeEnum
GetListExternalLocationSummariesMetadataEntityTypeEnumValues Enumerates the set of values for ListExternalLocationSummariesMetadataEntityTypeEnum
func GetMappingListExternalLocationSummariesMetadataEntityTypeEnum(val string) (ListExternalLocationSummariesMetadataEntityTypeEnum, bool)
GetMappingListExternalLocationSummariesMetadataEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationSummariesMetadataRequest wrapper for the ListExternalLocationSummariesMetadata operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationSummariesMetadata.go.html to see an example of how to use ListExternalLocationSummariesMetadataRequest.
type ListExternalLocationSummariesMetadataRequest struct { // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 subscription in which to list resources. SubscriptionId *string `mandatory:"false" contributesTo:"query" name:"subscriptionId"` // The resource type query (i.e. dbsystem, instance etc.) EntityType ListExternalLocationSummariesMetadataEntityTypeEnum `mandatory:"false" contributesTo:"query" name:"entityType" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListExternalLocationSummariesMetadataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListExternalLocationSummariesMetadataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListExternalLocationSummariesMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExternalLocationSummariesMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExternalLocationSummariesMetadataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExternalLocationSummariesMetadataRequest) String() string
func (request ListExternalLocationSummariesMetadataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListExternalLocationSummariesMetadataResponse wrapper for the ListExternalLocationSummariesMetadata operation
type ListExternalLocationSummariesMetadataResponse struct { // The underlying http response RawResponse *http.Response // A list of ExternalLocationSummariesMetadatumSummaryCollection instances ExternalLocationSummariesMetadatumSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListExternalLocationSummariesMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExternalLocationSummariesMetadataResponse) String() string
ListExternalLocationSummariesMetadataSortByEnum Enum with underlying type: string
type ListExternalLocationSummariesMetadataSortByEnum string
Set of constants representing the allowable values for ListExternalLocationSummariesMetadataSortByEnum
const ( ListExternalLocationSummariesMetadataSortByTimecreated ListExternalLocationSummariesMetadataSortByEnum = "timeCreated" ListExternalLocationSummariesMetadataSortByDisplayname ListExternalLocationSummariesMetadataSortByEnum = "displayName" )
func GetListExternalLocationSummariesMetadataSortByEnumValues() []ListExternalLocationSummariesMetadataSortByEnum
GetListExternalLocationSummariesMetadataSortByEnumValues Enumerates the set of values for ListExternalLocationSummariesMetadataSortByEnum
func GetMappingListExternalLocationSummariesMetadataSortByEnum(val string) (ListExternalLocationSummariesMetadataSortByEnum, bool)
GetMappingListExternalLocationSummariesMetadataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationSummariesMetadataSortOrderEnum Enum with underlying type: string
type ListExternalLocationSummariesMetadataSortOrderEnum string
Set of constants representing the allowable values for ListExternalLocationSummariesMetadataSortOrderEnum
const ( ListExternalLocationSummariesMetadataSortOrderAsc ListExternalLocationSummariesMetadataSortOrderEnum = "ASC" ListExternalLocationSummariesMetadataSortOrderDesc ListExternalLocationSummariesMetadataSortOrderEnum = "DESC" )
func GetListExternalLocationSummariesMetadataSortOrderEnumValues() []ListExternalLocationSummariesMetadataSortOrderEnum
GetListExternalLocationSummariesMetadataSortOrderEnumValues Enumerates the set of values for ListExternalLocationSummariesMetadataSortOrderEnum
func GetMappingListExternalLocationSummariesMetadataSortOrderEnum(val string) (ListExternalLocationSummariesMetadataSortOrderEnum, bool)
GetMappingListExternalLocationSummariesMetadataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum Enum with underlying type: string
type ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum string
Set of constants representing the allowable values for ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum
const ( ListExternalLocationSummariesMetadataSubscriptionServiceNameOracledbatazure ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum = "ORACLEDBATAZURE" ListExternalLocationSummariesMetadataSubscriptionServiceNameOracledbatgoogle ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" ListExternalLocationSummariesMetadataSubscriptionServiceNameOracledbataws ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetListExternalLocationSummariesMetadataSubscriptionServiceNameEnumValues() []ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum
GetListExternalLocationSummariesMetadataSubscriptionServiceNameEnumValues Enumerates the set of values for ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum
func GetMappingListExternalLocationSummariesMetadataSubscriptionServiceNameEnum(val string) (ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum, bool)
GetMappingListExternalLocationSummariesMetadataSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListMultiCloudMetadataRequest wrapper for the ListMultiCloudMetadata operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMultiCloudMetadata.go.html to see an example of how to use ListMultiCloudMetadataRequest.
type ListMultiCloudMetadataRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListMultiCloudMetadataSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListMultiCloudMetadataSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListMultiCloudMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMultiCloudMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMultiCloudMetadataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMultiCloudMetadataRequest) String() string
func (request ListMultiCloudMetadataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListMultiCloudMetadataResponse wrapper for the ListMultiCloudMetadata operation
type ListMultiCloudMetadataResponse struct { // The underlying http response RawResponse *http.Response // A list of MultiCloudMetadataCollection instances MultiCloudMetadataCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListMultiCloudMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMultiCloudMetadataResponse) String() string
ListMultiCloudMetadataSortByEnum Enum with underlying type: string
type ListMultiCloudMetadataSortByEnum string
Set of constants representing the allowable values for ListMultiCloudMetadataSortByEnum
const ( ListMultiCloudMetadataSortByTimecreated ListMultiCloudMetadataSortByEnum = "timeCreated" ListMultiCloudMetadataSortByDisplayname ListMultiCloudMetadataSortByEnum = "displayName" )
func GetListMultiCloudMetadataSortByEnumValues() []ListMultiCloudMetadataSortByEnum
GetListMultiCloudMetadataSortByEnumValues Enumerates the set of values for ListMultiCloudMetadataSortByEnum
func GetMappingListMultiCloudMetadataSortByEnum(val string) (ListMultiCloudMetadataSortByEnum, bool)
GetMappingListMultiCloudMetadataSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMultiCloudMetadataSortOrderEnum Enum with underlying type: string
type ListMultiCloudMetadataSortOrderEnum string
Set of constants representing the allowable values for ListMultiCloudMetadataSortOrderEnum
const ( ListMultiCloudMetadataSortOrderAsc ListMultiCloudMetadataSortOrderEnum = "ASC" ListMultiCloudMetadataSortOrderDesc ListMultiCloudMetadataSortOrderEnum = "DESC" )
func GetListMultiCloudMetadataSortOrderEnumValues() []ListMultiCloudMetadataSortOrderEnum
GetListMultiCloudMetadataSortOrderEnumValues Enumerates the set of values for ListMultiCloudMetadataSortOrderEnum
func GetMappingListMultiCloudMetadataSortOrderEnum(val string) (ListMultiCloudMetadataSortOrderEnum, bool)
GetMappingListMultiCloudMetadataSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkAnchorsRequest wrapper for the ListNetworkAnchors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListNetworkAnchors.go.html to see an example of how to use ListNetworkAnchorsRequest.
type ListNetworkAnchorsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"` // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName ListNetworkAnchorsSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // OMHub Control Plane must know underlying CSP CP Region External Location Name. ExternalLocation *string `mandatory:"true" contributesTo:"query" name:"externalLocation"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given lifecycle state. The // state value is case-insensitive. LifecycleState NetworkAnchorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the given display name exactly. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only NetworkAnchor resources that match the given OCI subnet Id. NetworkAnchorOciSubnetId *string `mandatory:"false" contributesTo:"query" name:"networkAnchorOciSubnetId"` // A filter to return only NetworkAnchor resources that match the given OCI Vcn Id. NetworkAnchorOciVcnId *string `mandatory:"false" contributesTo:"query" name:"networkAnchorOciVcnId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListNetworkAnchorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListNetworkAnchorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListNetworkAnchorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNetworkAnchorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNetworkAnchorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNetworkAnchorsRequest) String() string
func (request ListNetworkAnchorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListNetworkAnchorsResponse wrapper for the ListNetworkAnchors operation
type ListNetworkAnchorsResponse struct { // The underlying http response RawResponse *http.Response // A list of NetworkAnchorCollection instances NetworkAnchorCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListNetworkAnchorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNetworkAnchorsResponse) String() string
ListNetworkAnchorsSortByEnum Enum with underlying type: string
type ListNetworkAnchorsSortByEnum string
Set of constants representing the allowable values for ListNetworkAnchorsSortByEnum
const ( ListNetworkAnchorsSortByTimecreated ListNetworkAnchorsSortByEnum = "timeCreated" ListNetworkAnchorsSortByDisplayname ListNetworkAnchorsSortByEnum = "displayName" )
func GetListNetworkAnchorsSortByEnumValues() []ListNetworkAnchorsSortByEnum
GetListNetworkAnchorsSortByEnumValues Enumerates the set of values for ListNetworkAnchorsSortByEnum
func GetMappingListNetworkAnchorsSortByEnum(val string) (ListNetworkAnchorsSortByEnum, bool)
GetMappingListNetworkAnchorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkAnchorsSortOrderEnum Enum with underlying type: string
type ListNetworkAnchorsSortOrderEnum string
Set of constants representing the allowable values for ListNetworkAnchorsSortOrderEnum
const ( ListNetworkAnchorsSortOrderAsc ListNetworkAnchorsSortOrderEnum = "ASC" ListNetworkAnchorsSortOrderDesc ListNetworkAnchorsSortOrderEnum = "DESC" )
func GetListNetworkAnchorsSortOrderEnumValues() []ListNetworkAnchorsSortOrderEnum
GetListNetworkAnchorsSortOrderEnumValues Enumerates the set of values for ListNetworkAnchorsSortOrderEnum
func GetMappingListNetworkAnchorsSortOrderEnum(val string) (ListNetworkAnchorsSortOrderEnum, bool)
GetMappingListNetworkAnchorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkAnchorsSubscriptionServiceNameEnum Enum with underlying type: string
type ListNetworkAnchorsSubscriptionServiceNameEnum string
Set of constants representing the allowable values for ListNetworkAnchorsSubscriptionServiceNameEnum
const ( ListNetworkAnchorsSubscriptionServiceNameOracledbatazure ListNetworkAnchorsSubscriptionServiceNameEnum = "ORACLEDBATAZURE" ListNetworkAnchorsSubscriptionServiceNameOracledbatgoogle ListNetworkAnchorsSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" ListNetworkAnchorsSubscriptionServiceNameOracledbataws ListNetworkAnchorsSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetListNetworkAnchorsSubscriptionServiceNameEnumValues() []ListNetworkAnchorsSubscriptionServiceNameEnum
GetListNetworkAnchorsSubscriptionServiceNameEnumValues Enumerates the set of values for ListNetworkAnchorsSubscriptionServiceNameEnum
func GetMappingListNetworkAnchorsSubscriptionServiceNameEnum(val string) (ListNetworkAnchorsSubscriptionServiceNameEnum, bool)
GetMappingListNetworkAnchorsSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceAnchorsRequest wrapper for the ListResourceAnchors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListResourceAnchors.go.html to see an example of how to use ListResourceAnchorsRequest.
type ListResourceAnchorsRequest struct { // The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] SubscriptionServiceName ListResourceAnchorsSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which linked to Resource. LinkedCompartmentId *string `mandatory:"false" contributesTo:"query" name:"linkedCompartmentId"` // A filter to return only resources that match the given lifecycle state. The // state value is case-insensitive. LifecycleState ResourceAnchorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the given display name exactly. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListResourceAnchorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `displayName` is ascending. SortBy ListResourceAnchorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Check the sub-compartments of a given compartmentId IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListResourceAnchorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceAnchorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceAnchorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceAnchorsRequest) String() string
func (request ListResourceAnchorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListResourceAnchorsResponse wrapper for the ListResourceAnchors operation
type ListResourceAnchorsResponse struct { // The underlying http response RawResponse *http.Response // A list of ResourceAnchorCollection instances ResourceAnchorCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResourceAnchorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceAnchorsResponse) String() string
ListResourceAnchorsSortByEnum Enum with underlying type: string
type ListResourceAnchorsSortByEnum string
Set of constants representing the allowable values for ListResourceAnchorsSortByEnum
const ( ListResourceAnchorsSortByTimecreated ListResourceAnchorsSortByEnum = "timeCreated" ListResourceAnchorsSortByDisplayname ListResourceAnchorsSortByEnum = "displayName" )
func GetListResourceAnchorsSortByEnumValues() []ListResourceAnchorsSortByEnum
GetListResourceAnchorsSortByEnumValues Enumerates the set of values for ListResourceAnchorsSortByEnum
func GetMappingListResourceAnchorsSortByEnum(val string) (ListResourceAnchorsSortByEnum, bool)
GetMappingListResourceAnchorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceAnchorsSortOrderEnum Enum with underlying type: string
type ListResourceAnchorsSortOrderEnum string
Set of constants representing the allowable values for ListResourceAnchorsSortOrderEnum
const ( ListResourceAnchorsSortOrderAsc ListResourceAnchorsSortOrderEnum = "ASC" ListResourceAnchorsSortOrderDesc ListResourceAnchorsSortOrderEnum = "DESC" )
func GetListResourceAnchorsSortOrderEnumValues() []ListResourceAnchorsSortOrderEnum
GetListResourceAnchorsSortOrderEnumValues Enumerates the set of values for ListResourceAnchorsSortOrderEnum
func GetMappingListResourceAnchorsSortOrderEnum(val string) (ListResourceAnchorsSortOrderEnum, bool)
GetMappingListResourceAnchorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceAnchorsSubscriptionServiceNameEnum Enum with underlying type: string
type ListResourceAnchorsSubscriptionServiceNameEnum string
Set of constants representing the allowable values for ListResourceAnchorsSubscriptionServiceNameEnum
const ( ListResourceAnchorsSubscriptionServiceNameOracledbatazure ListResourceAnchorsSubscriptionServiceNameEnum = "ORACLEDBATAZURE" ListResourceAnchorsSubscriptionServiceNameOracledbatgoogle ListResourceAnchorsSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE" ListResourceAnchorsSubscriptionServiceNameOracledbataws ListResourceAnchorsSubscriptionServiceNameEnum = "ORACLEDBATAWS" )
func GetListResourceAnchorsSubscriptionServiceNameEnumValues() []ListResourceAnchorsSubscriptionServiceNameEnum
GetListResourceAnchorsSubscriptionServiceNameEnumValues Enumerates the set of values for ListResourceAnchorsSubscriptionServiceNameEnum
func GetMappingListResourceAnchorsSubscriptionServiceNameEnum(val string) (ListResourceAnchorsSubscriptionServiceNameEnum, bool)
GetMappingListResourceAnchorsSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
MetadataClient a client for Metadata
type MetadataClient struct { common.BaseClient // contains filtered or unexported fields }
func NewMetadataClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MetadataClient, err error)
NewMetadataClientWithConfigurationProvider Creates a new default Metadata client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMetadataClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MetadataClient, err error)
NewMetadataClientWithOboToken Creates a new default Metadata client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *MetadataClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MetadataClient) ListExternalLocationDetailsMetadata(ctx context.Context, request ListExternalLocationDetailsMetadataRequest) (response ListExternalLocationDetailsMetadataResponse, err error)
ListExternalLocationDetailsMetadata List externalLocationDetail metadata from OCI to Cloud Service Provider for regions, Availability Zones, and Cluster Placement Group ID. examples:
application-json: | [ { "externalLocation": { "cspRegion": "East US", "cspPhysicalAz": "az1-xyz", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az1", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-1 or aws-account-id-1, gcp-project-id-1" } }, "ociPhysicalAd": "ad1-xyb", "ociLogicalAd": "ad2", "ociRegion": "us-ashburn-1", "cpgId": "cpg-1" }, { "externalLocation": { "cspRegion": "East US", "cspPhysicalAz": "az2-abc", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az2", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-2 or aws-account-id-2, gcp-project-id-2" } }, "ociPhysicalAd": "ad2-xby", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1", "cpgId": "cpg-2" }, { "externalLocation": { "cspRegion": "East US", "cspPhysicalAz": "az3-abz", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az3", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3" } }, "ociPhysicalAd": "ad3-cde", "ociLogicalAd": "ad3", "ociRegion": "us-ashburn-1", "cpgId": "cpg-3" }, { "externalLocation": { "cspRegion": "East US 2", "cspPhysicalAz": "az1-def", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az1", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-4 or aws-account-id-4, gcp-project-id-4" } }, "ociPhysicalAd": "ad1-bce", "ociLogicalAd": "ad2", "ociRegion": "us-ashburn-1", "cpgId": "cpg-4" }, { "externalLocation": { "cspRegion": "East US 2", "cspPhysicalAz": "az2-uvw", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az2", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3" } }, "ociPhysicalAd": "ad2-ftc", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1", "cpgId": "cpg-5" }, { "externalLocation": { "cspRegion": "East US 2", "cspPhysicalAz": "az3-uvw", "cspPhysicalAzDisplayName": "(US) East US 2", "cspLogicalAz": "az3", "serviceName": "ORACLEDBATAZURE", "cspZoneKeyReferenceId": { "keyName": "AzureSubscriptionId or AwsAccountId, GcpProjectName", "keyValue": "azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3" } }, "ociPhysicalAd": "ad3-stc", "ociLogicalAd": "ad3", "ociRegion": "us-ashburn-1", "cpgId": "cpg-6" } ]
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationDetailsMetadata.go.html to see an example of how to use ListExternalLocationDetailsMetadata API. A default retry strategy applies to this operation ListExternalLocationDetailsMetadata()
func (client MetadataClient) ListExternalLocationMappingMetadata(ctx context.Context, request ListExternalLocationMappingMetadataRequest) (response ListExternalLocationMappingMetadataResponse, err error)
ListExternalLocationMappingMetadata List externalLocation metadata from OCI to the Cloud Service Provider for regions, Physical Availability Zones. examples:
application-json: | [ { "externalLocation": { "cspRegion": "eastus", "cspPhysicalAz": "eastus-az1", "cspPhysicalAzDisplayName": "(US) East US 1", "serviceName": "ORACLEDBATAZURE" }, "ociPhysicalAd": "iad-ad-1", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1" }, { "externalLocation": { "cspRegion": "eastus", "cspPhysicalAz": "eastus-az1", "cspPhysicalAzDisplayName": "(US) East US 1", "serviceName": "ORACLEDBATAZURE" }, "ociPhysicalAd": "iad-ad-1", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1" }, { "externalLocation": { "cspRegion": "eastus2", "cspPhysicalAz": "eastus2-az3", "cspPhysicalAzDisplayName": "(US) East US 1", "serviceName": "ORACLEDBATAZURE" }, "ociPhysicalAd": "iad-ad-2", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1" }, { "externalLocation": { "cspRegion": "eastus", "cspPhysicalAz": "eastus-az3" "cspPhysicalAzDisplayName": "(US) East US 1", "serviceName": "ORACLEDBATAZURE" }, "ociPhysicalAd": "iad-ad-333", "ociLogicalAd": "ad1", "ociRegion": "us-ashburn-1" } ]
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationMappingMetadata.go.html to see an example of how to use ListExternalLocationMappingMetadata API. A default retry strategy applies to this operation ListExternalLocationMappingMetadata()
func (client MetadataClient) ListExternalLocationSummariesMetadata(ctx context.Context, request ListExternalLocationSummariesMetadataRequest) (response ListExternalLocationSummariesMetadataResponse, err error)
ListExternalLocationSummariesMetadata List externalLocationSummary metadata from OCI Region to the Cloud Service Provider region across all regions. examples:
application-json: | [ { "externalLocation": { "cspRegion": "East US" }, "ociRegion": "us-ashburn-1" }, { "externalLocation": { "cspRegion": "East US 2" }, "ociRegion": "us-ashburn-1" }, { "externalLocation": { "cspRegion": "Germany West Central" }, "ociRegion": "eu-frankfurt-1", } ]
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListExternalLocationSummariesMetadata.go.html to see an example of how to use ListExternalLocationSummariesMetadata API. A default retry strategy applies to this operation ListExternalLocationSummariesMetadata()
func (client *MetadataClient) SetRegion(region string)
SetRegion overrides the region of this client.
MultiCloudMetadata Multicloud metadata information including base multicloud compartments information.
type MultiCloudMetadata struct { // MultiCloud base compartment OCID associated with subscriptionId. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Oracle Cloud Infrastructure subscriptionId. SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // The date and time the multicloud compartment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m MultiCloudMetadata) String() string
func (m MultiCloudMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MultiCloudMetadataCollection Multicloud metadata information across clouds.
type MultiCloudMetadataCollection struct { // List of MultiCloudMetadata. Items []MultiCloudMetadataSummary `mandatory:"true" json:"items"` }
func (m MultiCloudMetadataCollection) String() string
func (m MultiCloudMetadataCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MultiCloudMetadataSummary Multicloud metadata information including base multicloud compartments information.
type MultiCloudMetadataSummary struct { // MultiCloud base compartment OCID associated with subscriptionId. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the multicloud compartment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Oracle Cloud Infrastructure subscriptionId. SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m MultiCloudMetadataSummary) String() string
func (m MultiCloudMetadataSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MultiCloudsMetadataClient a client for MultiCloudsMetadata
type MultiCloudsMetadataClient struct { common.BaseClient // contains filtered or unexported fields }
func NewMultiCloudsMetadataClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MultiCloudsMetadataClient, err error)
NewMultiCloudsMetadataClientWithConfigurationProvider Creates a new default MultiCloudsMetadata client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMultiCloudsMetadataClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MultiCloudsMetadataClient, err error)
NewMultiCloudsMetadataClientWithOboToken Creates a new default MultiCloudsMetadata client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *MultiCloudsMetadataClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MultiCloudsMetadataClient) GetMultiCloudMetadata(ctx context.Context, request GetMultiCloudMetadataRequest) (response GetMultiCloudMetadataResponse, err error)
GetMultiCloudMetadata Gets information about multicloud base compartment
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetMultiCloudMetadata.go.html to see an example of how to use GetMultiCloudMetadata API. A default retry strategy applies to this operation GetMultiCloudMetadata()
func (client MultiCloudsMetadataClient) ListMultiCloudMetadata(ctx context.Context, request ListMultiCloudMetadataRequest) (response ListMultiCloudMetadataResponse, err error)
ListMultiCloudMetadata Gets a list of multicloud metadata with multicloud base compartment and subscription across Cloud Service Providers.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMultiCloudMetadata.go.html to see an example of how to use ListMultiCloudMetadata API. A default retry strategy applies to this operation ListMultiCloudMetadata()
func (client *MultiCloudsMetadataClient) SetRegion(region string)
SetRegion overrides the region of this client.
NetworkAnchor A NetworkAnchor is a description of a NetworkAnchor. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type NetworkAnchor struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCI resource anchor Id (OCID). ResourceAnchorId *string `mandatory:"true" json:"resourceAnchorId"` // The date and time the NetworkAnchor was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the NetworkAnchor. LifecycleState NetworkAnchorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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 date and time the NetworkAnchor was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message that describes the current state of the NetworkAnchor in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // AUTO_BIND - when passed compartment will be created on-behalf of customer and bind to this resource anchor // NO_AUTO_BIND - compartment will not be created and later customer can bind existing compartment. // to this resource anchor. This is for future use only SetupMode NetworkAnchorSetupModeEnum `mandatory:"false" json:"setupMode,omitempty"` OciMetadataItem *OciNetworkMetadata `mandatory:"false" json:"ociMetadataItem"` CloudServiceProviderMetadataItem *CloudServiceProviderNetworkMetadataItem `mandatory:"false" json:"cloudServiceProviderMetadataItem"` }
func (m NetworkAnchor) String() string
func (m NetworkAnchor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NetworkAnchorCollection Results of a networkAnchor search. Contains both NetworkAnchorSummary items and other information, such as metadata.
type NetworkAnchorCollection struct { // List of networkAnchors. Items []NetworkAnchorSummary `mandatory:"true" json:"items"` }
func (m NetworkAnchorCollection) String() string
func (m NetworkAnchorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NetworkAnchorLifecycleStateEnum Enum with underlying type: string
type NetworkAnchorLifecycleStateEnum string
Set of constants representing the allowable values for NetworkAnchorLifecycleStateEnum
const ( NetworkAnchorLifecycleStateCreating NetworkAnchorLifecycleStateEnum = "CREATING" NetworkAnchorLifecycleStateUpdating NetworkAnchorLifecycleStateEnum = "UPDATING" NetworkAnchorLifecycleStateActive NetworkAnchorLifecycleStateEnum = "ACTIVE" NetworkAnchorLifecycleStateDeleting NetworkAnchorLifecycleStateEnum = "DELETING" NetworkAnchorLifecycleStateDeleted NetworkAnchorLifecycleStateEnum = "DELETED" NetworkAnchorLifecycleStateFailed NetworkAnchorLifecycleStateEnum = "FAILED" )
func GetMappingNetworkAnchorLifecycleStateEnum(val string) (NetworkAnchorLifecycleStateEnum, bool)
GetMappingNetworkAnchorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkAnchorLifecycleStateEnumValues() []NetworkAnchorLifecycleStateEnum
GetNetworkAnchorLifecycleStateEnumValues Enumerates the set of values for NetworkAnchorLifecycleStateEnum
NetworkAnchorSetupModeEnum Enum with underlying type: string
type NetworkAnchorSetupModeEnum string
Set of constants representing the allowable values for NetworkAnchorSetupModeEnum
const ( NetworkAnchorSetupModeAutoBind NetworkAnchorSetupModeEnum = "AUTO_BIND" NetworkAnchorSetupModeNoAutoBind NetworkAnchorSetupModeEnum = "NO_AUTO_BIND" )
func GetMappingNetworkAnchorSetupModeEnum(val string) (NetworkAnchorSetupModeEnum, bool)
GetMappingNetworkAnchorSetupModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkAnchorSetupModeEnumValues() []NetworkAnchorSetupModeEnum
GetNetworkAnchorSetupModeEnumValues Enumerates the set of values for NetworkAnchorSetupModeEnum
NetworkAnchorSummary Summary information about a NetworkAnchor.
type NetworkAnchorSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCI resource anchor Id (OCID). ResourceAnchorId *string `mandatory:"true" json:"resourceAnchorId"` // The date and time the NetworkAnchor was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the NetworkAnchor. LifecycleState NetworkAnchorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // OCI resource Id of VCN. VcnId *string `mandatory:"false" json:"vcnId"` // The date and time the NetworkAnchor was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message that describes the current state of the NetworkAnchor in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m NetworkAnchorSummary) String() string
func (m NetworkAnchorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OciDns Oracle Cloud Infrastructure network anchor related meta data items
type OciDns struct { // Full custom domain name. If this field is passed dnsLabel will be ignored CustomDomainName *string `mandatory:"false" json:"customDomainName"` }
func (m OciDns) String() string
func (m OciDns) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OciNetworkMetadata Oracle Cloud Infrastructure network anchor related meta data items
type OciNetworkMetadata struct { // This can be merge to lifecycleState // CONNECTED - Partner and CSI information is assigned and MulticloudLink provisioned. // DISCONNECTED - Only partner cloud information is assigned. // CONNECTING - Oracle Cloud Infrastructure information is assigned and the control plane is provisioning resources. // ACTIVE - Network anchor is connected and resources (VNICs) exist within a subnet. // ERROR - DRG attach fails during connection. // FAILED - Network anchor creation failed // NEEDS_ATTENTION - Network anchor is in temporary bad state // UPDATING - Network anchor is getting updated. // DELETING - Network anchor is getting deleted // DELETED - A connected network anchor is deleted. NetworkAnchorConnectionStatus OciNetworkMetadataNetworkAnchorConnectionStatusEnum `mandatory:"true" json:"networkAnchorConnectionStatus"` Vcn *OciVcn `mandatory:"false" json:"vcn"` Dns *OciDns `mandatory:"false" json:"dns"` // Network subnets Subnets []OciNetworkSubnet `mandatory:"false" json:"subnets"` // The DNS Listener Endpoint Address. DnsListeningEndpointIpAddress *string `mandatory:"false" json:"dnsListeningEndpointIpAddress"` // The DNS Listener Forwarding Address. DnsForwardingEndpointIpAddress *string `mandatory:"false" json:"dnsForwardingEndpointIpAddress"` // DNS forward configuration DnsForwardingConfig []map[string]string `mandatory:"false" json:"dnsForwardingConfig"` }
func (m OciNetworkMetadata) String() string
func (m OciNetworkMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OciNetworkMetadataNetworkAnchorConnectionStatusEnum Enum with underlying type: string
type OciNetworkMetadataNetworkAnchorConnectionStatusEnum string
Set of constants representing the allowable values for OciNetworkMetadataNetworkAnchorConnectionStatusEnum
const ( OciNetworkMetadataNetworkAnchorConnectionStatusConnected OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "CONNECTED" OciNetworkMetadataNetworkAnchorConnectionStatusDisconnected OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "DISCONNECTED" OciNetworkMetadataNetworkAnchorConnectionStatusConnecting OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "CONNECTING" OciNetworkMetadataNetworkAnchorConnectionStatusActive OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "ACTIVE" OciNetworkMetadataNetworkAnchorConnectionStatusError OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "ERROR" OciNetworkMetadataNetworkAnchorConnectionStatusUpdating OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "UPDATING" OciNetworkMetadataNetworkAnchorConnectionStatusNeedsAttention OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "NEEDS_ATTENTION" OciNetworkMetadataNetworkAnchorConnectionStatusFailed OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "FAILED" OciNetworkMetadataNetworkAnchorConnectionStatusDeleting OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "DELETING" OciNetworkMetadataNetworkAnchorConnectionStatusDeleted OciNetworkMetadataNetworkAnchorConnectionStatusEnum = "DELETED" )
func GetMappingOciNetworkMetadataNetworkAnchorConnectionStatusEnum(val string) (OciNetworkMetadataNetworkAnchorConnectionStatusEnum, bool)
GetMappingOciNetworkMetadataNetworkAnchorConnectionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOciNetworkMetadataNetworkAnchorConnectionStatusEnumValues() []OciNetworkMetadataNetworkAnchorConnectionStatusEnum
GetOciNetworkMetadataNetworkAnchorConnectionStatusEnumValues Enumerates the set of values for OciNetworkMetadataNetworkAnchorConnectionStatusEnum
OciNetworkSubnet Oracle Cloud Infrastructure network subnet object.
type OciNetworkSubnet struct { // Defines if the subnet is the primary or backup for the network Type OciNetworkSubnetTypeEnum `mandatory:"true" json:"type"` // OCID for existing the subnet. CSP can not set this property. SubnetId *string `mandatory:"false" json:"subnetId"` // Subnet label. CSP can set this property Label *string `mandatory:"false" json:"label"` }
func (m OciNetworkSubnet) String() string
func (m OciNetworkSubnet) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OciNetworkSubnetTypeEnum Enum with underlying type: string
type OciNetworkSubnetTypeEnum string
Set of constants representing the allowable values for OciNetworkSubnetTypeEnum
const ( OciNetworkSubnetTypeClient OciNetworkSubnetTypeEnum = "CLIENT" OciNetworkSubnetTypeBackup OciNetworkSubnetTypeEnum = "BACKUP" )
func GetMappingOciNetworkSubnetTypeEnum(val string) (OciNetworkSubnetTypeEnum, bool)
GetMappingOciNetworkSubnetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOciNetworkSubnetTypeEnumValues() []OciNetworkSubnetTypeEnum
GetOciNetworkSubnetTypeEnumValues Enumerates the set of values for OciNetworkSubnetTypeEnum
OciVcn Oracle Cloud Infrastructure VCN basic information object. It is optional and planned to used for future for network anchor
type OciVcn struct { // Oracle Cloud Infrastructure VCN OCID. CSP can not set this property. VcnId *string `mandatory:"false" json:"vcnId"` // Oracle Cloud Infrastructure primary cidr block. CSP can set this property // It's optional only if disconnect anchor is allowed // IPv4 CIDR blocks for the VCN that meet the following criteria // Type: [string (length: 1–32), ...] // The CIDR blocks must be valid. // They must not overlap with each other or with the on-premises network CIDR block. CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` // Oracle Cloud Infrastructure backup cidr block. CSP can set this property // It's optional only if disconnect anchor is allowed. // IPv4 CIDR blocks for the VCN that meet the following criteria // Type: [string (length: 1–32), ...] // The CIDR blocks must be valid. // They must not overlap with each other or with the on-premises network CIDR block. BackupCidrBlocks []string `mandatory:"false" json:"backupCidrBlocks"` // Oracle Cloud Infrastructure DNS label. This is optional if DNS config is provided. DnsLabel *string `mandatory:"false" json:"dnsLabel"` }
func (m OciVcn) String() string
func (m OciVcn) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OmHubCp OmHubCp service resource.
type OmHubCp struct { Properties *Properties `mandatory:"true" json:"properties"` }
func (m OmHubCp) String() string
func (m OmHubCp) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OmhubNetworkAnchorClient a client for OmhubNetworkAnchor
type OmhubNetworkAnchorClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOmhubNetworkAnchorClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OmhubNetworkAnchorClient, err error)
NewOmhubNetworkAnchorClientWithConfigurationProvider Creates a new default OmhubNetworkAnchor client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOmhubNetworkAnchorClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OmhubNetworkAnchorClient, err error)
NewOmhubNetworkAnchorClientWithOboToken Creates a new default OmhubNetworkAnchor client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *OmhubNetworkAnchorClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OmhubNetworkAnchorClient) GetNetworkAnchor(ctx context.Context, request GetNetworkAnchorRequest) (response GetNetworkAnchorResponse, err error)
GetNetworkAnchor Gets information about a NetworkAnchor.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetNetworkAnchor.go.html to see an example of how to use GetNetworkAnchor API. A default retry strategy applies to this operation GetNetworkAnchor()
func (client OmhubNetworkAnchorClient) ListNetworkAnchors(ctx context.Context, request ListNetworkAnchorsRequest) (response ListNetworkAnchorsResponse, err error)
ListNetworkAnchors Gets a list of NetworkAnchors.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListNetworkAnchors.go.html to see an example of how to use ListNetworkAnchors API. A default retry strategy applies to this operation ListNetworkAnchors()
func (client *OmhubNetworkAnchorClient) SetRegion(region string)
SetRegion overrides the region of this client.
OmhubResourceAnchorClient a client for OmhubResourceAnchor
type OmhubResourceAnchorClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOmhubResourceAnchorClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OmhubResourceAnchorClient, err error)
NewOmhubResourceAnchorClientWithConfigurationProvider Creates a new default OmhubResourceAnchor client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOmhubResourceAnchorClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OmhubResourceAnchorClient, err error)
NewOmhubResourceAnchorClientWithOboToken Creates a new default OmhubResourceAnchor client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *OmhubResourceAnchorClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OmhubResourceAnchorClient) GetResourceAnchor(ctx context.Context, request GetResourceAnchorRequest) (response GetResourceAnchorResponse, err error)
GetResourceAnchor Gets information about a ResourceAnchor.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/GetResourceAnchor.go.html to see an example of how to use GetResourceAnchor API. A default retry strategy applies to this operation GetResourceAnchor()
func (client OmhubResourceAnchorClient) ListResourceAnchors(ctx context.Context, request ListResourceAnchorsRequest) (response ListResourceAnchorsResponse, err error)
ListResourceAnchors Gets a list of ResourceAnchors.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListResourceAnchors.go.html to see an example of how to use ListResourceAnchors API. A default retry strategy applies to this operation ListResourceAnchors()
func (client *OmhubResourceAnchorClient) SetRegion(region string)
SetRegion overrides the region of this client.
Properties Object containing the message to send.
type Properties struct { // Message to send Message *string `mandatory:"true" json:"message"` }
func (m Properties) String() string
func (m Properties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResourceAnchor A ResourceAnchor is a description of a ResourceAnchor. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type ResourceAnchor struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the ResourceAnchor was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the ResourceAnchor. LifecycleState ResourceAnchorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` // Oracle Cloud Infrastructure Subscription Id SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // OCI Region that resource is created. Region *string `mandatory:"false" json:"region"` // The date and time the ResourceAnchor was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message that describes the current state of the ResourceAnchor in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // AUTO_BIND - when passed compartment will be created on-behalf of customer and bind to this resource anchor // NO_AUTO_BIND - compartment will not be created and later customer can bind existing compartment. // to this resource anchor. This is for future use only SetupMode ResourceAnchorSetupModeEnum `mandatory:"false" json:"setupMode,omitempty"` // Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. // This compartmentId is different from where resource Anchor live. LinkedCompartmentId *string `mandatory:"false" json:"linkedCompartmentId"` // subscription type SubscriptionType SubscriptionTypeEnum `mandatory:"false" json:"subscriptionType,omitempty"` CloudServiceProviderMetadataItem CloudServiceProviderMetadataItem `mandatory:"false" json:"cloudServiceProviderMetadataItem"` }
func (m ResourceAnchor) String() string
func (m *ResourceAnchor) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ResourceAnchor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResourceAnchorCollection Results of a resourceAnchor search. Contains both ResourceAnchorSummary items and other information, such as metadata.
type ResourceAnchorCollection struct { // List of resourceAnchors. Items []ResourceAnchorSummary `mandatory:"true" json:"items"` }
func (m ResourceAnchorCollection) String() string
func (m ResourceAnchorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResourceAnchorLifecycleStateEnum Enum with underlying type: string
type ResourceAnchorLifecycleStateEnum string
Set of constants representing the allowable values for ResourceAnchorLifecycleStateEnum
const ( ResourceAnchorLifecycleStateCreating ResourceAnchorLifecycleStateEnum = "CREATING" ResourceAnchorLifecycleStateUpdating ResourceAnchorLifecycleStateEnum = "UPDATING" ResourceAnchorLifecycleStateActive ResourceAnchorLifecycleStateEnum = "ACTIVE" ResourceAnchorLifecycleStateDeleting ResourceAnchorLifecycleStateEnum = "DELETING" ResourceAnchorLifecycleStateDeleted ResourceAnchorLifecycleStateEnum = "DELETED" ResourceAnchorLifecycleStateFailed ResourceAnchorLifecycleStateEnum = "FAILED" )
func GetMappingResourceAnchorLifecycleStateEnum(val string) (ResourceAnchorLifecycleStateEnum, bool)
GetMappingResourceAnchorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceAnchorLifecycleStateEnumValues() []ResourceAnchorLifecycleStateEnum
GetResourceAnchorLifecycleStateEnumValues Enumerates the set of values for ResourceAnchorLifecycleStateEnum
ResourceAnchorSetupModeEnum Enum with underlying type: string
type ResourceAnchorSetupModeEnum string
Set of constants representing the allowable values for ResourceAnchorSetupModeEnum
const ( ResourceAnchorSetupModeAutoBind ResourceAnchorSetupModeEnum = "AUTO_BIND" ResourceAnchorSetupModeNoAutoBind ResourceAnchorSetupModeEnum = "NO_AUTO_BIND" )
func GetMappingResourceAnchorSetupModeEnum(val string) (ResourceAnchorSetupModeEnum, bool)
GetMappingResourceAnchorSetupModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceAnchorSetupModeEnumValues() []ResourceAnchorSetupModeEnum
GetResourceAnchorSetupModeEnumValues Enumerates the set of values for ResourceAnchorSetupModeEnum
ResourceAnchorSummary Summary information about a ResourceAnchor.
type ResourceAnchorSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the ResourceAnchor was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the ResourceAnchor. LifecycleState ResourceAnchorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // 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"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // 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"` // Oracle Cloud Infrastructure Subscription Id SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // The date and time the ResourceAnchor was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message that describes the current state of the ResourceAnchor in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ResourceAnchorSummary) String() string
func (m ResourceAnchorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SubscriptionTypeEnum Enum with underlying type: string
type SubscriptionTypeEnum string
Set of constants representing the allowable values for SubscriptionTypeEnum
const ( SubscriptionTypeOracledbatazure SubscriptionTypeEnum = "ORACLEDBATAZURE" SubscriptionTypeOracledbatgoogle SubscriptionTypeEnum = "ORACLEDBATGOOGLE" SubscriptionTypeOracledbataws SubscriptionTypeEnum = "ORACLEDBATAWS" )
func GetMappingSubscriptionTypeEnum(val string) (SubscriptionTypeEnum, bool)
GetMappingSubscriptionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSubscriptionTypeEnumValues() []SubscriptionTypeEnum
GetSubscriptionTypeEnumValues Enumerates the set of values for SubscriptionTypeEnum